Model building and multicollinearity
Choose among regression models for sales using adjusted R square, the standard error and t tests, spot multicollinearity with the variance inflation factor, and check the residuals before using the model.
It opens on
A manager adds a third predictor, the staff on shift, that has no real effect on sales. Does R Square go up, stay put or go down, and what about adjusted R Square?
Why it matters
A model with more predictors is not always better, and predictors that overlap can hide each other's effects, so managers need a disciplined way to choose which to keep.
Good to know first
- adjusted R square
Step by step
Comparing models
Compare three nested models by R square, adjusted R square and the standard error, and choose by parsimony.
A common mix-up
The model with the highest R Square is the best.
In fact: R Square rises with every added predictor, so adjusted R Square and the standard error decide between models of different sizes.
Multicollinearity and the VIF
Explain how correlated predictors hide each other, and compute and read the variance inflation factor.
VIF = 1 ÷ (1 − 0.951) = 1 ÷ 0.0488 = 20.5, so the variance of each coefficient is about 20 times larger than it would be with uncorrelated predictors. A VIF above 5 or 10 is a warning.
VIF = 20.5
A common mix-up
A predictor with a high p-value in a model has no relationship with the response.
In fact: If it overlaps with another predictor, its effect may be shared, so check the correlations and the VIF before dropping it.
Checking the chosen model
Check model A's residuals, and use it to predict within the data's range.
A common mix-up
A model that fits the data well can be used for any value of the predictor.
In fact: a fit holds only within the range of the data, and beyond it the prediction is a guess.
Try it
Model X has R Square 0.90 and adjusted 0.86; model Y, with one more predictor, has R Square 0.91 and adjusted 0.85. Which is preferred?Answer
Model X, because its adjusted R Square is higher
Hint: Compare the adjusted values
Two predictors have a correlation of 0.80. Find the VIF.Answer
1 ÷ (1 − 0.64) = 2.78
Hint: R² is the squared correlation
Use model A to predict sales for TV spend 20, and give the residual if the actual sales were 84.Answer
Predicted 89.6, residual 84 − 89.6 = −5.6
Hint: Fitted = 46.9855 + 2.1315 × 20
Model C has the highest R Square, 0.8248. Is it the best model?Answer
No, its adjusted R Square, 0.7592, is the lowest and its standard error is the highest, so the extra predictors are not earning their place
Model A has a single predictor. What is its VIF, and why?Answer
1, because there is no other predictor to overlap with
