1.
A highway data set contains the number of deaths per million vehicle miles
from the year 1945 to 1984 for the entire United States and the state of New Mexico.
A
Linear regression analysis is conducted. The R output is given below
where predictor Year is coded as 1, 2, … 40 corresponding to year 1945, year 1946,
…year 1984.
(a) What is the
X
matrix in the linear regression analysis reported in R output.
X=
1
1
0
0
1
2
0
0
┊┊
┊
┊
1
40
0
0
1
1
1
1
1
2
1
2
┊┊
┊
┊
1
40
1
40
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document(b) What are the estimated trends? In which year do we expect the death rate for
New Mexico to be equal to the death rate for the United States?
The estimated trend for New Mexico is
Y
NM
= 13.153850.23616 Year
The estimated trend for United States is
Y
US
= 13.153854.41692+(0.077780.23616)Year
= 8.736930.15838 Year
When the two death rate are equal, we need to slove the equation Y
NM
= Y
US
13.153850.23616 Year = 8.736930.15838 Year
Year=56.79
≈
57
1945+571=2001
Therefore, in the year 2001, the death rate are supposed to be equal.
(c) State the null and alternative hypotheses for the test based on the reported F
statistic, 310
:
4 on 3 and 76 degrees of freedom .
This is the end of the preview.
Sign up
to
access the rest of the document.
 Fall '08
 Ma,P
 Statistics, Linear Regression, Regression Analysis, Null hypothesis, Errors and residuals in statistics

Click to edit the document details