Docsity

Solution for Homework 2 - Regression Analysis | STA 108, Assignments of Statistics

Toggle sidebar
bg1
Solution for Homework 2
January 23, 2009
Problem 2.7
a. The regression function is
ˆ
Y= 168.6+2.0344X
t(.995,14) = 2.977, MSE = 10.5, s(b1) = rM SE
Pn
i=1(Xi−¯x)2=.0904, so the 99%
confidence interval for β1is 2.0344 ±2.977(.0904),i.e. 1.765 ≤β1≤2.304
b. The plastic manufacturer wants to test whether β1is 2 or not. The
alternatives are:
H0:β1= 2
Ha:β16= 2
The test statistics t∗=b1−2
s(b1)=2.0344−2
.0904 =.381
The decision rule with this test statistics for controlling the level of
significance at α=.01 is:
If |t∗ | ≤ t(1 −.01/2; 14) = 2.977, conclude H0
If |t∗ | > t(1 −.01/2; 14) = 2.977, conclude Ha
Since |t∗ | =.381 <2.977, we conclude H0, and
p-value=2 ×Pr (t>.381) = 2 ×.3545 = .71
[or give a range, 0.6 <p-value <0.8]
c. β1=.3, σ(b1) = .1, so δ=|β1−0|
σ(b1)=.3
.1= 3;
1
pf3

Partial preview of the text

Download Solution for Homework 2 - Regression Analysis | STA 108 and more Assignments Statistics in PDF only on Docsity!

Solution for Homework 2

January 23, 2009

Problem 2. a. The regression function is Yˆ = 168.6 + 2. 0344 X t(. 995 , 14) = 2.977, M SE = 10. 5 , s(b 1 ) =

√ (^) M SE ∑n i=1(Xi−x¯)^2 =^ .0904, so the 99% confidence interval for β 1 is 2. 0344 ± 2 .977(.0904), i.e. 1. 765 ≤ β 1 ≤ 2. 304

b. The plastic manufacturer wants to test whether β 1 is 2 or not. The alternatives are: H 0 : β 1 = 2 Ha : β 1 6 = 2 The test statistics t∗ = b s^1 (b− 12 ) = 2.^0344. 0904 − 2 =. 381 The decision rule with this test statistics for controlling the level of significance at α = .01 is: If |t ∗ | ≤ t(1 −. 01 /2; 14) = 2.977, conclude H 0 If |t ∗ | > t(1 −. 01 /2; 14) = 2.977, conclude Ha Since |t ∗ | =. 381 < 2 .977, we conclude H 0 , and p-value=2 × P r(t > .381) = 2 × .3545 =. 71 [or give a range, 0.6 < p-value < 0.8]

c. β 1 =. 3 , σ(b 1 ) = .1, so δ = |β σ^1 (−b 10 )| =..^31 = 3;

We enter Table B.5 for α = .01 and 14 degrees of freedom, and obtain power =.

Problem 2. a.Prediction b.Mean response c.Prediction

Problem 2. σ^2 (pred) will be brought increasingly close to σ^2 , instead of 0, as n becomes large; while σ^2 ( Yˆh) will be brought close to 0 as n becomes large.

Problem 2. a. Xh = 30, Yˆh = 168.6 + 30 ∗ 2 .0344 = 229. 63 , s(Yh) =

√ M SE × ( (^1) n + ∑(niX=1h(−X^ Xi¯−) X^2 ¯) 2 ) =. 8285 t(.99; 14) = 2. 624 , 229. 63 ± 2 .624(.8285), i.e. 227. 457 ≤ E(Yh) ≤ 231. 805

b. s(pred) =

√ M SE × (1 + (^1) n + ∑(niX=1h(−X^ Xi¯−) X^2 ¯) 2 ) = 3. 338

  1. 63 ± 2 .624(3.338), i.e. 220. 872 ≤ Yh(new) ≤ 238. 390

c.m=3, s(predmean) =

√ M SE × ( (^) m^1 + (^1) n + ∑(ni=1Xh(−X^ Xi¯−)^2 X¯) 2 ) = 1. 316

  1. 63 ± 2 .624(1.316), i.e. 226. 178 ≤ Y¯h(new) ≤ 233. 084

d. The prediction interval in part(c) is narrow than the one in part (b), and it should be, because s(predmean) ≤ s(pred).

e. W 2 = 2F (.98; 2, 14) = 2(5.241) = 10.482, W=3.238,

  1. 63 ± 3 .238(.8285), i.e. 226. 948 ≤ β 0 + β 1 Xh ≤ 232 .314;