Docsity

Stat 333 Homework 4 Solution: Regression Analysis and Diagnostic Tests, Assignments of Statistics

Toggle sidebar
bg1
Stat 333 Spring 2004 4/1/2004
Homework 4 Solution
I. We will discuss this in the discussion sections.
II. Problem E, page 171-172.
1. Fit the model using Minitab. Then the least squares estimates are ( ˆ
β0,ˆ
β1,ˆ
β2) =
(−67.88,0.9061,−0.0642).
Regression Analysis: Y versus X1, X2
The regression equation is
Y = - 67.9 + 0.906 X1 - 0.064 X2
Predictor Coef SE Coef T P
Constant -67.88 40.59 -1.67 0.118
X1 0.9061 0.1234 7.34 0.000
X2 -0.0642 0.1639 -0.39 0.702
S = 11.2047 R-Sq = 80.6% R-Sq(adj) = 77.7%
Analysis of Variance
Source DF SS MS F P
Regression 2 6797.1 3398.5 27.07 0.000
Residual Error 13 1632.1 125.5
Total 15 8429.1
Source DF Seq SS
X1 1 6777.8
X2 1 19.3
2. Since F= 27.07 >3.81 = F2,13,.05, the overall regression is significant.
3. Fit the model with X1and X2in different order. Then we have the sequential sum
of squares as the following.
Source DF Seq SS
X1 1 6777.8
X2 1 19.3
Source DF Seq SS
X2 1 25.1
X1 1 6772.0
Thus, we can perform the following tests based on these sequential sums of squares.
Here we use α=.05. (You may have different values of α.)
a. H0:β1= 0|β0vs H1:β16= 0|β0.
F=6777.8/1
1632.1/13 = 53.97 >4.67 = F1,13,.05
Therefore, we reject H0.
Homework 4 Solution 1Ting-Li Lin
pf3
pf4

Partial preview of the text

Download Stat 333 Homework 4 Solution: Regression Analysis and Diagnostic Tests and more Assignments Statistics in PDF only on Docsity!

Homework 4 Solution

I. We will discuss this in the discussion sections.

II. Problem E, page 171-172.

  1. Fit the model using Minitab. Then the least squares estimates are ( βˆ 0 , βˆ 1 , βˆ 2 ) = (− 67. 88 , 0. 9061 , − 0 .0642).

Regression Analysis: Y versus X1, X The regression equation is Y = - 67.9 + 0.906 X1 - 0.064 X

Predictor Coef SE Coef T P Constant -67.88 40.59 -1.67 0. X1 0.9061 0.1234 7.34 0. X2 -0.0642 0.1639 -0.39 0.

S = 11.2047 R-Sq = 80.6% R-Sq(adj) = 77.7%

Analysis of Variance Source DF SS MS F P Regression 2 6797.1 3398.5 27.07 0. Residual Error 13 1632.1 125. Total 15 8429.

Source DF Seq SS X1 1 6777. X2 1 19.

  1. Since F = 27. 07 > 3 .81 = F 2 , 13 ,. 05 , the overall regression is significant.
  2. Fit the model with X 1 and X 2 in different order. Then we have the sequential sum of squares as the following.

Source DF Seq SS X1 1 6777. X2 1 19. Source DF Seq SS X2 1 25. X1 1 6772.

Thus, we can perform the following tests based on these sequential sums of squares. Here we use α = .05. (You may have different values of α.) a. H 0 : β 1 = 0|β 0 vs H 1 : β 1 6 = 0|β 0.

F = (^16326777) .. 18 // 13 1 = 53. 97 > 4 .67 = F 1 , 13 ,. 05

Therefore, we reject H 0.

b. H 0 : β 2 = 0|β 0 , β 1 vs H 1 : β 2 6 = 0|β 0 , β 1.

F = 163219 ..^31 //^113 = 0. 15 < 4 .67 = F 1 , 13 ,. 05

Therefore, we do not reject H 0. c. H 0 : β 2 = 0|β 0 vs H 1 : β 2 6 = 0|β 0.

F = 163225 ..^11 //^113 = 0. 20 < 4 .67 = F 1 , 13 ,. 05

Therefore, we do not reject H 0. d. H 0 : β 1 = 0|β 0 , β 2 vs H 1 : β 1 6 = 0|β 0 , β 2.

F = 6772.^0 /^1

  1. 1 / 13

= 53. 94 > 4 .67 = F 1 , 13 ,. 05

Therefore, we reject H 0. According to the results of these tests, we may conclude that X 1 is more useful than X 2 in predicting the percentage sealed properly.

  1. Please see the explanation on page 630-631.

III. Problem A, page 198.

  1. a. Histogram:
  1. The Durbin-Watson statistic is

d =

∑ 25 i=2( ∑ei^25 −^ ei−^1 )^2 i=

e^2 i = 1. 39

To test H 0 : ρ = 0 vs H 1 : ρ 6 = 0, the significant points at level 2α = .05 are dL = 1. 02 and dU = 1.54. Since dL < d < dU , this test is said to be inconclusive at level .05. If 2 α = .02, then dL = 0.90 and dU = 1.41. The test is still said to be inconclusive at level .02.

  1. For the runs test, first we need to calculate

μ = 2(10)(15) 10 + 15

σ^2 = 2(10)(15)(2(10)(15)^ −^10 −^ 15) (10 + 15)^2 (10 + 15 − 1)

Then for a ”too few runs” lower-tail test, i.e., H 0 : not ”too few runs” vs H 1 : ”too few runs,” z = r^ −^ μ^ +^

1 2 σ =

Since z < − 1 .645 = −z. 05 , we reject H 0 at level .05. That is, there is evidence of positive serial correlation. In addition, the p-value is

p = P (Z ≤ − 1 .9188) =. 0274 <. 05

Thus, we reject H 0 at level .05.