



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!




Directions: Work each problem. You may use calculators.
It is assumed that the ei are i.i.d. N (0, σ^2 ).
(a) Find βˆ, the least squares estimator for β, and find an unbiased estimator for σ^2. What is the distribution of your variance estimator? [The variance estimator may be expressed in terms of βˆ rather than as an explicit function of the data.]
(b) Find the variance-covariance matrix of βˆ.
(c) How would you test H 0 : β 1 = β 2 = 0?
∑ j xij = 0 for^ i^ = 1,^ 2.
(a) Express this model in the form Y = Xβ + ε. Show the matrix X and the parameter vector β.
(b) Find a 1 − α confidence interval for β 1 − β 2.
(c) Find the least squares estimators of the parameters if it is known that β 1 = β 2.
Y = β 0 + β 2 x 2 + ε (1) Y = β 0 + β 1 x 1 + β 2 x 2 + ε (2) Y = β 0 + β 1 x 1 + β 2 x 2 + β 3 x 3 + ε (3)
The results appear on the following page.
(a) Calculate the test statistic for testing Model 1 vs. Model 3 and state its null hypothesis distribution.
(b) Assuming Model 2 is correct, how would you estimate Var Y? What would be the distribution of your estimated variance?
(c) How would you test Model 2 vs. Model 3 at level α = 0.05? What is your test statistic, and what would be the result of your test? Answer the same questions for testing Model 1 vs. Model 2.
, XT (^) Y =
∑ Yi Y 1 − (Y 2 + Y 3 )/ 2 (Y 2 − Y 3 )
.
Therefore βˆ 0 = Y¯ , βˆ 1 = (2Y 1 − Y 2 − Y 3 )/3 and βˆ 2 = (Y 2 − Y 3 )
∑ (Yi − Y¯ − βˆ 1 xi 1 − βˆ 2 xi 2 )^2 , and s^2 ∼ σ^2 χ^22. (b)
Var-Cov(βˆ) = σ^2 (XT^ X)−^1 = σ^2
(c) H 0 : β 1 = β 2 = 0 is equivalent to Cβ = 0 where
[ 0 1 0 0 0 1
] .
Reject H 0 iff (3/2)( βˆ^21 + βˆ 22 )/ 2 s^2
F 2 , 2 , 1 −α.
1 0 x 11 .. .
1 0 x 1 n 0 1 x 21 .. .
0 1 x 2 n
(b) We first set up and solve the normal equations, finding
XT^ Xβ =
n 0 0 0 n 0 0 0
∑ i
∑ j x 2 ij
β =
∑ i
∑ j xij Yij
= XT (^) Y.
Therefore the required confidence interval is
β 1 − β 2 = Y¯ 1 · − Y¯ 2 · ± st 2 n− 3 , 1 −α/ 2
√ 2 /n,
where s^2 = (2n − 3)−^1
∑ i
∑ j (Yij −^ Y¯i· −^ ˆγxij )
(c) If β 1 = β 2 , the problem reduces to simple linear regression. Then, because
∑ i
∑ j xij^ = 0, the estimates are
βˆ = Y¯·· and γˆ =
∑ i
∑ ∑^ j^ xij^ Yij i
∑ j x 2 ij
The statistic has an F 2 , 17 distribution under H 0. (b) Under Model 2 s^2 = 3. 2392 = 10.491 where s^2 ∼ σ^2 χ^218. (c) To test Model 1 vs. Model 2 use the t test for the coefficient of Air.Flow. From the Model 2 table, t = 5.298 and p = 4. 90 × 10 −^5. We reject the hypothesis and assume Model 2 holds. To test Model 2 vs. Model 3, we use the t test for the coefficient of Acid.Conc.. From the Model 3 table, t = − 0 .973 and p = 0. 34405. We conclude that Model 2 holds.