Docsity

Machine Speed - Regression Analysis - Assignment 6 | ISYE 6414, Assignments of Systems Engineering

Toggle sidebar
bg1
11.7 Machine speed. The number of detective items produced by a machine (Y) is known to be
linearly related to the speed setting of the machine (X). The data below were collected from
recent quality control records.
i 1 2 3 4 5 6 7 8 9 10 11 12
X 200 400 300 400 200 300 300 400 200 400 200 300
Y 28 75 37 53 22 58 40 96 46 52 30 69
a) Fit a linear regression function by ordinary least squares, obtain the residuals, and plot the
residuals against X. What does the residual plot suggest?
b) Conduct the Breusch-Pagan test for constancy of the error variance, assuming
iie
X
10
2
log
; useα=0.10. State the alternatives, decision rule, and conclusion.
c) Plot the squared residuals against X. What does the plot suggest about the relation between
the variance of the error term and X?
d) Estimate the variance function by regressing the squared residuals against X, and then
calculate the estimated weight for each case using (11.16b).
e) Using the estimated weight, obtain the weighted least squares estimates of β0 and β1. Are the
weighted least squares estimates similar to the ones obtained with ordinary least squares in
part (a)?
f) Compare the estimated standard deviations of the weighted least squares estimates bw0 and
bw1 in part (e) with those for the ordinary least squares estimates in part (a). What do you
find?
g) Iterate the steps in parts (d) and (e) one more time. Is there a substantial change in the
estimated regression coefficients? If so, what should you do?
11.9 Refer to Cosmetics sales Problem 10.13. Given below are the estimated ridge
standardized regression coefficients, the variance inflation factors, and R2 for selected biasing
constants c.
c 0.00 0.01 0.02 0.04 0.06 0.08 0.09 0.10
R
b
1
0.490 0.461 0.443 0.463 0.410 0.401 0.398 0.394
R
b
2
0.296 0.322 0.336 0.349 0.354 0.356 0.356 0.356
R
b
3
0.169 0.167 0.167 0.166 0.165 0.164 0.164 0.164
(VIF)120.07 10.36 6.37 3.20 1.98 1.38 1.20 1.05
(VIF)220.72 10.67 6.55 3.27 2.07 1.40 1.21 1.06
(VIF)31.22 1.17 1.14 1.08 1.02 0.98 0.95 0.93
R20.7417 0.7416 0.7145 0.7412 0.7409 0.7045 0.7402 0.7399
a) Make a ridge trace plot for the given c values. Do the ridge regression coefficients exhibit
substantial changes near c=0?
pf2

Partial preview of the text

Download Machine Speed - Regression Analysis - Assignment 6 | ISYE 6414 and more Assignments Systems Engineering in PDF only on Docsity!

11.7 Machine speed. The number of detective items produced by a machine (Y) is known to be linearly related to the speed setting of the machine (X). The data below were collected from recent quality control records. i 1 2 3 4 5 6 7 8 9 10 11 12 X 200 400 300 400 200 300 300 400 200 400 200 300 Y 28 75 37 53 22 58 40 96 46 52 30 69 a) Fit a linear regression function by ordinary least squares, obtain the residuals, and plot the residuals against X. What does the residual plot suggest? b) Conduct the Breusch-Pagan test for constancy of the error variance, assuming e i 0 1 X i log  2     ; useα=0.10. State the alternatives, decision rule, and conclusion. c) Plot the squared residuals against X. What does the plot suggest about the relation between the variance of the error term and X? d) Estimate the variance function by regressing the squared residuals against X, and then calculate the estimated weight for each case using (11.16b). e) Using the estimated weight, obtain the weighted least squares estimates of β 0 and β 1. Are the weighted least squares estimates similar to the ones obtained with ordinary least squares in part (a)? f) Compare the estimated standard deviations of the weighted least squares estimates bw0 and bw1 in part (e) with those for the ordinary least squares estimates in part (a). What do you find? g) Iterate the steps in parts (d) and (e) one more time. Is there a substantial change in the estimated regression coefficients? If so, what should you do? 11.9 Refer to Cosmetics sales Problem 10.13. Given below are the estimated ridge standardized regression coefficients, the variance inflation factors, and R^2 for selected biasing constants c. c 0.00 0.01 0.02 0.04 0.06 0.08 0.09 0. b^ R 1 0.490^ 0.461^ 0.443^ 0.463^ 0.410^ 0.401^ 0.398^ 0. R b 2 0.296 0.322 0.336 0.349 0.354 0.356 0.356 0. b^ R 3 0.169^ 0.167^ 0.167^ 0.166^ 0.165^ 0.164^ 0.164^ 0. (VIF) 1 20.07 10.36 6.37 3.20 1.98 1.38 1.20 1. (VIF) 2 20.72 10.67 6.55 3.27 2.07 1.40 1.21 1. (VIF) 3 1.22 1.17 1.14 1.08 1.02 0.98 0.95 0. R^2 0.7417 0.7416 0.7145 0.7412 0.7409 0.7045 0.7402 0. a) Make a ridge trace plot for the given c values. Do the ridge regression coefficients exhibit substantial changes near c=0?

b) Suggest a reasonable value for the biasing constant c based on the ridge trace, the VIF values, and R^2. c) Transform the estimated standardized regression coefficients selected in part (b) back to the original variables and obtain the fitted values for the 44 cases. How similar are these fitted values to those obtained with the ordinary least squares fit in Problem 10.13a? 14. a) Plot the logistic mean response function (14.16) when β 0 =20 and β 1 =-0.2. b) For what value of X is the mean response equal to 5? c) Find the odds when X=125, when X=126, and the ratio of the odds when X=126 to the odds when X=125. Is the odds ratio equal to exp(β 1 ) as it should be? 14.12 Toxicity experiment. In an experiment testing the effect of a toxic substance, 1500 experimental insects were divided at random into six groups of 250 each. The insects in each group were exposed to a fixed dose of the toxic substance. A day later, each insect was observed. Death from exposure was scored 1, and survival was scored 0. The results are shown below; Xj denotes the dose level (on a logarithmic scale) administered to the insects in group j and Yj denotes the number of insects that died out of the 250 (nj) in the group. j 1 2 3 4 5 6 Xj 1 2 3 4 5 6 nj 250 250 250 250 250 250 Yj 28 53 93 126 172 197 Logistic regression model (14.20) is assumed to be appropriate. a) Plot the estimated proportions pj=Yj/nj against Xj. Does the plot support the analyst’s belief that the logistic response function is appropriate? b) Find the maximum likelihood estimates of β 0 and β 1. State the fitted response function. c) Obtain a scatter plot of the data with the estimated proportions from part (a), and superimpose the fitted logistic response function from part (b). Does the fitted logistic response function appear to fit well? d) Obtain exp(b 1 ) and interpret this number. e) What is the estimated probability that an insect dies when the dose level is X=3.5? f) What is the estimated median lethal dose – that is, the dose for which 50 percent of the experimental insects are expected to die?