Model Validation & Selection
Closing the identification loop: is the model good, and how complex should it be? The whiteness (Anderson) test on the residual with its confidence band, the cross-correlation test for the input path, and the FPE / AIC / MDL criteria and cross-validation for choosing the model order.
01 · Core
The whiteness (Anderson) test
The whole course reduces to one check: is the residual white? A good model leaves a prediction error with no structure left in it. The Anderson test makes “no structure” quantitative.
The band drawn there is \pmeta/\sqrt{N}=\pm0.098 at . It narrows as data accumulates — more data, a stricter test.
Take the residual of the identified model and form its sample normalised autocorrelation . Under the null hypothesis that is white, for large each nonzero-lag value is approximately Gaussian:
Compute the residual autocorrelations
From the residual sequence, estimate for (a few dozen lags).
Draw the band
Plot the band around zero — narrower with more data, since it scales as .
Read the verdict
If (almost) all fall inside the band, the residual is compatible with white noise — the model is validated. If several exceed it, the residual is still correlated: the order is too low, the structure inadequate, or dynamics were missed.
"Illustrate the whiteness / Anderson test"
This is one of the most frequent open-ended questions (July 2026 Problem 4.2, June 2025, and more). A full answer: why the residual must be white, the statistic , the distribution , the band , and the decision rule. Write it as a self-contained procedure.
A companion is the cross-correlation test: the residual should also be uncorrelated with past inputs, . If it is not, the input-to-output path () is mis-modelled even if the noise path looks fine.
02 · Selection
Choosing the model order
A bigger model always fits the training data better — the residual variance decreases monotonically with the number of parameters . So you cannot pick the order by alone; you need a criterion that penalises complexity.
FPE — Final Prediction Error
— inflates the residual variance by an over-fit factor. Minimise over .
AIC — Akaike
— a fit term plus a penalty.
MDL — Rissanen
— a heavier penalty ( for ).
AIC over-selects; MDL is consistent
Because for any realistic , MDL penalises complexity more than AIC, so it picks smaller orders — and it is consistent (it selects the true order as ), whereas AIC tends to over-parameterise. If two criteria disagree, that difference is the reason. A common exam ask is to state all three and compare AIC vs MDL.
03 · Alternative
Cross-validation
The criteria above are cheap but assume the noise model. Cross-validation instead measures generalisation directly: split the data into a training set (fit by prediction-error minimisation) and a validation set (held out), and score the model by its prediction error on the unseen validation data. This simulates real forecasting — learn from the past, predict the future.
Which tool when
- Cross-validation — the most direct generalisation estimate, but needs enough data for both splits and is costlier.
- Whiteness test — a diagnostic that the dynamics were captured, but not a direct accuracy measure.
- FPE / AIC / MDL — closed-form, no held-out set; ideal when data are too scarce to split.
In practice they are combined: a criterion proposes an order, the whiteness test confirms the residual, and cross-validation checks it generalises.
AIC and MDL disagree on the order of your model — AIC picks 5, MDL picks 3. Which is more likely to have over-parameterised, and why?
Load-bearing ideas
- Whiteness (Anderson) test: the residual autocorrelation must lie inside the band ; exceedances mean leftover dynamics. The cross-correlation test checks the residual against past inputs.
- Order selection: falls monotonically with , so penalise complexity — FPE , AIC , MDL . MDL penalises more, is consistent; AIC over-selects.
- Cross-validation measures generalisation directly on held-out data; combine all three in practice.
Exam radar. The Anderson-test open answer (statistic + band + rule) and the FPE/AIC/MDL comparison are near-guaranteed. Keep the band and the AIC-over-selects / MDL-consistent contrast ready.