






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!







Fall, 2012
Yi = β 0 + β 1 Xi 1 + · · · + βpXip + εi,
where εi ∼i.i.d.^ N (0, σ^2 ).
(a) A coefficient of determination zero indicates that X and Y are not related. (b) A high coefficient of determination indicates that the estimated re- gression line is a good fit. (c) If two multiple linear regression models have the same mean squared error (MSE), we prefer the model with less variables. (d) For any F-test associated with the multiple linear regression model, we can find an equivalent t-test. (e) In a standard multiple linear regression model, the variance of the prediction becomes larger as Xj deviates from the sample mean X¯j. (f) In a standard multiple linear regression model, define the residuals to be ei = Yi − Yˆi, we have ∑n i=1 eiXij^ = 0 for all^ j^ = 1,... , p^ −^ 1. (g) In a standard multiple linear regression model, the prediction for a new observation with predictors X(new)^ = ( X¯ 1 , X¯ 2 ,... , X¯p) is Y¯ = n−^1 ∑ni=1 Yi, where X¯j = n−^1 ∑n i=1 Xji, j^ = 1,... , p^ is the sample mean.
(Extra Space for Answers)
Yi = β 0 + β 1 X 1 i + β 2 X 2 i + εi (1)
and Yi = β 0 + β 1 X 1 i + β 2 X 2 i + β 3 X 3 i + εi, (2)
where εi ∼i.i.d.^ N (0, σ^2 ).
We first perform the analysis for model (1) in R:
fit12 = lm(Y ~ X1 + X2) summary(fit12) Call: lm(formula = Y ~ X1 + X2)
Residuals: Min 1Q Median 3Q Max -1.72610 -0.71385 0.03204 0.62244 3. Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) -0.002956 0.094429 -0.031 0. X1 2.171693 0.108222 20.067 <2e- X2 2.949736 0.098936 29.814 <2e- Residual standard error: 0.9428 on 97 degrees of freedom Multiple R-squared: 0.938, Adjusted R-squared: ??? F-statistic: 733.5 on 2 and 97 DF, p-value: < 2.2e-
(a) Calculate the adjusted R-square value from the output.
(b) Calculate the SSR (Regression Sum of Squares) from the output. (c) Perform the hypothesis test, H 0 : β 1 = β 2 = 0 v.s. H 1 : not both β 1 and β 2 equal zero. Write down the test method and calculate the test statistic.
(Extra Space for Answers)
Variable Extra Sum of Squares Value x 1 SSR(x 1 ) = 352. x 2 SSR(x 2 |x 1 ) = 33. x 3 SSR(x 3 |x 1 , x 2 ) = 11. x 1 x 2 SSR(x 1 x 2 |x 1 , x 2 , x 3 ) = 1. x 1 x 3 SSR(x 1 x 3 |x 1 , x 2 , x 3 , x 1 x 2 ) = 2. x 2 x 3 SSR(x 2 x 3 |x 1 , x 2 , x 3 , x 1 x 2 , x 1 x 3 ) = 6. F(0.975, 3, 13) = 4.3472, F(0.95, 3, 13) = 3.4105, F(0.975, 7, 19) = 3.0509, F(0.95, 7, 19) = 2.5435, F(0.95, 4, 13) = 3.1791, F(0.975, 4, 13) = 3.9959, F(0.95, 4, 19) = 2.8951, F(0.975, 4, 19) = 3.5587, F(0.975, 3, 19) = 3.9034, F(0.95, 3, 19) = 3.1274.
Yi = β 0 + β 1 Xi 1 + · · · + βp− 1 Xi,p− 1 + εi (3)
and Yi = β 0 + β 1 Xi 1 + · · · + βp− 1 Xi,p− 1 + βpXi,p + εi, (4)
where εi ∼i.i.d.^ N (0, σ^2 ).
(a) Denote the R^2 (the coefficient of multiple determination) for the two models (3) and (4) as R^2 (3) and R^2 (4). Is it true that R^2 (3) ≤ R^2 (4) always holds? If yes, prove it. If not, give a counter example. (If you are providing a counter example, please write down the design matrix X and the response vector Y explicitly. The reasoning of R^2 (3) > R^2 (4) is required.) (b) Denote the R^2 a (the adjusted coefficient of multiple determination) for the two models as R^2 a(3) and R a^2 (4). Is it true that R^2 a(3) ≤ R^2 a(4) always holds? If yes, prove it. If not, give a counter example. (If you are providing a counter example, please write down the design matrix X and the response vector Y explicitly. The reasoning of R^2 a(3) > R^2 a(4) is required.)
(Extra Space for Answers)