The Engineering Desk
From the makers of RS-1

DesignSimulations and MathematicsLibrary

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

In RS-1

Regression > Residuals draws the four-in-one plot for regression, ANOVA and DOE models.

See also

References

  1. Montgomery, D. C., Peck, E. A., and Vining, G. G. Introduction to Linear Regression Analysis. Wiley.

More in Simulations and Mathematics