Docsity

Assignment 3 with Solutions for Regression Methods | STAT 501, Assignments of Statistics

Toggle sidebar
bg1
Assignment #3 Solutions
Chapter 2
The Minitab regression analysis output for the Robbery rate data set (for #30, 31, 32) looks like:
The regression equation is
Robbery = 183 + 0.262 Popn
Predictor Coef SE Coef T P
Constant 182.97 12.72 14.38 0.000
Popn 0.2616 0.1783 1.47 0.164
S = 10.29 R-Sq = 13.3% R-Sq(adj) = 7.1%
Analysis of Variance
Source DF SS MS F P
Regression 1 228.0 228.0 2.15 0.164
Residual Error 14 1483.0 105.9
Total 15 1711.0
30.a. See output above. The hypotheses are H0:β1=0versus HA:β16=0.The t-statistic is 1.47,
and the P-value is 0.164. Since P=0.164 >0.01,we fail to reject the null hypothesis. There is not enough
evidence to conclude that there is a linear trend between population and robbery rate.
31.a. See output above.
b. See output above. The F-statistic is 2.15 and the P-value is 0.164. Again, since P=0.164 >0.01,
we fail to reject the null hypothesis. There is not enough evidence to conclude that there is a linear trend
between population and robbery rate. Note that the P-values for the t-test and the F-test are identical,
as we’d expect. This arises because of the relationship that t2(n−2) = F(1,n−2),as is illustrated by
1.472=2.15.
c. See output above. The R2value answers this question. That is, the total variation in robbery rate is
reduced by 13.3% when population is taken into account. This seems to be a relatively small reduction.
d. The R2value reported as a proportion rather than as a percentage is 13.3/100 = 0.133.Therefore,
r=+
√0.133 = 0.365.Note that the correlation coefficient rtakes the same sign as the sign of the slope,
which is positive here.
32.a. The full model is Yi=β0+β1xi+εiand therefore, the reduced model (that is, the model when
the null hypothesis is true) is Yi=β0+εi.
b. See output ab ove.
(1) SSE(F)=P(yi−byi)2=SSE = 1483.0
(2) SSE(R)=P(yi−yi)2=SSTO = 1711.0
(3) df Fdenotes the degrees of freedom associated with SSE(F).Therefore, df F=14.
(4) df Rdenotes the degrees of freedom associated with SSE(R).Therefore, df F=15.
(5) Using the Fstatistic for the general linear model, we get:
F=(SSE(R)−SSE(F))
df R−df F
÷SSE(F)
df F
=1711 −1483
15 −14 ÷1483
14 =228
105.9=2.15
1
pf3

Partial preview of the text

Download Assignment 3 with Solutions for Regression Methods | STAT 501 and more Assignments Statistics in PDF only on Docsity!

Assignment #3 Solutions

Chapter 2

The Minitab regression analysis output for the Robbery rate data set (for #30, 31, 32) looks like:

The regression equation is Robbery = 183 + 0.262 Popn

Predictor Coef SE Coef T P Constant 182.97 12.72 14.38 0. Popn 0.2616 0.1783 1.47 0.

S = 10.29 R-Sq = 13.3% R-Sq(adj) = 7.1%

Analysis of Variance

Source DF SS MS F P Regression 1 228.0 228.0 2.15 0. Residual Error 14 1483.0 105. Total 15 1711.

30.a. See output above. The hypotheses are H 0 : β 1 = 0 versus HA : β 1 6 = 0. The t-statistic is 1.47, and the P-value is 0.164. Since P = 0. 164 > 0. 01 , we fail to reject the null hypothesis. There is not enough evidence to conclude that there is a linear trend between population and robbery rate.

31.a. See output above. b. See output above. The F-statistic is 2.15 and the P-value is 0.164. Again, since P = 0. 164 > 0. 01 , we fail to reject the null hypothesis. There is not enough evidence to conclude that there is a linear trend between population and robbery rate. Note that the P-values for the t-test and the F-test are identical, as we’d expect. This arises because of the relationship that t^2 (n − 2) = F (1, n − 2), as is illustrated by

  1. 472 = 2. 15.

c. See output above. The R^2 value answers this question. That is, the total variation in robbery rate is reduced by 13.3% when population is taken into account. This seems to be a relatively small reduction.

d. The R^2 value reported as a proportion rather than as a percentage is 13. 3 /100 = 0. 133. Therefore, r = +

0 .133 = 0. 365. Note that the correlation coefficient r takes the same sign as the sign of the slope, which is positive here.

32.a. The full model is Yi = β 0 + β 1 xi + εi and therefore, the reduced model (that is, the model when the null hypothesis is true) is Yi = β 0 + εi.

b. See output above. (1) SSE(F ) =

P

(yi − byi)^2 = SSE = 1483. 0

(2) SSE(R) =

P

(yi − yi)^2 = SST O = 1711. 0 (3) dfF denotes the degrees of freedom associated with SSE(F ). Therefore, dfF = 14. (4) dfR denotes the degrees of freedom associated with SSE(R). Therefore, dfF = 15. (5) Using the F statistic for the general linear model, we get:

F =

(SSE(R) − SSE(F ))

dfR − dfF

÷

SSE(F )

dfF

÷

as observed in the output above.

Chapter 3

  1. The Minitab regression analysis output for the Solution concentration data set, with the lack of fit test requested, looks like:

The regression equation is conc = 2.58 - 0.324 time

Predictor Coef SE Coef T P Constant 2.5753 0.2487 10.35 0. time -0.32400 0.04330 -7.48 0.

S = 0.4743 R-Sq = 81.2% R-Sq(adj) = 79.7%

Analysis of Variance

Source DF SS MS F P Regression 1 12.597 12.597 55.99 0. Residual Error 13 2.925 0. Lack of Fit 3 2.767 0.922 58.60 0. Pure Error 10 0.157 0. Total 14 15.

a. See output above. b. See output above. The null hypothesis is H 0 : There is no lack of linear fit. That is, there is a linear relation, Yi = β 0 + β 1 xi + εi. The alternative hypothesis is HA : There is lack of linear fit. That is, the relation is not linear, Yi 6 = β 0 + β 1 xi + εi. The lack of fit F-statistic is 58.60, and the P-value is 0.000.... Since the P-value is so small, we reject the null hypothesis in favor of the alternative. There is sufficient statistical evidence to conclude that the relationship is not linear. The plot in Figure 1 also supports this decision.

c. The lack of linear fit test can only tell us that a linear relationship is inappropriate. It does not tell us what non-linear relationship is appropriate.