elec.temp: Electricity usage and temperature data

Description Usage Format Source References Examples

Description

The elec.temp data frame has 55 observations on monthly electricity usage and average temperature for a house in Westchester County, New York, USA.

Usage

1

Format

This data frame contains the following columns:

usage

monthly electricity usage (kilowatt-hours) from a house in Westchester County, New York, USA.

temp

average temperature (degrees Fahrenheit) for the corresponding month.

Source

Chatterjee, S., Handcock, M. and Simonoff, J.S. (1995). A Casebook for a First Course in Statistics and Data Analysis, New York: John Wiley & Sons.

References

Ruppert, D., Wand, M.P. and Carroll, R.J. (2003)
Semiparametric Regression Cambridge University Press.
http://stat.tamu.edu/~carroll/semiregbook/

Examples

1
2
3
4
library(SemiPar)
data(elec.temp)
attach(elec.temp)
plot(usage,temp)

Example output



SemiPar documentation built on May 2, 2019, 5:42 a.m.