Concept Architecture
Cook's Distance in Health Cost and Outcome Regressions
Cook's distance gives each record in a fitted regression one number, showing how far the fitted model would move if that record were left out. In health economics this matters because cost data are skewed and a few very expensive patients can shift a mean cost or a cost-effectiveness result. A flagged patient calls for investigation before any deletion, and when the record is valid the usual advice is to report the analysis with and without that patient.
Unusual outcomes, unusual predictors and influence
Three properties of an observation are often confused. An outlier has an outcome far from its predicted value, so its residual is large. An observation with unusual predictor values, such as a patient with far more chronic conditions than anyone else, has a large hat value. Influence is a third idea, the extent to which the fitted model itself changes when the observation is removed.
The three need not coincide. Penn State's regression course shows an outlying outcome with ordinary predictor values, and an extreme predictor value that follows the trend, each barely moving the fitted line, while a point that is both changes the estimates substantially. NIST's regression diagnostics guidance adds that points with unusual predictor values tend to have small residuals, so residual checks alone often miss them. Cook's distance combines the two features in one deletion-based measure.
Two equivalent ways to compute the statistic
The statistic is named after R. Dennis Cook, whose 1977 paper in Technometrics introduced it. The definition compares the fitted values from the full ordinary least squares fit with those from the same model refitted without observation . Squared differences are added across every observation and then scaled, as follows.
where is Cook's distance for observation , is the number of observations, is the fitted value for observation from the full model, is the fitted value for observation after observation has been deleted and the model refitted, is the number of estimated coefficients including the intercept and is the residual mean square of the full model. Since fitted values are the design matrix times the coefficients, the same quantity is also a scaled distance between the full and the deletion coefficient vectors, as the Stata documentation describes it.
No refitting is needed in practice. For a linear model fitted by least squares, the result can be written with quantities from the full fit alone, the form printed by NIST, Penn State and Stata.
where is the ordinary residual of observation , is its observed outcome and is its hat value, the th diagonal element of the hat matrix with the design matrix, lying between 0 and 1. The second factor grows steeply as approaches 1, so a patient with a small residual can still have a large distance.
Why skewed cost data make influence a health economics question
Cost data in economic evaluation are usually skewed, with a minority of patients incurring very large costs. Thompson and Barber, writing in the BMJ on pragmatic trial costs, argue that despite this skew the arithmetic mean is the informative measure, because a total budget for treating all patients is the arithmetic mean multiplied by the number treated. Any single patient who moves the mean therefore moves the budget estimate as well.
A review of statistical methods for healthcare costs by Mihaylova and colleagues regards apparent cost outliers as part of the true distribution of costs. It recommends checking that answers are not unduly influenced by a few very large outlying costs, and cautions that log transformation and lognormal models may be non-robust to outliers. Cook's distance is a direct way to make that check for a regression.
The same reasoning extends to cost-effectiveness. Net-benefit regression, set out by Hoch, Briggs and Willan, uses the net benefit framework to place the cost-effectiveness problem within a standard regression, which opens it to established econometric techniques. When such a model is fitted by least squares, Cook's distance can show whether one participant's costs or outcomes are moving the fitted model, including the estimated treatment effect.
Worked example with six patients and one complex case
The data in this example are illustrative. Six patients in a disease registry have between 0 and 10 chronic conditions, and annual healthcare cost in GBP thousand is regressed on the number of conditions by ordinary least squares. The sixth patient has 10 conditions, far more than anyone else, and costs GBP 9,000.
Step 1. Fit the full model. The mean number of conditions is and the mean cost is . The sums of squares and cross-products about the means are and , so the slope and intercept are as follows.
where is the estimated extra annual cost per additional condition in GBP thousand and is the estimated cost for a patient with no conditions. Each additional condition adds about GBP 695 a year. The residual sum of squares is 0.9316 on degrees of freedom, so .
Step 2. Compute residuals, hat values and distances. For a model with one predictor the hat value is . The results for all six patients are shown below.
| Patient | Conditions | Cost (GBP thousand) | Fitted | Residual | Hat value | Cook's distance |
|---|---|---|---|---|---|---|
| 1 | 0 | 2 | 2.184 | -0.184 | 0.342 | 0.058 |
| 2 | 1 | 3 | 2.879 | 0.121 | 0.253 | 0.014 |
| 3 | 2 | 3 | 3.574 | -0.574 | 0.195 | 0.212 |
| 4 | 3 | 5 | 4.268 | 0.732 | 0.168 | 0.280 |
| 5 | 4 | 5 | 4.963 | 0.037 | 0.174 | 0.001 |
| 6 | 10 | 9 | 9.132 | -0.132 | 0.868 | 1.864 |
For patient 6 the hat value and distance are as follows.
where is the hat value of patient 6, 10 is that patient's number of conditions and 63.33 is .
where 0.1316 is both the absolute residual and for this patient, so the two cancel. Patient 6 has a small residual yet by far the largest distance. Patient 4 has the largest residual, 0.732, but a distance of only 0.280 because that patient's number of conditions is close to the mean.
Step 3. Check by refitting without patient 6. The remaining five patients give , , and , so the slope becomes 0.8 and the intercept . The reduced model predicts for patient 6, against an observed 9, so the full model had been pulled most of the way towards that patient. The squared changes in the six fitted values sum to 0.8684, and dividing by 0.4658 again gives 1.864.
Step 4. Interpret the result. Removing patient 6 raises the estimated cost of each additional condition from GBP 695 to GBP 800 a year and lowers the sample mean cost from GBP 4,500 to GBP 3,600. Patient 6 is also the only evidence about costs above four conditions, so without that patient any prediction for complex patients would rest on extrapolation of a line fitted to simpler cases. The estimate depends on one record, which is not the same as that record being wrong.
Reading the size of the value
Several cut-offs are in circulation, and they do not agree. Each is a screening rule for deciding which records to examine, not a test that a record is invalid.
- Penn State's course treats a value above 0.5 as worth further investigation, a value above 1 as quite likely influential, and a value that stands well apart from the rest as almost certainly influential.
- Stata's regress documentation, following Bollen and Jackman, suggests examining values above 4 divided by , which for the example is 0.667.
- NIST and Penn State relate the value to the F distribution with and degrees of freedom. A value near or above the 50th percentile indicates substantial influence, and one below about the 10th or 20th percentile indicates little. In the example, 1.864 lies at about the 73rd percentile of F with 2 and 4 degrees of freedom.
Every rule flags patient 6 alone. In large data sets 4 divided by becomes tiny and flags many records, while a threshold of 1 may flag none. Within wider model diagnostics, the better test is whether the decision-relevant estimate moves when the records that stand apart are omitted.
What an analyst should do with an influential patient
A flagged record calls for investigation, with deletion only one outcome. Penn State's recommended strategy begins with errors. A data entry error should be corrected, a record from outside the intended study population or invalidated by a procedural error may be removed, and no point should be deleted merely because it does not fit the preferred model.
The next question is whether the model is wrong for the data. An omitted predictor, a missing interaction or an unmodelled nonlinear relation can make valid patients look influential; in the example, a cost curve that steepens with many conditions might fit patient 6 without strain. Any change of model should follow the scientific question, not a wish to make the diagnostic disappear.
When the patient is valid and the answer depends on that patient, Penn State recommends analysing the data with and without the point and reporting both, which in an economic evaluation is a sensitivity analysis on influential records. Dropping a genuinely expensive patient because the patient changes a cost-effectiveness conclusion would change the population the estimate describes.
Beyond ordinary least squares
The formulas above apply to ordinary least squares. Cost models are often fitted instead as a generalised linear model, commonly with a log link and a gamma specification, where the deletion idea has to be approximated. R's stats documentation states that its values for such models are approximations following Williams that can be poor when some cases have large influence, so a direct refit without the flagged patients is a sensible check.
Grouped data differ. Patients clustered within hospitals, as in a hierarchical model, can be influential as a group, and deleting one patient asks a different question from deleting a whole hospital. Single-case deletion has a related blind spot, since with two similar extreme patients, removing either alone leaves the other to hold the fit in place.
Cook's distance beside related diagnostics
Each regression diagnostic answers a narrower question, so Cook's distance is best read with the others. The table shows the division.
| Diagnostic | Question it answers |
|---|---|
| Standardised residual | Is this outcome far from its fitted value, relative to typical residual variation |
| Hat value | Are this observation's predictor values unusual for the design |
| DFFITS | How much does this observation's own fitted value change when it is deleted |
| DFBETAS | How much does each individual coefficient change when the observation is deleted |
| Cook's distance | How much do all fitted values, or the whole coefficient vector, change together |
| Collinearity diagnostics | Are predictors so closely related that coefficients are unstable, a design problem |
NIST describes DFBETA as similar to Cook's distance except that it assesses influence on each individual parameter rather than on the parameters as a whole. In a cost regression where only the treatment coefficient matters for the decision, DFBETAS for that coefficient is often the more relevant check, and Cook's distance serves as the overall screen.
Limitations and common misreadings
A large Cook's distance shows that the fitted model is sensitive to one record under its current specification. It does not show that the record is an error or should be excluded. Small distances for every patient do not establish a correct model either, since a wrong functional form, unmodelled clustering or selection bias can leave each distance modest.
The statistic is tied to the fitted model and sample, so computing it on different rows from the reported analysis gives misleading values. The rules of thumb have no calibrated error rates. They pick records for scrutiny, and the decision about each record rests on its provenance and its effect on the estimate that informs the decision.
Sources
- Cook RD. Detection of influential observation in linear regression. Technometrics. 1977;19(1):15-18. https://doi.org/10.1080/00401706.1977.10489493
- Hoch JS, Briggs AH, Willan AR. Something old, something new, something borrowed, something blue: a framework for the marriage of health econometrics and cost-effectiveness analysis. Health Economics. 2002;11(5):415-430. https://doi.org/10.1002/hec.678
- Mihaylova B, Briggs A, O'Hagan A, Thompson SG. Review of statistical methods for analysing healthcare resources and costs. Health Economics. 2011;20(8):897-916. https://doi.org/10.1002/hec.1653
- NIST. Dataplot Reference Manual, Regression Diagnostics. National Institute of Standards and Technology; last updated 2023. https://www.itl.nist.gov/div898/software/dataplot/refman1/auxillar/regrdiag.htm
- Penn State Eberly College of Science. STAT 501 Regression Methods, Lesson 11 Influential Points, sections 11.5 and 11.7. Accessed 10 October 2026. https://online.stat.psu.edu/stat501/Lesson11
- R Core Team. influence.measures, Regression Deletion Diagnostics. R package stats, version 4.6.1; 2026. https://search.r-project.org/R/refmans/stats/html/influence.measures.html
- StataCorp. regress postestimation, Postestimation tools for regress. Stata Base Reference Manual, Release 19. College Station, TX: Stata Press; 2025. https://www.stata.com/manuals/rregresspostestimation.pdf
- Thompson SG, Barber JA. How should cost data in pragmatic randomised trials be analysed? BMJ. 2000;320(7243):1197-1200. https://doi.org/10.1136/bmj.320.7243.1197
Related Concepts (3)
Library
Publications
3
STAT 501 Regression Methods, Lesson 11 Influential Points, sections 11.5 and 11.7 — Penn State Eberly College of Science, Web page, accessed 10 October 2026 ed., 2026 (Penn State Eberly College of Science)
Source listed in the Sources of the HealthEconomics.wiki Concept Architecture article on Cook's Distance, where it is cited as a reference for that concept.
Web (Open Access)View source →Detection of influential observation in linear regression — Cook RD, Vol. 19, No. 1, pp. 15-18 ed., 1977 (Technometrics)
Journal article listed in the Sources of the HealthEconomics.wiki Concept Architecture article on Cook's Distance, where it is cited as a reference for that concept.
Journal ArticleView source →Statistical Analysis of Cost-Effectiveness Data — Willan & Briggs, 1st Edition ed., 2006 (John Wiley & Sons)
A synthesis of statistical methods for analysing cost-effectiveness data, including net-benefit regression, confidence intervals for the ICER, cost-effectiveness acceptability curves, and covariate adjustment. Part of the Wiley Statistics in Practice series.
BookView source →
Tools & Resources
2
Dataplot Reference Manual, Regression Diagnostics — NIST, 2023 (NIST)
Source listed in the Sources of the HealthEconomics.wiki Concept Architecture article on Cook's Distance, where it is cited as a reference for that concept.
Web (Open Access)View source →influence.measures: Regression Deletion Diagnostics — R Core Team, Version 4.6.1 ed., 2026 (R documentation, stats package)
Source listed in the Sources of the HealthEconomics.wiki Concept Architecture article on Cook's Distance, where it is cited as a reference for that concept.
Web (Open Access)View source →
Frequently Asked Questions (6)
What is Cook's distance?
Cook's distance is a regression diagnostic measuring how much all fitted values change when one observation, such as one patient's cost record, is removed.
Source: Penn State Eberly College of Science 2026
What does Cook's distance identify in a regression?
Cook's distance identifies observations that exert an outsized influence on a regression's estimated coefficients, by measuring how much the fitted model would shift if a given point were removed. A large value marks a case that, on its own, pulls the results noticeably, whether because it is extreme in its predictors, its outcome, or both. Flagging such points prompts a check of whether they are errors, genuine outliers, or unduly shaping the conclusions. Spotting overly influential observations is its purpose. Kirkwood and Sterne (2003) describe this diagnostic.
Source: Kirkwood & Sterne 2003
How is Cook's distance calculated?
Cook's distance for an observation is calculated from the change in all the fitted values that results from omitting that observation, scaled by the number of parameters and the error variance; equivalently, it combines the observation's residual with how far its predictor values lie from the others, so that a point with both a large residual and unusual predictor values receives a large Cook's distance. So Cook's distance is calculated as a summary of how much the fitted values shift when a case is removed, integrating the size of its residual and how extreme its predictor values are into one measure, which allows the overall influence of each observation on the regression to be quantified and compared.
Source: Cook 1977
How is Cook's distance interpreted?
Cook's distance is interpreted by its size relative to the other observations and to rough thresholds, with larger values indicating greater influence; observations with notably high Cook's distance are examined as potentially influential. Various rule-of-thumb cut-offs exist, but these are guides rather than strict rules. So Cook's distance is interpreted by flagging observations whose values are large compared with the rest, marking them as influential cases warranting scrutiny, and rather than automatically removing such points, the analyst investigates why they are influential, since a high Cook's distance signals that a single observation is strongly affecting the regression results.
Source: Cook 1977
Why is Cook's distance useful?
Cook's distance is useful because a single influential observation can distort a regression, pulling the estimated coefficients and fitted values, and identifying such points allows the analyst to check whether the results depend unduly on a few cases. This supports robust and honest modelling. So Cook's distance is useful for detecting observations that exert excessive influence on a regression, prompting investigation of whether they are errors, unusual but valid cases, or points that unduly drive the conclusions, which helps ensure that a fitted model reflects the general pattern in the data rather than being dominated by a small number of influential observations.
Source: Cook 1977
What should be done about influential observations identified by Cook's distance?
Observations flagged by Cook's distance should be investigated rather than automatically deleted: the analyst checks whether they result from data errors, represent unusual but legitimate cases, or reveal model inadequacy, and considers the sensitivity of conclusions to their inclusion. Removal is justified only for genuine errors or with clear rationale. So influential observations identified by Cook's distance are examined to understand why they are influential and how much they affect the results, with the response depending on the cause, since discarding valid data merely because it is influential can bias the analysis, whereas retaining an erroneous point can distort it.
Source: Cook & Weisberg 1982
Trust Record
Verified by Dr Darrin Baines
British health economist
Professional identity: darrinbaines.org
Verification date: 10 Oct 2026
Content version: 1.0.1
Canonical Identity
- Persistent URI
- https://healtheconomics.wiki/concept/cooks-distance
- Term code
- HE-ES-SA-036
- Wikidata
- Q5166872
Stable URI · Machine-readable · Resolvable · CC BY 4.0
