Residual analysis
Checking a regression, ANOVA or DOE model by looking at what it leaves unexplained.
A model is only as good as its assumptions. Residuals, the differences between observed and fitted values, show whether those assumptions hold.
The four standard plots
- Normal probability plot: points near a line. Curvature means non-normal errors; isolated points off the line mean outliers.
- Residuals versus fitted values: a random band around zero. A funnel means non-constant variance; a curve means a missing term.
- Histogram: roughly bell-shaped.
- Residuals versus run order: no trend or cycles. A pattern here means something drifted during the study, such as tool wear or warm-up.
Influential points
Some points pull the fit strongly. Leverage measures how unusual a point's inputs are; Cook's distance measures how much the fit changes without it. Investigate influential points; do not delete them without a reason.
Fixing problems
- Curvature: add a squared term or interaction.
- Funnel: a transformation of the response.
- Trend in run order: find what changed, and randomize future runs. See Randomization and blocking.
In RS-1
Regression > Residuals draws the four-in-one plot for regression, ANOVA and DOE models.
See also
References
- Montgomery, D. C., Peck, E. A., and Vining, G. G. Introduction to Linear Regression Analysis. Wiley.