Learn R Programming

hcc (version 0.54)

windmill: Direct current output was measured against wind velocity

Description

Data collect from direct current output and wind velocity.

Usage

data(windmill)

Arguments

Format

A data frame with 25 observations on the following 2 variables.
Y
direct current output
x
wind velocity

Source

Hand, D.J., Daly, F., Lunn, A.D., McConway, K.J. and Ostrowski, E. (1993). A Handbook of Small Datasets. Chapman and Hall.

References

Joglekar, G., Schuenemeyer, J.H. and LaRiccia, V. (1989) Lack-of-fit testing when replicates are not available. American Statistician, 43, 135-143.

Examples

Run this code
data(windmill)
g1<-lm(Y~x,data=windmill)
res<- resid(g1)
x<- windmill[,2]
hctest(x,res)

Run the code above in your browser using DataLab