STAT 350: 97-1
Midterm, 19 February 1997Instructor: Richard Lockhart
Instructions: This is an open book test. You may use notes, text, other books and a calculator. Your presentations of statistical analysis will be marked for clarity of explanation. I expect you to explain what assumptions you are making and to comment if those assumptions seem unreasonable. The exam is out of 25.
This question is straight from the notes. See Lecture 9
what is the hat matrix? [2 marks]
so that
Thus , and .
so the regression is definitely significant.
This is an extra sum of squares F-test. The 2 error sums of squares are 2210.44 and 1937.14 on 23 and 21 degrees of freedom. Thus
Compare this to the critical points and to see that they may, indeed, be dropped from the model. (The P-value is around 0.25.)
The relevant t statistic is 1.67 with a P value of 0.1094 so that we would conclude that advertising expenditure is an unimportant predictor.
The covariates and cannot be deleted from the model but and can so the best fitted model is
You should get the standard error and estimates from the model with and . This gives