Cook's distance
Cook's distance measures how much all fitted regression coefficients change when one observation is deleted, combining leverage and residual size. Values exceeding 1, or the more conservative 4/n, flag potentially influential observations.
FrameworkInfluential observations
See it move
Cook's distance measures how much every fitted coefficient would shift if one observation were dropped, combining that point's leverage with the size of its residual into a single influence score. A value of Dᵢ above 1 — or the stricter 4 divided by n — flags a point worth investigating rather than deleting automatically, since it may reveal a genuine pattern the model is missing.
The formula
Variables
- Cook's distance for observation i (dimensionless)
- n-vector of fitted values from the model estimated without observation i (units of y)
- n-vector of fitted values from the full model (units of y)
- number of parameters in the model including the intercept (dimensionless)
- mean squared error from the full model ((units of y)²)
Observations with Dᵢ > 1, or the more conservative threshold Dᵢ > 4/n, are flagged as potentially influential. High influence combines high leverage with a large residual.