Diagnostics: reading residuals, leverage and influence
REG · Chapter 412 min readAsked at Two Sigma, Citadel, QuantCo, AQR
Assumes Gauss–Markov: what each assumption buys and what breaks it.
After this lesson you should be able to
- Diagnose a model from its residual plots.
- Distinguish leverage, outlier and influence.
- Say what each diagnostic can and cannot detect.
A regression output is four numbers and a great deal of hidden behaviour. The diagnostics exist to surface that behaviour, and each one detects a specific failure — which means knowing what a plot *cannot* reveal is as useful as knowing what it can.
| Plot | Looks for | A problem looks like |
|---|---|---|
| Residuals against fitted | Non-linearity, heteroskedasticity | Curvature, or a widening fan |
| Residuals against each regressor | A missing transformation | Structure in one variable only |
| Q-Q plot of residuals | Non-normality | Heavy tails curving away at the ends |
| Residuals against time or order | Autocorrelation, regime change | Runs of the same sign |
| Scale–location | Heteroskedasticity specifically | A trend in the spread |
| Residuals against leverage | Influential points | A point outside the Cook’s distance contour |
Definition 4.2
Leverage, outlier, influence
Three different things, — A high-*leverage* point is unusual in — far from the centre of the regressors. An *outlier* has a large residual, unusual in given . A point is *influential* only when it is both: unusual in and not on the line the rest of the data describe. The diagonal of the hat matrix measures leverage, and the rule of thumb is that above is worth a look.
Why influence needs both. A point in the middle of the data with a large residual barely moves the fit — there is plenty of other data at that to hold the line in place. A point far out in but sitting exactly on the trend also changes nothing; it simply confirms it, with a lot of weight. It is the combination that does damage: a far-out point off the line pivots the whole regression toward itself, and can single-handedly create or destroy a coefficient. Cook’s distance is exactly the product of the two ingredients, which is why it is the statistic that matters.
Equation 4.3
Cook’s distance
How much the fitted values move when observation is deleted — residual size times leverage.
- The residual: how much of an outlier the point is in .
- The leverage: how unusual it is in .
The rest of this lesson is in Premium
You have read the opening. 10 more sections follow, including 4 worked examples and 3 quick checks.
Nothing is charged for 7 days, and you can cancel before then. Or read The law of large numbers and the central limit theorem in full, free.