Residual Diagnostics · Foundational

Residual Plots Reveal How a Model Fails

How residual patterns expose curvature, unequal variance, dependence, and unusual observations.

A residual is the observed response minus its fitted value: ei=yiy^ie_i=y_i-\hat y_i. Residuals are what the model leaves behind, so their structure is evidence about what the model missed.

Residuals versus fitted values

Plot eie_i against y^i\hat y_i. Curvature suggests a missing nonlinear term. A funnel shape suggests changing error variance. Separate bands can reveal an omitted group variable.

Order and quantile plots

Plot residuals in time or collection order to find drift, cycles, or dependence. A normal quantile plot checks whether the residual distribution is compatible with normal-based intervals and tests; departures in the tails often matter most.

Unusual observations

Large residuals indicate responses poorly predicted by the model. High-leverage points have unusual predictor values. Influential points materially change the fit when included. These are different properties and should be investigated separately.

Connect each pattern to a violated claim

Residual analysis is strongest when each plot is tied to a model assumption:

PatternLikely issuePossible next step
U-shaped meanmissing curvatureadd a justified nonlinear term
fan-shaped spreadnonconstant variancetransform, weight, or model variance
runs over timedependent errorsmodel temporal structure
isolated large residualunusual responseverify and assess influence

Standardized residuals and leverage

Raw residuals have unequal variances when leverage differs. Internally studentized residuals divide by an estimated standard deviation involving 1hii1-h_{ii}. Cook’s distance combines residual size and leverage to approximate how much the fitted coefficients change when an observation is removed.

Check your understanding

Why might a point with a modest residual still be influential?

Show the reasoning

If its predictor values give it high leverage, it can pull the fitted model toward itself, making its own residual look modest while substantially changing coefficients and other predictions.

Continue exploring

Connections

Related concepts

Coefficient of DeterminationR² Measures Explained Sample VariationLeast SquaresLeast Squares Finds the Closest ModelRMSERMSE Expresses Typical Error in Response Units

Applications

  • model checking
  • regression diagnostics