MTH5120 Exam 2017
MTH5120 Exam 2017
MTH5120 Exam 2017
Apart from this page, you are not permitted to read the contents of this
question paper until instructed to do so by an invigilator.
c Queen Mary, University of London (2017) Turn Over
Page 2 MTH5120 (2017)
x y x y x y x y
46 3.5 20 1.9 52 4.0 30 2.7
57 4.5 25 3.0 28 2.9 36 3.8
22 2.1 43 3.8 57 4.1 33 3.0
22 2.5 63 4.6 40 3.2 48 4.2
28 2.3 49 4.0 52 4.3
P P
Summary statistics for these data are xi = 751, yi = 64.4, Sxx = 3306.74,
Sxy = 192.705, Syy = 12.698.
(a) The data are expected to be linearly related and the simple linear regression
model
yi = α + β(xi − x̄) + εi i = 1, 2, . . . , n
is to be fitted. What assumptions are usually made about the errors (εi )? [4]
(c) Hence find the equation of the fitted model for the cholesterol data. [4]
(d) State the form of the 95% confidence interval for β. Find the numerical
estimate of this interval. [5]
(a) Copy and complete the following Analysis of Variance table. [11]
(c) Carry out these tests using a 1% significance level and make clear your
conclusions. [6]
Analysis of Variance
Source DF SS MS VR
Regression 1 1387.6
Residual Error
Lack of Fit 33.2
Pure Error
Total 19 1454.8
c Queen Mary, University of London (2017)
MTH5120 (2017) Page 3
(a) The data were entered into Minitab and the best subsets regression procedure
carried out. The output is shown below.
Response is y
Mallows x x x x x
Vars R-Sq R-Sq(adj) Cp S 1 2 3 4 5
1 97.2 97.0 20.4 957.86 X
1 97.1 97.0 21.2 969.53 X
2 98.7 98.5 4.9 685.17 X X
2 98.6 98.4 5.7 700.42 X X
3 99.0 98.8 2.9 614.78 X X X
3 98.9 98.7 3.7 634.99 X X X
4 99.1 98.8 4.0 615.49 X X X X
4 99.1 98.7 4.3 622.09 X X X X
5 99.1 98.7 6.0 642.09 X X X X X
(i) Define the four statistics given in the table: R2 , R2 (adj), Mallows Cp
and S. [4]
(ii) Based on these statistics say which model you would choose for these
data and justify your choice. [8]
(iii) In what way is R2 (adj) an improvement on R2 ? [3]
(b) The Minitab session output for the model with regressors x2, x3 and x5 is
given below.
c Queen Mary, University of London (2017) Turn Over
Page 4 MTH5120 (2017)
(c) The following normal plot and test of the standardised residuals was
produced.
c Queen Mary, University of London (2017)
MTH5120 (2017) Page 5
(c) Derive a formula for the variance-covariance matrix of β̂, quoting any
necessary results. [6]
Yi = β0 + β1 xi + β2 x2i + εi i = 1, 2, . . . , n
where the εi have mean zero, variance σ 2 and are uncorrelated, as a general
linear model by writing down the vectors Y and β and the matrix X. [6]
End of Paper.
c Queen Mary, University of London (2017)