- Introduced by
- R. Dennis Cook (Cook's distance); Belsley, Kuh & Welsch (DFFITS, leverage)
- Year
- 1977
- Type
- Regression diagnostic
What does it do?
Influence diagnostics are post-fit measures that quantify how much each individual observation affects a fitted regression.
Cook's distance was introduced by R. Dennis Cook in 1977; leverage and DFFITS are standard measures from the same family. Together they flag observations that strongly pull the fitted values and, in the case of Cook's distance, the estimated coefficients.
The intuition behind the method
After fitting a regression line, a natural question is whether any single data point is steering the result. These diagnostics answer it by asking, for each observation, how different the fit would be if that point were removed. Leverage measures how unusual a point is in the predictor space. Cook's distance and DFFITS combine that position with the size of the residual, because a point far from the centre of the predictors changes the line substantially only if it also sits far from the fitted line. Outliers and influential observations are not the same thing: an outlier lies away from the rest of the data, an influential observation has a large impact on the estimates, and a point can be one without being the other. A large value marks an observation to inspect before trusting the model.
History
R. Dennis Cook introduced his distance measure in a 1977 Technometrics paper. It judges the contribution of each data point to the least squares estimate of the parameter vector in full-rank linear regression, using confidence ellipsoids and combining information from studentized residuals with the variances of residuals and predicted values. Leverage, DFFITS and related measures are standard diagnostics for influential data and collinearity, treated systematically in the regression-diagnostics literature.
When to use it
Use influence diagnostics after fitting a linear regression, once residuals and leverage can be computed, to check whether the conclusions rest on a few observations. They apply to continuous outcomes and require a fitted linear model. They are a screening step, not a final model: they show which points matter but do not choose a model or correct for the points they flag. With very small samples, and when several high-leverage points sit close together, treat the values as provisional, because the standard measures become less reliable in those cases.
Limitations and considerations
- In very small samples, Cook's distance and leverage values are provisional and should be read with caution.
- Several high-leverage points that lie close together can mask one another, so removing points one at a time underestimates their joint influence.
- The diagnostics flag influential points but do not decide whether to keep, transform or remove them.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Identifies which individual observations drive the fitted coefficients and fitted values, rather than giving only an overall fit statistic.
- The measures are computed from the fitted residuals and the hat matrix, so calculating them does not itself require normally distributed errors; only formal cut-offs drawn from reference distributions assume approximate normality.
- Cook's distance combines residual information with the variances of residuals and predicted values, as Cook's 1977 abstract describes, while leverage gives the predictor-space position and DFFITS the effect on a single fitted value; together they offer complementary views of the same fit.
Applications
- Checking whether a regression's coefficients depend on a few influential observations before reporting results.
- Screening data for high-leverage or outlying cases during model criticism and quality control.
- Deciding when a robust regression method is warranted because ordinary least squares is being distorted by influential points.
How it works
How it works
Each observation gets a leverage value h_ii, the i-th diagonal element of the hat matrix X(XᵀX)⁻¹Xᵀ. Leverage measures how far the observation lies from the centre of the predictor cloud; high-leverage points have unusual X-values and can move the fitted line.
Formula
h_{ii} = x_i^{\top}(X^{\top}X)^{-1}x_iCook's distance D_i combines the observation's residual e_i with its leverage h_ii to summarise, in one number, how much the fitted values shift when that point is deleted. Here p is the number of regression parameters including the intercept, and s² is the residual mean square from the fit to the full data. DFFITS is a standardised measure of the change in the i-th fitted value when observation i is deleted, scaled by an estimate of the residual standard deviation and the square root of the leverage. Observations with large D_i or DFFITS values are flagged as potentially influential and are examined individually.
Formula
D_i = \frac{e_i^{2}}{p\,s^{2}}\cdot\frac{h_{ii}}{(1-h_{ii})^{2}}Common pitfalls
- Deleting flagged observations automatically. A large Cook's distance marks a point for inspection; it may be a data error, a genuine rare case, or a sign of model misspecification.
- Relying on one-at-a-time deletion when masking by several high-leverage points is plausible. In that situation a robust regression estimator is a more suitable response than repeated single deletion.
- Over-interpreting Cook's distance or leverage values from a very small sample, where they are provisional.
- Looking only at residuals and ignoring leverage, which misses high-leverage points whose residuals are small because the fitted line has been pulled toward them.
Frequently asked questions
What counts as a large Cook's distance?
No single cut-off applies to every data set, and any threshold is a guide rather than a verdict. Judge a flagged value against the rest of the sample and inspect that observation before deciding anything about it.
What is the difference between leverage and influence?
Leverage measures how unusual an observation's predictor values are, regardless of its outcome. Influence (Cook's distance, DFFITS) measures how much the fitted model actually changes when the point is removed, combining leverage with the size of the residual. A high-leverage point is only influential if it also sits far from the fitted line.
Should I delete observations flagged as influential?
Not automatically. Flagging is a screening step: investigate whether the point is a data error, a genuine but rare case, or a sign of model misspecification. If influential points are pervasive, a robust regression method is usually a better response than deletion.
Do these diagnostics require normally distributed errors?
Computing the measures does not itself require normally distributed errors, because they are built from the fitted residuals and the hat matrix. Formal cut-offs drawn from reference distributions, however, assume approximately normal errors.
Related methods
Sources
Cook, R. D. (1977). Detection of Influential Observations in Linear Regression. Technometrics, 19(1), 15-18.
Open DOI referenceBelsley, D. A., Kuh, E., & Welsch, R. E. (1980). Regression Diagnostics: Identifying Influential Data and Sources of Collinearity. Wiley.
ISBN: 978-0471058564Handbook of Statistics, Vol. 11: Econometrics, Section I (Introduction), p. ?