Learn R Programming

hcc (version 0.54)

ozone: Ozone readings in LA

Description

Example Dataset from Practical Regression and Anova

Usage

data(ozone)

Arguments

Format

A data frame with 330 observations on the following 10 variables.
O3
the molecular formula for ozone
vh
the molecular formula for ozone
wind
the flow of gases on a large scale
humidity
the amount of water vapor in the air
temp
the physical quantity that is a measure of hotness and coldness on a numerical scale
ibh
the molecular formula for ozone
dpg
the molecular formula for ozone
ibt
the molecular formula for ozone
vis
the molecular formula for ozone
doy
the molecular formula for ozone

References

J. J.Faraway. Extending the linear model with R. Chapman & Hall/CRC Taylor & Francis Group, 2006.

Examples

Run this code
data(ozone)
alm <- lm(O3 ~ vis+doy+ibt+humidity+temp,data=ozone)
res <- resid(alm)
hctest(ozone[,10], res)

Run the code above in your browser using DataLab