Docsity

Regression Analysis of %WhoGrad with CSAT and %Top10% in Minitab, Lab Reports of Statistics

Toggle sidebar
bg1
1
Computer Lab Session #6
Load the file MASSCOLL.MTW from the Minitab example data sets, Student 12
subdirectory.
1. Consider the simple linear regressions of y=“%WhoGrad” on x=CSAT.
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?
2. Consider the simple linear regressions of y=“%WhoGrad” on x=“%Top10%” (percent
of the freshmen that were in the top 10% of their high school graduating class).
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:
• Take the SSE from the quadratic regression
• Square the residuals from the quadratic regression (use Calc > Calculator)
• Since the regression under consideration is not a simple linear regression, instead of
regressing the squared residuals on x, regress them on the fits from the quadratic
regression.
• Take the SSR from the regression of the squared residuals on the fits.
• Compute the BP statistic (formula in class and in the text book).
Now, to have at least an approximate idea of whether the value of the BP statistic is
significant,
• Use Calc > Probability Distributions > Chi-square (with non-centrality parameter = 0
and degrees of freedom = 1) to compute a p-value.

Partial preview of the text

Download Regression Analysis of %WhoGrad with CSAT and %Top10% in Minitab and more Lab Reports Statistics in PDF only on Docsity!

1

Computer Lab Session #

Load the file MASSCOLL.MTW from the Minitab example data sets, Student 12 subdirectory.

  1. Consider the simple linear regressions of y=“%WhoGrad” on x=CSAT.

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?

  1. Consider the simple linear regressions of y=“%WhoGrad” on x=“%Top10%” (percent of the freshmen that were in the top 10% of their high school graduating class).

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:

  • Take the SSE from the quadratic regression
  • Square the residuals from the quadratic regression (use Calc > Calculator )
  • Since the regression under consideration is not a simple linear regression, instead of regressing the squared residuals on x, regress them on the fits from the quadratic regression.
  • Take the SSR from the regression of the squared residuals on the fits.
  • Compute the BP statistic (formula in class and in the text book). Now, to have at least an approximate idea of whether the value of the BP statistic is significant,
  • Use Calc > Probability Distributions > Chi-square (with non-centrality parameter = 0 and degrees of freedom = 1) to compute a p-value.