Docsity

2009 Regreesion Analysis Final Exam, Exams of Statistics

Toggle sidebar
bg1
Regression Analysis – Final Exam
Dec 12, 2009 Time allowed: 120 minutes
A. Let Ybe the response variable and X1,· · · , X4be the predictor variables.
Denote the sample size by nand
yn×1=
y1
y2
.
.
.
yn
, Xn×5=
1x11 x12 . . . x1,4
1x21 x22 . . . x2,4
.
.
..
.
..
.
..
.
.
1xn1xn2. . . xn,4
, β5×1=
β0
β1
.
.
.
β4
.
A1. (5 points) Write the statistical model for a multiple linear regression of
Yon X1,· · · , X4and describe the assumptions for the error term.
A2. (5 points) Define the ordinary least squares estimate (OLSE) bof βand
derive its explicit form assuming that X′Xis nonsingular.
A3. (5 points) Obtain the expectation and covariance matrix of b.
A4. (15 points) Let vibe the i-th residual obtained from regressing Yon
(X1, X2, X3) and let wibe the i-th residual obtained from regressing X4on
(X1, X2, X3). Write the OLSE b4of β4in terms of viand wi.
A5. (15 points) Show that all the diagonal elements of the matrix X(X′X)−1X′
are between 0 and 1 (inclusive).
1
pf3

Partial preview of the text

Download 2009 Regreesion Analysis Final Exam and more Exams Statistics in PDF only on Docsity!

Regression Analysis – Final Exam

Dec 12, 2009 Time allowed: 120 minutes

A. Let Y be the response variable and X 1 , · · · , X 4 be the predictor variables. Denote the sample size by n and

yn× 1 =

y 1 y 2 .. . yn

, Xn× 5 =

1 x 11 x 12... x 1 , 4 1 x 21 x 22... x 2 , 4 .. .

1 xn 1 xn 2... xn, 4

, β 5 × 1 =

β 0 β 1 .. . β 4

A1. (5 points) Write the statistical model for a multiple linear regression of Y on X 1 , · · · , X 4 and describe the assumptions for the error term.

A2. (5 points) Define the ordinary least squares estimate (OLSE) b of β and derive its explicit form assuming that X′X is nonsingular.

A3. (5 points) Obtain the expectation and covariance matrix of b.

A4. (15 points) Let vi be the i-th residual obtained from regressing Y on (X 1 , X 2 , X 3 ) and let wi be the i-th residual obtained from regressing X 4 on (X 1 , X 2 , X 3 ). Write the OLSE b 4 of β 4 in terms of vi and wi.

A5. (15 points) Show that all the diagonal elements of the matrix X(X′X)−^1 X′ are between 0 and 1 (inclusive).

B. The Educational Testing Service Study America’s Smallest School: The Family investigated the relation of educational achievement of students to their home environment. Data on average mathematics proficiency(y) and the home environment variables (x 1 – x 5 ) were obtained from the 1990 Na- tional Assessment of Educational Progress for 37 states, the District of Columbia, Guam, and the Virgin Islands (∑ n = 40). Note that SST O = 40 i=1(yi^ −^ y¯)

(^2) = 6789.9. The following R outputs are obtained by fitting the

regression model y = β 0 + β 1 x 1 + β 2 x 2 + β 3 x 3 + β 4 x 4 + β 5 x 5 + ϵ.

Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) 155.0304 36.2383 4.278 0.000145 *** x1 0.3911 0.2571 1.521 0. x2 0.8639 0.1797 4.807 3.05e-05 *** x3 0.3616 0.2690 1.345 0. x4 -0.8467 0.3525 -2.402 0.021927 * x5 0.1923 0.2636 0.729 0.


Signif. codes: 0 *** 0.001 ** 0.01 * 0.05. 0.1 1

Residual standard error: 5.268 on 34 degrees of freedom Multiple R-squared: 0.861, Adjusted R-squared: 0. F-statistic: 42.13 on 5 and 34 DF, p-value: 1.276e-

The following table shows a portion of the data along with the residuals (ei) and the leverages (hii) from the above model:

i state y x1 x2 x3 x4 x5 ei hii e

(^2) i hii 1 −hii

e^2 i hii (1−hii)^2 1 Alabama 252 75 78 34 18 18 -0.26 0.16 0.01 0. 2 Arizona 259 75 73 41 12 26 1.91 0.19 0.83 1. 3 Arkansas 256 77 77 28 20 23 6.72 0.16 8.73 10. 4 California 256 78 68 42 11 28 0.46 0.29 0.09 0. · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 8 D.C. 231 47 76 24 33 37 4.08 0.69 37.09 119. 9 Florida 255 75 73 31 19 27 7.26 0.09 5.28 5. 10 Georgia 258 73 80 36 17 22 2.45 0.08 0.50 0. 11 Guam 231 81 64 32 20 28 -11.02 0.34 62.53 94. 12 Hawaii 251 78 69 36 23 26 7.31 0.28 20.77 28. · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 35 Texas 258 77 70 34 15 18 9.32 0.30 38.11 54. 36 Virgin Is. 218 63 76 23 27 22 -17.01 0.32 136.42 200. 37 Virginia 264 78 82 33 16 24 4.62 0.06 1.47 1. 38 W. Virginia 256 82 80 36 16 25 -4.49 0.13 2.92 3. 39 Wisconsin 274 81 86 38 8 21 1.99 0.08 0.35 0. 40 Wyoming 272 85 86 43 7 23 -4.62 0.08 1.83 1.