Model Selection Criteria
Comparing Regression Models Fairly
Model-selection criteria summarize different compromises between fitting the observed data and avoiding unnecessary complexity. The ordinary coefficient of determination is
the fraction of total response variation explained by the fitted model.
Adding predictors cannot increase the training SSE, so training R2 cannot decrease. That makes R2 useful for describing fit, but risky as the only basis for comparing models of different sizes.
Let n be the number of observations and let p count all fitted regression coefficients, including the intercept. The residual mean square is MSE=SSE/(n−p). Adjusted R2 applies this degrees-of-freedom correction:
Unlike ordinary R2, adjusted R2 can fall when a weak predictor is added, because the denominator n−p shrinks whether or not the new term helps.
Mallows' criterion
When a large reference model supplies MSEfull, a candidate with p coefficients has
A candidate whose Cp is both reasonably small and close to p has an attractive balance: a value above p can suggest omitted structure if the reference error-variance estimate is adequate, but the excess has sampling variability and does not by itself establish bias.
Extra terms can also inflate complexity without buying enough improvement in fit.
Worked example
Suppose n=36, SST=240, and a candidate with p=4 has SSE=72. Then R2=1−72/240=0.70 and MSE=72/32=2.25. The total mean square is 240/35≈6.857, so Rˉ2=1−2.25/6.857≈0.672, a little below the ordinary R2 as expected. If the full-model MSE is 2.00, then Cp=72/2−(36−8)=36−28=8, which exceeds the target p=4 by 4. If the reference error-variance estimate is adequate, this excess can suggest omitted structure, but it alone does not establish appreciable bias.
Where the criteria stop
A common mistake is to compare raw SSE across different data sets, or to assume that the model with the largest training R2 must predict best.
These criteria are comparable only when the candidate models are fitted to the same response data, and none of them replaces subject-matter judgment or an honest assessment of prediction on data the model has not seen.
A training criterion describes how well a model reproduces the sample it was fitted to; a validation or test estimate is what speaks to prediction.
Training error and complexity cost pull in opposite directions as candidate models grow; a selection criterion combines them into a single score.
Training and validation error across candidate sizes
Using the graph, by how much does validation MSE increase when candidate size changes from 5 fitted coefficients to 9?
Training error and complexity cost pull in opposite directions as candidate models grow; a selection criterion combines them into a single score.
Training and validation error across candidate sizes
A regression uses n=32 observations and estimates p=4 coefficients including the intercept. If SSE=96 kg2, what is the residual mean square MSE?