
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!

1
Computer Lab Session #
Load the file MASSCOLL.MTW from the Minitab example data sets, Student 12 subdirectory.
Using Stat > Regression > Regression > Storage , save the regular residuals into a separate column in the file. Now use Graph > Probability Plot to produce the normal probability plot for the residuals, with the 95% confidence band and the AD test. We have already performed a graphical analysis of residuals for this regression in Lab #5. Is there statistical evidence based on the AD test, and the band, that the errors depart from normality?
For this regression, produce the plot of regular residuals vs x. Can you notice any systematic pattern that would suggest a non-linear relationship?
When fitting the regression, use Options to produce the lack of fit test (with “Data subsetting”, because this data set does not contain replicates at the same levels of x). Is there statistical evidence, based on this test, that the relationship between mean response and predictor departs from linearity?
Next, again without yet knowing the mathematical details, use Calc > Calculator to produce w=(%Top10%)^2 , and then use Stat > Regression > Regression (uploading both x and w in the list of predictors) to fit the quadratic regression for y=“%WhoGrad” on x=“%Top10%” – save the residuals and the fits using Storage. Produce the plot of regular residuals vs fits, and again use Options to produce the lack of fit test (with “Data subsetting”). Are there still systematic patterns in the residual plot, suggesting that also a quadratic relationship does not fit the data? Does the lack of fit test indicate that the relationship between mean response and predictor departs also from a parabola?
Besides trends, does the residual plot contain variance patterns? Does it suggest non- constant (increasing?) error variance? If so, implement a variant of the Breusch-Pagan statistic: