15.8. Residual analysis