




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





MA37510 – Linear Modelling Techniques
Time allowed – 2 hours
All questions may be attempted
Marks gained from questions in Section B will be given greater consideration in assessing a first class performance.
Calculators are permitted, provided they are silent, self-powered, without communications facilities, and incapable of holding text or other material that could be used to give a candidate an unfair advantage. They must be made available on request for inspection by invigilators, who are authorised to remove any suspect calculators.
Statistical Tables will be provided
Unless otherwise stated you may quote without proof:
The Normal equations for ordinary least squares estimation in the linear model
E[Y]=Xβ are given by XTXβ = XTy and the residual sum of squares is given by
TOT TOT
When the parameters are subject to the linear constraint Aβ = a and XTX is
invertible, the constrained least squares estimator is
β = β −ɶ^ ˆ^ ( X X^ T^ ) − 1 AT [ A X X( T^ ) −^1 AT ]− 1 ( Aˆβ − a )
A distribution with a single parameter θ belongs to the exponential family in canonical
form if its probability mass/density function can be written as
In the context of a generalized linear model the following formulae are given (using the
standard notation):
Var
η μ μ μ
i i i i i i ′ i i z g y w g Y
4 State the modified Gauss-Markov Theorem. Y 1 , Y 2 and Y 3 each have expectation θ. The variance of Y 1 is σ^2 whilst Y 2 and Y 3 each have variance 2σ^2. Y 1 is uncorrelated with either of Y 2 and Y 3 but the covariance between Y 2 and Y 3 is σ^2. Find the best linear unbiased estimator of θ. What is the efficiency of the simple mean (Y 1 +Y 2 +Y 3 )/3 in this case?
5 A distribution used for counts has probability mass function
y Y y (^) y y θ θ +
(a) Show that this distribution belongs to the exponential family of distributions. (b) Use standard results for this family to verify that the distribution has mean θ and find its variance. (c) If this distribution is used in a generalized linear model framework, what would be the canonical link function? (d) Outline the steps in the iterative scheme for fitting a generalized linear model to this distribution, using the canonical link function and a linear predictor β 0 +β 1 u+β 2 v+β 3 w. (e) When such a model involving 4 parameters was fitted to 12 data points, the deviance was calculated as 13.21. Comment.
Section B
6 In a chemical engineering experiment dealing with heat transfer in a shallow fluidized bed, data were collected on four regressor variables: y = heat transfer coefficient x 1 = fluidizing gas flow rate, lb/hr x 2 = supernatant gas flow rate, lb/hr x 3 = supernatant gas inlet nozzle opening, mm x 4 = supernatant gas inlet temperature, oF The data are plotted below along with the results of the various regression analyses. There were 20 observations.
100 150 X1 200 80 160 X2 240 0 40 X3 80 X Y
(^200250300240) 160 80 X
(^200150) 100 X
240 160 80 X
80 40 0
Matrix Plot of Y1, X1, X2, X3, X
Const (^) x 1 x 2 x 3 x 4 Res SS Const (^) x 1 x 2 x 3 x 4 Res SS 28.0 0.52 38464 -101.9 0.90 0.29 30292 3.1 0.66 30415 345.8 -1.32 -0.78 21595 175.2 -1.33 38337 -45.1 0.58 0.71 -1.31 6823 289.4 -0.76 32016 -129.4 0.58 0.79 0,10 17234 -104.0 0.58 0.71 17248 260.4 0.59 -1.31 -0.82 8287 86.8 0.52 -1.33 37854 -65.3 0.95 -1.33 0.35 19685 204.0 0.59 -0.83 18568 -103.3 0.58 0.84 -1.32 0.16 6785 61.8 0.66 -1.32 19866 116.5 49049 (a) Perform a Forward Selection stepwise regression analysis to determine which of x 1 ,x 2 ,x 3 ,x 4 to use as predictor(s). [Use a nominal cut-off value of 4] (b) For the model you chose in (a), calculate the values of (i) R^2 and (ii) adjusted R^2.
An appendix shows a MINITAB worksheet and some analyses that have been carried out on the data set. (a) Explain clearly what Model A represents and list the underlying distributional assumptions. (b) What is the difference between Model A and Model B? Are the two models significantly different for this data set? (c) What name is usually given to Model C? What can you conclude by comparing the results for Model C to those for Model A? (d) Which model would you choose and why? Using this model estimate the percentage of bottle fed girls becoming diseased during the first year of life.
Appendix: Analyses for Question B diseased babies x z w zandw d1 d2 d3 d4 d 77 458 1 0 0 0 0 0 0 0 0 48 384 0 0 0 0 1 0 0 0 0 19 147 1 0 1 1 0 1 0 0 0 16 127 0 0 1 1 0 0 1 0 0 47 494 1 1 0 1 0 0 0 1 0 31 464 0 1 0 1 0 0 0 0 1
MODEL A Binary Logistic Regression: diseased, babies versus x, z, w LinkLogistic Regression Function: Logit Table
Predictor Coef SE Coef Z P RatioOdds^ Lower95% CIUpper Constant -1.92526 0.128601 -14.97 0. xz (^) -0.6692950.312553 0.1410400.153006 (^) -4.372.22 0.0270.000 1.370.51 1.040.38 1.800. w -0.172542 0.205585 -0.84 0.401 0.84 0.56 1. Log-Likelihood = -726.
MODEL B Binary Logistic Regression: diseased, babies versus x, zandw Link Function: Logit
Logistic Regression Table Odds 95% CI PredictorConstant -1.92720Coef (^) 0.128596SE Coef (^) -14.99Z (^) 0.000P Ratio Lower Upper xzandw (^) -0.5400260.315809 0.1408880.138530 (^) -3.902.24 0.0250.000 1.370.58 1.040.44 1.810.
Log-Likelihood = -728.
MODEL C Binary Logistic Regression: diseased, babies versus d1, d2, d3, d4, d5 Link Function: Logit Logistic Regression Table Odds 95% CI Predictor Coef SE Coef Z P Ratio Lower Upper Constantd1 -0.346916-1.59899 0.1249470.198548 -12.80-1.75 0.0000.081 0.71 0.48 1. d2d3 -0.308597-0.337948 0.2757820.295162 -1.12-1.14 0.2630.252 0.730.71 0.430.40 1.261. d4 -0.653417 0.197801 -3.30 0.001 0.52 0.35 0. d5 -1.03776 0.224006 -4.63 0.000 0.35 0.23 0. Log-Likelihood = -725.