





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!






−10 0 10 20 30
−^
0
50
Fitted vs Residual plot
fit
res
∑n i=1 ̂pi n =
Lower Limit : p¯ − 3
p¯(1 − p¯) m = 0.^032 −^3
100 =^ −^0.^0208 ⇒^ Lower Limit = 0 Upper Limit : p¯ + 3
p¯(1 − p¯) m = 0.032 + 3
∑n i=1 ci n =
Lower Limit : ¯c − 3 √c¯ = 7. 55 − 3
7 .55 = − 0. 693179 ⇒ Lower Limit = 0 Upper Limit : ¯c + 3√c¯ = 7.55 + 3√ 7 .55 = 15. 79318
s^2 ˆy + s^2 = 20. 59082 ± 2. 048
Thus, the 95% prediction interval for y at x = 7. 0 is (ln(18.628), ln(22.554)) = (2. 925 , 3 .116).
11-15. An investigator wants to find out the relationship between traffic flow X (1000’s of cars per 24 hours) and lead content Y of bark on trees near the highway (μg/g dry wt). He collected 11 samples. Following is the output (incomplete) for fitting a simple linear regression of y on x: y = β 0 + β 1 x + ǫ, where ǫ ∼ N (0, σ^2 ). Estimate Std. Error t-value p-value Intercept -12.842 72.143 -0.178 0. X 36.184 3.693 0. Residual standard error: 92.19 on? degrees of freedom Multiple R-squared: 0.9143, Adjusted R-squared: 0. F-statistic: 96.01 on 1 and? DF, p-value: 0. 000
17-25. We consider the problem of predicting gasoline mileage Y (in mpg). The independent variables are fuel octane rating X 1 , average speed X 2 (mph), the load X 3 carried during each test run and stops per mile X 4. Table 1: Coefficient table Estimate Std. Error t-value p-value Intercept -56.526 6.140 -9.207 0. X 1 1.176 0.076 15.401 0. X 2 -0.281 0.036 -7.766 0. X 3 -0.009 0.001 -8.975 0. X 4 -0.955 0.364? 0. Residual standard error: 0.6281 on 15 degrees of freedom Multiple R-Squared: 0.9587, Adjusted R-squared: 0. F-statistic: 87.03 on? and 15 DF, p-value: 0. 000 Table 2: Analysis of Variance table Df Sum Sq Mean Sq F -value p-value X 1 1 78.476 78.476 198.9374 0. X 2 1 19.306 19.306 48.9405 0. X 3 1 36.815 36.815 93.3265 0. X 4 1 2.724 2.724 6.9063 0. Residuals 15? 0. Total 19 143.
SSE = SST − SSR = 143. 238 − (78.476 + 19.306 + 36.815 + 2.724) = 5. 917
ŷ = − 56 .526 + 1. 176 x 1 − 0. 281 x 2 − 0. 009 x 3 − 0. 955 x 4 = − 56 .526 + 1. 176 × 88 − 0. 281 × 52 − 0. 009 × 646 − 0. 955 × 1 .2 = 25. 39
ŷ ± t 15 , 0. 025
s^2 yˆ + s^2 = 25. 39 ± 2. 131