stat425fall10exam2-sln

# stat425fall10exam2-sln - 1 A highway data set contains the...

This preview shows pages 1–3. Sign up to view the full content.

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.15385-0.23616 Year The estimated trend for United States is Y US = 13.15385-4.41692+(0.07778-0.23616)Year = 8.73693-0.15838 Year When the two death rate are equal, we need to slove the equation Y NM = Y US 13.15385-0.23616 Year = 8.73693-0.15838 Year Year=56.79 57 1945+57-1=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.

{[ snackBarMessage ]}

### Page1 / 7

stat425fall10exam2-sln - 1 A highway data set contains the...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online