Cook's Distance
A single number attached to each observation in a regression that measures how much the fitted line would move if that one point were deleted — the standard tool for flagging influential outliers.
Prerequisites: Standard Deviation
A point can be a statistical outlier — far from the other data — without changing the regression line at all, if it sits close to where the line already predicts. Cook's distance answers a more useful question: how much would every fitted value in the regression shift if this one observation were removed and the model refit? It combines two things that each matter separately but do the real damage only together: how far the point's -value sits from the center of the other 's (its leverage), and how badly the model mispredicts it (its residual). A point with high leverage and a small residual, or a large residual at low leverage, produces only a modest Cook's distance; a point with both is the one dragging the whole fitted line toward itself.
A common rule of thumb flags any observation with Cook's distance above (where is the sample size) for closer inspection — not automatic deletion. With , that threshold is ; a company-quarter observation coming in at is flagged as unusually influential and worth checking for a data error or a genuine one-off event before deciding whether to keep it in the sample.
Cook's distance measures how much a regression's fitted values would change if one observation were dropped, combining leverage (how unusual its predictor is) and residual size (how badly it's mispredicted) — high values flag points worth investigating, not automatically removing.
Related concepts
Practice in interviews
Further reading
- Cook, 'Detection of Influential Observation in Linear Regression', Technometrics 1977