Learn R Programming

SemiPar (version 1.0-4.2)

elec.temp: 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)

Arguments

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.

References

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

Examples

Run this code
# NOT RUN {
library(SemiPar)
data(elec.temp)
attach(elec.temp)
plot(usage,temp)
# }

Run the code above in your browser using DataLab