Program data and common statistics

What Does Residual Mean?

A residual is the difference between an observed value and the value predicted by a fitted model, usually calculated as observed minus predicted. A positive residual then means the model predicted too low for that observation; a negative residual means it predicted too high.

In practice

How Residual works in context

  1. Why it matters

    Why does Residual matter?

    Examining residuals can reveal patterns a summary measure hides, such as curvature, unequal spread, or observations the model predicts poorly. A pattern suggests the model may need further checking, but it does not by itself identify a cause or prove a particular missing variable.

  2. Worked example

    What does Residual look like in practice?

    A model predicts 72 examination points for a resident who scores 78. Under the usual observed-minus-predicted convention, the residual is +6 points. If residuals become systematically positive at high prior scores, an analyst checks model shape and omitted predictors; the plot alone cannot establish which explanation is correct.

  3. Commonly confused terms

    What is Residual commonly confused with?

    A residual is a prediction error for an observed data point, not necessarily a measurement error or an unexplained causal effect. In-sample residuals are also different from prediction errors on new data: a model can fit its training set well and still perform poorly elsewhere.

Interpretation guide

Use Residual accurately

What the term tells you

Confirm the model's residual definition and units, then plot residuals against fitted values, key predictors, and relevant groups. Look for systematic shape, changes in spread, and influential observations. Check model assumptions and evaluate predictions on appropriate new or held-out data when the goal is forecasting. Do not claim one residual pattern proves a specific cause.

Plot residuals against fitted values, time and important predictors. A pattern can show a missing curve or changing variance even if the mean residual looks close to zero in a linear regression.

Common mistakes

Reversing the sign

State the subtraction convention before calling a prediction too high or too low.

Calling a residual a cause

A prediction gap does not identify why the model missed.

Treating good in-sample fit as external accuracy

Evaluate prediction on suitable held-out or new data.

Assuming a pattern proves one omitted variable

Investigate several plausible model and measurement explanations.

Reader checklist

Questions to ask about Residual

  1. Is the residual defined as observed minus predicted?
  2. What are its units and sign?
  3. Is there a pattern against fitted values or key predictors?
  4. Are some observations influential?
  5. How does the model perform on data not used to fit it?

Resources

Use these tools and guides for your next step. References below identify the evidence supporting this definition.

Check the source2 resources

Editorial

References
  1. 01Validate the Fitted ModelSupports: Uses residual plots to evaluate systematic departures between observed and fitted values.National Institute of Standards and TechnologyVerified
  2. 02NIST Handbook, model fit and graphical residual analysisSupports: NIST defines response residuals as observed minus predicted and shows graphical checks for model fit.NISTVerified
  3. 03NIST Handbook, checking residual patternsSupports: The residual diagnostics examples identify curvature and unequal spread that can signal model problems.NISTVerified