Docsity

Homework 4 Solutions | Applied Regression Analysis | STAT 645, Assignments of Statistics

Toggle sidebar
bg1
HOMEWORK 4 SOLUTION
3.7
a. Stem-and-Leaf Display: x
Stem-and-leaf of x N = 60
Leaf Unit = 1.0
8 4 11122334
15 4 5677788
21 5 123344
29 5 56777999
(8) 6 00013334
23 6 5556889
16 7 001223
I agree that the plot is consistent with the random selection of women from each 10-year
age group for 40-60. Women in their mid to late 70’s are not represented.
b. The residuals are scattered around zero, with what appears to be a symmetric distribution.
Checking for normality would be difficult from this plot.
RESI1 24181260-6-12
Dotplot of RESI1
c. The two graphs provide the same information. No clear departure from the regression
line is evident.
1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe

Partial preview of the text

Download Homework 4 Solutions | Applied Regression Analysis | STAT 645 and more Assignments Statistics in PDF only on Docsity!

3.7 HOMEWORK 4 SOLUTION

a. Stem-and-Leaf Display: x

Stem-and-leaf of x Leaf Unit = 1.0 N = 60 (^815 44 ) (^2129 55 ) (8) 23 66 000133345556889 16 7 001223 I agree that the plot is consistent with the random selection of women from each 10-yearage group for 40-60. Women in their mid to late 70’s are not represented.

b. The residuals are scattered around zero, with what appears to be a symmetric distribution.Checking for normality would be difficult from this plot.

-12 -6 0 RESI1 6 12 18 24

Dotplot of RESI

c. The two graphs provide the same information. No clear departure from the regressionline is evident.

Fitted Value

Residual

Residuals Versus the Fitted Values (response is y)

x

Residual

Residuals Versus x (response is y)

d.

y

e

Y Hat vs. Studentized Residuals

b. There are 4 points fall outside 1 standard deviation. If the normal error model isappropriate, there should be about 3.8 or 4 points fall outside.

3.15 a.

Regression Analysis: y15 versus x

The regression equation is y15 = 2.58 - 0.324 x

Predictor Constant 2.5753Coef SE Coef0.2487 (^) 10.35T (^) 0.000P x15 -0.32400 0.04330 -7.48 0. S = 0.474314 R-Sq = 81.2% R-Sq(adj) = 79.7% b. H Ha 0:: E{Y }E{Y } not = β 0 + equal β 1 Xβ ,0 + β 1 X F=58.60 Decision Rule: F (. 975; 3 , 10) = 4.82562. If _F≤_ 4.82562 conclude H 0, otherwise Ha. Conclude Ha. Or you can use the fact that the P-value is below 0.025 which means H 0 would be rejected. Analysis of Variance Source DF SS MS F P

Regression Residual Error 131 12.5972.925 12.5970.225 55.99 0. Lack of Fit Pure Error 103 2.7670.157 0.9220.016 58.60 0. Total 14 15. c. The lack of fit only indicates that a linear regression is inappropriate, but does notindicate what regression function to try next. A study of the residuals might help.

3.16 a. By examing the scatter plot, I might try to transform Y to logY to attain a constant variance and linearity. There are problems with both – log should improve the constantvariance – if linearity is still a problem you might transform x as well.

x

y

Scatterplot of y15 vs x

c. The regression equation is logY15 = 0.655 - 0.195 x d. The regression line appears to be a good fit for the transformed data and the constantvariance assumption seems satisfied on the new scale.

Residual

Percent

99 (^9590) (^8070) (^6050) (^4030) (^2010) 5 1

Normal Probability Plot of the Residuals (response is logY15)

f. The transformed regression equation is Y15 = 4.518559 / 10^(0.195 x) 3.15 a. I'd try to transform x first, since the variances seem to be constant.

x

y

Scatterplot of y18 vs x

b. Regression Analysis: y18 versus sqrt(x18) The regression equation is y18 = 1.25 + 3.62 sqrt(x18) c. The graph shows a better fit after the transformation.

Residual

Percent

99 (^9590) (^807060) (^504030) (^2010) 5 1

Normal Probability Plot of the Residuals (response is y18)

e. The question is ambiguous – when transforming x the y’s are still in the original units,although x is not. (y - 1.25)^2 = 13.1044 x

3.20 The error terms are still independent normal after the transformation. But if the sametransformation is used on Y, the error terms no longer have normal distribution.

3.23 H 0: E{Y } = β 1 X ,

The degrees of freedom are full = 10 and reduced = 19.^ Ha :^ E{Y } not^ equal^ β^1 X

a. There seems an outlier at x=12.

Regression Analysis: y24 versus x

The regression equation is y24 = 48.7 + 2.33 x

x

Residual

Residuals Versus x24 (response is y24)

b. Case 7 pulls the regression line toward the count-clockwise direction. The regression equation is y24 = 53.1 + 1.62 x c. Case 7 falls out of the 99% prediction interval. That means case 7 doesn’t seem to followthe pattern of the rest of the data. New Obs Fit SE Fit 99% CI 99% PI 1 72.52 1.47 (66.58, 78.47) (60.31, 84.74)

Based on the original data, the linear regression model is fitted. And the residual seems toincrease as X increase. Although the normal probability plot suggests the normal assumption for the error term isn't satisfied, this plot is not appropriate when the variancesare unequal.

Regression Analysis: PSA level versus cancel volume

The regression equation is PSA level = 1.12 + 3.23 cancel volume

level). The fitted line is as below. Under this model, the assumptions fit much better.transformation of the response variable makes the explanation a little harder. The

Regression Analysis: log(y) versus x

The regression equation is log(y) = 1.81 + 0.0962 x New Obs Fit SE Fit 95% CI 95% PI At the cancel volume 20 cc, the estimated mean for PSA level is^1 3.7292^ 0.1719^ (3.3880, 4.0705)^ (1.9604, 5.4980) 41.64578.

Residual

Percent

99 (^9590) (^807060) (^504030) (^2010) 5 1

Normal Probability Plot of the Residuals (response is log(y))

Fitted Value

Residual

Residuals Versus the Fitted Values (response is log(y))

x

Residual

Residuals Versus x (response is log(y))