Lesson 3.6 · 8 min read · about 50 min to master at a very slow pace

Residuals and Regression Assumptions

The assumptions behind OLS inference, and how residual plots reveal curvature, non-constant variance, autocorrelation and outliers. How to describe a residual plot in an exam.

Not startedJump to quiz

The assumptions

OLS fitting needs no assumptions: it just minimises RSS. But standard errors, p-values and confidence intervals (3.8) rely on assumptions about the noise :

  • Mean zero at every (the linear form is right, nothing systematic is missing).
  • Constant variance (homoskedasticity).
  • Independence between observations.
  • Roughly normal, for exact t-tests in small samples.

We can't see , but residuals are our estimates of it. The main tool is a plot of residuals against fitted values.

Reading residual plots

Random cloud, constant width: assumptions look reasonable.
U-shape: missing curvature. Try adding .
Fan: spread grows with the fitted value (heteroskedasticity).
What you seeWhat it suggestsWhat you might do
Random cloud around 0, constant widthAssumptions look reasonableProceed (this isn't proof)
Curve or systematic patternNonlinearity or missing featuresAdd , interactions, new predictors
Fan: spread grows with fitted valueHeteroskedasticity (non-constant variance)Transform (e.g. log), weighted least squares. SEs and p-values are unreliable.
Waves or runs of same-sign residuals over timeAutocorrelation (time dependence)Time-series methods
Heavy tails or extreme points in a Q–Q plotNon-normal errors, outliersInvestigate outliers; robust loss

A Q–Q plot compares the residuals' quantiles with those of a normal distribution. Points along the diagonal mean "approximately normal"; curling away at the ends means heavy tails.

Wording that earns marks

Describe the pattern, name the assumption it challenges, and suggest a possible cause or action. For example: "The residuals fan out as fitted values increase, suggesting non-constant variance; standard errors may be unreliable; consider modelling log(Y)." A plot never proves anything.

Cheatsheet

Residual plot patterns

Random cloud → OK. Curve → missing nonlinearity. Fan → heteroskedasticity. Waves in time → autocorrelation. Heavy tails → outliers / non-normal.

OLS noise assumptions

Mean zero · constant variance · independent · (roughly normal for t-tests).

See every cheatsheet by category →

Check your understanding

Score 75% or more to master this lesson and earn XP. Answer first, then check.

Q1interpretA plot of residuals against fitted values shows a clear U-shape. What does it suggest?
Q2interpretThe spread of the residuals triples as the fitted values increase. What is the issue, and what does it affect?
Q3interpretResiduals from a model of monthly sales, plotted in time order, show long runs of positive values followed by runs of negative ones. What's the likely issue?
Q4diagnoseA colleague says: "My residual plot looks fine, so the model must be correct." What's the best response?
Q5conceptDoes fitting OLS (computing ) require normally distributed errors?