Docsity

Final Exam Solution | Engineering Statistics | STA 3032, Exams of Statistics

Toggle sidebar
bg1
STA3032 (Section 7393)
FINAL EXAM SOLUTION
1. What is the right interpretation of the given fitted vs residual plot?
−10 0 10 20 30
−50 0 50
Fitted vs Residual plot
fit
res
•(a) It’s showing non-constant variance.: It shows the increasing variance,
thus square-root transformation of Ymight make the variance stable.
2. In simple linear regression, what is the distribution of the slope b
β1?
•(d) Normal distribution with the mean β1and the variance σ2
Pn
i=1(xi−¯x)2
1
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download Final Exam Solution | Engineering Statistics | STA 3032 and more Exams Statistics in PDF only on Docsity!

STA3032 (Section 7393)

FINAL EXAM SOLUTION

  1. What is the right interpretation of the given fitted vs residual plot?

−10 0 10 20 30

−^

0

50

Fitted vs Residual plot

fit

res

  • (a) It’s showing non-constant variance.: It shows the increasing variance, thus square-root transformation of Y might make the variance stable.
  1. In simple linear regression, what is the distribution of the slope β̂ 1?
  • (d) Normal distribution with the mean β 1 and the variance Pni=1σ(x^2 i−¯x) 2
  1. To monitor the manufacturing process of rubber support bearing used between the superstructure and foundation pads of nuclear power plant, a quality control engineer samples 100 bearings from the production line each day over a 15-day period. The summary data is ∑ni=1 p̂i = ∑ni=1 x mi = 0.48. What is the Lower Control Limit and the Upper Control Limit for such a mean proportion? - (a) (0, 0.0848) n = 15, m = 100, p¯ =

∑n i=1 ̂pi n =

15 = 0.^032

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

100 = 0.^0848

  1. The number of noticeable defects found by quality control inspectors in a randomly selected 1-square-meter specimen of woolen fabric from a certain loom is recorded each hour for a period of 20 hours. The summary data is ∑ni=1 ci = 151. What is the Lower Control Limit and the Upper Control Limit for the number of defects? - (b) ( 0, 15.7932) n = 20 ¯c =

∑n i=1 ci n =

20 = 7.^55

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

  1. Suppose that from the process for manufacturing electrical shafts, the lower and upper control limits for ¯x-chart is (116.149, 127.851). However, sample number 7 (the 7th samples) has ¯x = 129, sample number 14 has ¯x = 128, sample number 21 has ¯x = 132, sample number 28 has ¯x = 128 and sample number 35 has 127. Which of the statement¯ is appropriate? - (b) There is a pattern in this process, thus the process is out of control. : Every 7th samples are outside of Control Limits. Thus there is a patteren, therefore the process is out of control.
  1. An engineer suggest a linear regression model to predict the fuel consumption Y (in gpm) from the weight of an automobile (x 1 ) and the horsepower (x 2 ). However, she observes that the both slopes of x 1 and x 2 , β 1 and β 2 , respectively, are not significant in the multiple regression model. Thus, she fit the simpler linear regressions with x 1 and x 2 , separately. For the separate simple linear models, the coefficients are significant with very small p-values. The regression estimates and standard errors (in Parentheses) are given in the table. Why does she get these results? Regression Model β 0 β 1 β 2 adjusted R^2 y = β 0 + β 1 x1 + β 2 x 2 -0.33 (0.30) 0.82 (0.36) 0.024 (0.010) 0. y = β 0 + β 1 x 1 -0.36 (0.38) 1.64 (0.13) 0. y = β 0 + β 2 x 2 -0.12 (0.36) 0.046 (0.003) 0. - (b) Because there exists the linear relationship between these two explanatory variables.: This is about the multicolinearity between x 1 and x 2.
  2. Suppose we make an exponential transformation on both x and y. The regression line is given by exp(y) = 42. 58 − 0. 02 × exp(x). Here, the sample size n = 30 and s = 0.8415. Suppose you want to predict the value of y when x = 7.0. The se.fit syˆ = 0.4584 at x = 7.0. What is the 95% prediction interval for y at x = 7.0?
  • (c) (2.925, 3.116) exp(̂y) = 42. 58 − 0. 02 × exp(7.0) = 20. 59082 exp(̂y) ± t 30 − 2 , 0. 05 / 2

s^2 ˆy + s^2 = 20. 59082 ± 2. 048

(0.4584)^2 + (0.8415)^2

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

  1. What is the least-squares regression equation?
    • (c) ̂y = − 12 .842 + 36. 184 x
  2. What is the degrees of freedom of error?
    • (a) 9: df = n − 2 = 11 − 2 = 9
  3. What is the t-test statistic of β 1?
    • (d) 9.798:t = (^) sβb (^) βb^11 = (^363) .. 693184 = 9. 798
  4. What is the alternative hypothesis (H 1 ) of ANOVA p-value (F-statistic: 96.01 on 1 and? DF, p-value: 0.000)?
    • (d) H 1 : β 1 6 = 0
  5. What is the estimate of the σ^2?
    • (b) 8498.996: σ̂^2 = s^2 = (92.19)^2 = 8498. 996

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.

  1. What is the sample size?
    • (d) 20: df = n − p − 1 ⇒ 15 = n − 4 − 1 ⇒ n = 20
  2. Controlling for X 2 , X 3 and X 4 , the predicted mean change in Y when X 1 is increased from 5 to 10 is which of the following?
    • (d) 5.88: 1. 176 × (10 − 5) = 5. 88
  3. What is the numerator degrees of freedom of F -statistic?
    • (b) 4: p = number of explanatory variables = 4
  1. What is SSE?
    • (b) 5. SSE = M SE × (n − p − 1) = 0. 394 × 15 = 5. 917 Or

SSE = SST − SSR = 143. 238 − (78.476 + 19.306 + 36.815 + 2.724) = 5. 917

  1. What is the test statistic to test H 0 : β 4 = 0?
    • (c) -2.627: t = (^) sβb (^) βb^44 = − 00. 364.^955 = − 2. 627 or d 6.906: F = 6.906 from ANOVA table
  2. What is the alternative hypothesis (H 1 ) to test whether the overall model is linearly affective or not?
    • (c) H 1 : at least one βi 6 = 0 for i = 1, 2 , 3 , 4
  3. What is the prediction value of y at (X 1 = 88, X 2 =52, X 3 = 646, X 4 =1.2)?
    • (d) 25.

ŷ = − 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

  1. What is the 95% prediction interval for y at (X 1 = 88, X 2 =52, X 3 = 646, X 4 =1.2) (sby = 0.3423 and t 15 , 0. 025 = 2.131)?
    • (b) (23.866, 26.914)

ŷ ± t 15 , 0. 025

s^2 yˆ + s^2 = 25. 39 ± 2. 131

(0.3423)^2 + (0.6281)^2 = (23. 866 , 26 .914)