Solution:
We have
Solution: The non-centrality parameter is
The data set in the text has one number different than the data set on the computer disk. The results below are for the data off the disk. Students who took the data from the book got somewhat different results but I marked them right, since they were right for the data they used.
Solution:
The fitted line is
a) The residual plot is
This plot suggests that the residuals are bigger when Speed is bigger; this is evidence of heteroscedasticity.
c) The desired plot is
This plot suggests a linear fit of
against Speed might
work.
d) The regression equation is
0.0146 0.0032 0.0052 0.0032 0.0146 0.0052 0.0052 0.0032 0.0146 0.0032 0.0146 0.0052
e) The weighted least squares regression line is
| OLS | WLS | OLS | WLS | |
| Parameter | Estimate | Estimate | SE | SE |
| Intercept | -5.75 | -6.23 | 16.73 | 13.17 |
| Slope | 0.1875 | 0.1891 | 0.0538 | 0.0506 |
f) The standard errors from weighted least squares are rather smaller though more so for the less important parameter, the intercept.
Solution: The matrix X is a single column of n ones.
The matrix W is diagonal with wi down the diagonal. The vector
WX has entries
and finally
.
Next XTWY is the inner product between the vector
WX with ith entry wi and Y with ith entry Yi so
.
Finally
which is what is
called a weighted average.