elec.temp {}R Documentation

Electricity usage and temperature data

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

data(elec.temp)

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

library(SemiPar)
data(elec.temp)
attach(elec.temp)
plot(usage,temp)

[]