Using the lm function, fit the following model for log FEV (), with age () only as a covariate,
You should use the full data set of 654 records held in the file fev.
Least squares estimate
The least squares estimate is
[marks: 2]
Standard error
Using your output from lm, what is the standard error of
?
0.0291
0.0829
0.00281
1.74
31.0
[marks: 2]
Prediction
The predicted log FEV for a 10 year old child is
[marks: 2]
Prediction variance
The variance for the predicted log FEV for a 10-year old child is
[marks: 2]
Prediction test statistic
If ,
and
, calculate the test
statistic to test whether or not the log FEV of a 10 year old child is
significantly different to 0.9.
[marks: 2]