Author-reviewedEvidence: highv1.0.1

Confounder

A confounder is a variable, such as disease severity, that affects both the treatment a patient receives and the outcome, biasing unadjusted comparisons.

Status
Published, version 1.0.1
Last reviewed
27 Oct 2026, by Dr Darrin Baines
Report a problem
Tell us if something is wrong or out of date

Concept Architecture

Confounders as the Common Causes Behind Biased Treatment Comparisons

A confounder is a pre-treatment characteristic, such as disease severity, age or comorbidity, that shapes both which treatment a patient receives and how that patient fares, so that a crude comparison of treated and untreated groups mixes the effect of the treatment with the effect of the characteristic. Adjusting for the right variables, and avoiding the wrong ones, is what allows a treatment effect, cost difference or utility gain estimated from non-randomised data to be read causally. In health economics this matters whenever registry, claims or health record data supply parameters for a cost-effectiveness analysis or a health technology assessment. In the worked example below, adjusting for severity reverses the sign of an incremental admission cost. The bias itself, confounding, has its own page.

From association criteria to a causal definition

Epidemiology long described a confounder by its associations. VanderWeele and Shpitser summarise the traditional view, as a pre-exposure variable associated with the exposure and also with the outcome conditional on the exposure. Developments in causal inference showed this to be inadequate, because some pre-exposure variables associated with both exposure and outcome introduce bias when they are controlled for.

The modern starting point is the absence of confounding, defined with potential outcomes. VanderWeele states that covariates CC suffice to control for confounding when the potential outcomes are independent of exposure within levels of CC, in which case, given also consistency (observed YY equals YaY_a for those with A=aA = a),

E[Y1−Y0∣c]=E[Y∣A=1,c]−E[Y∣A=0,c]E[Y_1 - Y_0 \mid c] = E[Y \mid A = 1, c] - E[Y \mid A = 0, c]

where AA is the treatment (1 = treated, 0 = comparator), YY is the observed outcome, Y1Y_1 and Y0Y_0 are the potential outcomes under treatment and comparator, and cc is a level of the covariates. The left side is a causal effect and the right side is an observable contrast. Averaging the stratum contrasts over the distribution of CC gives the population average treatment effect.

Within this framework VanderWeele and Shpitser propose that a confounder be defined as a pre-exposure covariate that belongs to some minimally sufficient adjustment set, meaning a set of covariates that removes confounding, no proper subset of which does so. A variable that reduces bias without being able to eliminate it, typically a proxy for a true confounder, they call a surrogate confounder. Being a confounder therefore depends on the causal structure and on which other variables are available.

Health economists often meet the same idea in econometric terms. The NICE Decision Support Unit's technical support document 17 (TSD 17) treats selection bias as correlation between treatment and the unobservables in the outcome equation, arising from omitted observable variables that determine both treatment and outcome (selection on observables) or from unobserved ones (selection on unobservables, or endogeneity). VanderWeele lists exchangeability, ignorable treatment assignment and exogeneity as other names for no confounding given CC.

Where confounders arise in health economic evidence

Confounders arise wherever treatment is chosen rather than randomly assigned. In a randomised controlled trial allocation is decided by chance, so baseline characteristics cannot cause the treatment assigned. In an observational study clinicians select treatments for reasons that often also predict outcomes and costs. TSD 17 cites a study of intensive treatment for acute myocardial infarction in older people, where lower mortality might reflect unobserved characteristics linked to the treatment received.

Appraisal bodies recognise the problem. TSD 17 records that the NICE guide to the methods of technology appraisal 2013 recognised confounding among the biases of non-randomised data, and that most appraisals in its review used aggregate published data with treatment effect estimates unadjusted for potential confounders.

The same variables confound cost and utility comparisons. Severity that steers patients towards a newer drug also raises admissions and resource use, so an unadjusted cost difference attributes part of the cost of severity to the drug. Among its final recommendations, TSD 17 asks analysts to consider whether the available data, including data on potential confounders, can inform the parameter the cost-effectiveness model requires.

Deciding which variables to adjust for

Confounder selection is a causal judgement before it is a statistical one. VanderWeele explains that if a complete causal diagram were known, Pearl's backdoor path criterion would identify a sufficient adjustment set, but that such complete knowledge is often unavailable. The NICE real-world evidence framework (ECD9, 2022) asks developers to identify potential confounders before analysis through a transparent, systematic and reproducible process, drawing on published literature and expert opinion, and to set out causal assumptions, ideally as directed acyclic graphs.

VanderWeele compares three practical rules. The pre-treatment rule, adjusting for everything measured before treatment, can introduce collider bias. The common cause rule can miss a variable that would have removed bias when a true common cause is unmeasured. His proposed modified disjunctive cause criterion is to control for each covariate that is a cause of the exposure, of the outcome or of both, to exclude any variable known to be an instrumental variable, and to include proxies for unmeasured common causes. He shows that if any subset of measured covariates suffices, the set chosen by the disjunctive cause criterion suffices as well.

Role of a variableCausal positionAdjust when estimating a total effect
ConfounderBefore treatment, linked to both treatment and outcome through a backdoor pathYes
Surrogate or proxy confounderImperfect measure of an unmeasured common causeUsually, as it often but not always reduces bias
Cause of the outcome onlyBefore treatment, unrelated to treatment choicePermitted under the disjunctive cause criterion
MediatorOn the pathway from treatment to outcomeNo, as this blocks part of the effect
ColliderCommon effect of two other variables on a pathNo, as conditioning opens a biasing path
Instrumental variableCauses treatment and affects the outcome only through treatmentNo, as this can amplify bias from unmeasured confounding

The NICE framework lists the same exclusions, warning against adjustment for variables on the causal pathway (overadjustment), colliders and instruments, and states that confounders that may change over time should be recorded before the index date unless the methods handle time-varying confounding. Timing is the main practical guard against adjusting for a mediator. VanderWeele suggests controlling for covariates from the wave before the exposure where repeated data allow it.

Handling measured and unmeasured confounders

For chosen confounders, the NICE framework lists stratification, matching, multivariable regression and propensity score methods for adjustment and notes that all of them assume no unmeasured confounding. It suggests that absolute standardised differences below 0.1 generally indicate good balance on an observed covariate, while warning that a small difference may still matter for a variable with a strong effect on the outcome.

Unmeasured confounders need different tools. TSD 17 groups instrumental variable methods, panel data models, difference-in-differences and regression discontinuity as approaches for selection on unobservables. When these are not available, a sensitivity analysis asks how strong an unmeasured confounder would have to be. As Mathur and colleagues set out, the E-value is the minimum strength of association, on the risk ratio scale, that an unmeasured confounder would need with both treatment and outcome, conditional on the measured covariates, to explain away an observed association. It is calculated as follows.

E=RR+RR×(RR−1)E = RR + \sqrt{RR \times (RR - 1)}

where EE is the E-value and RRRR is the observed risk ratio, inverted first if it is below 1. The NICE framework reports an example in which an E-value analysis of alectinib against a real-world ceritinib control found that an unobserved confounder would need a relative risk of 2.2 to remove the survival effect, judged unlikely; the framework advises pre-specifying a plausible level of bias.

Worked example of severity in an observational cost comparison

All numbers in this example are illustrative. A health economist uses registry data on 1,000 patients to compare hospital admissions within a year for a new drug A and standard care B. Severity at diagnosis, recorded before prescribing, is the candidate confounder.

StratumDrug A: patientsDrug A: admittedStandard care B: patientsStandard care B: admitted
Mild10010 (10%)40060 (15%)
Severe400120 (30%)10045 (45%)
All500130 (26%)500105 (21%)

1. Check that severity qualifies. It is measured before treatment. It drives treatment choice, since 400 of 500 severe patients (80%) receive drug A against 100 of 500 mild patients (20%). It affects the outcome independently of treatment, since admissions under standard care are 45% for severe and 15% for mild patients.

2. Crude comparison. Admission risk is 0.26 with drug A and 0.21 with standard care, a risk ratio of 0.26/0.21 = 1.24. At GBP 4,000 per admission, expected admission cost is GBP 1,040 per patient with drug A and GBP 840 with standard care, so drug A appears to add GBP 200.

3. Within severity strata. Among mild patients the risk ratio is 0.10/0.15 = 0.67, and among severe patients 0.30/0.45 = 0.67. Drug A cuts admission risk by a third in each stratum.

4. Standardise to the whole cohort. Half the cohort is severe, so

E[Y1]−E[Y0]=0.5×(0.10−0.15)+0.5×(0.30−0.45)=−0.10E[Y_1] - E[Y_0] = 0.5 \times (0.10 - 0.15) + 0.5 \times (0.30 - 0.45) = -0.10

where E[Y1]=0.5×0.10+0.5×0.30=0.20E[Y_1] = 0.5 \times 0.10 + 0.5 \times 0.30 = 0.20 is the standardised admission risk if everyone received drug A and E[Y0]=0.5×0.15+0.5×0.45=0.30E[Y_0] = 0.5 \times 0.15 + 0.5 \times 0.45 = 0.30 is the risk if everyone received standard care. The adjusted risk ratio is 0.20/0.30 = 0.67, and expected admission cost is GBP 800 per patient with drug A against GBP 1,200 with standard care, a saving of GBP 400 in place of the crude extra GBP 200.

5. Sensitivity to an unmeasured confounder. The adjusted risk ratio of 0.67 is inverted to 1.5 before applying the formula, so E=1.5+1.5×0.5=2.37E = 1.5 + \sqrt{1.5 \times 0.5} = 2.37. An unmeasured confounder, such as frailty not captured by the severity grade, would need risk ratios of about 2.37 with both treatment and admission, over and above severity, to remove the benefit.

The sign of the incremental admission cost depends on whether severity is adjusted for, which is the pattern of the Simpson paradox. The adjusted figure is the one a decision model should carry, with the E-value reported beside it.

How a confounder differs from neighbouring ideas

Nearby terms call for different responses. Confounding is the bias that results when a confounder is not handled; the confounder is the variable that produces it.

An effect modifier changes the size of a treatment effect across its levels and is reported by subgroup, not removed by adjustment. In the worked example the risk ratio is 0.67 in both strata, while the risk differences are 5 and 15 percentage points, so whether severity also modifies the effect depends on the scale; that question is separate from confounding and belongs to treatment effect heterogeneity. A mediator lies on the causal path, and estimating its share is the work of mediation analysis. An instrumental variable is a cause of treatment that is useful for estimation precisely because it is not a confounder. Risk adjustment applies the same logic when comparing providers, treating case mix as a confounder of the provider comparison.

Misreadings that recur in applied work

The commonest error is to select confounders by statistics alone. VanderWeele notes that statistical analysis cannot generally distinguish a confounder from a mediator, and that change-in-estimate rules, often using a 10% threshold, mislead with odds ratios and hazard ratios when the outcome is common, because these measures are non-collapsible, so an odds ratio can change on adjustment even in a randomised trial. The NICE framework says covariates should not be chosen on statistical significance.

A second error is to treat every pre-treatment variable associated with both treatment and outcome as a confounder, which can bring in a collider. A third is to read an adjusted estimate as unconfounded. Adjustment covers only the confounders measured, and measured with some accuracy, while a proxy confounder is not guaranteed to reduce bias.

Sources

Library

Publications

2
  • Journal article

    Principles of confounder selection — VanderWeele TJ, Vol. 34, No. 3, pp. 211-219 ed., 2019 (European Journal of Epidemiology)

    Journal article listed in the Sources of the HealthEconomics.wiki Concept Architecture article on Confounder, where it is cited as a reference for that concept.

  • Journal article

    On the definition of a confounder — VanderWeele TJ, Shpitser I, Vol. 41, No. 1, pp. 196-220 ed., 2013 (Annals of Statistics)

    Journal article listed in the Sources of the HealthEconomics.wiki Concept Architecture article on Confounder, where it is cited as a reference for that concept.

Tools & Resources

1
  • Journal article

    Web site and R package for computing E-values — Mathur MB, Ding P, Riddell CA, VanderWeele TJ, Vol. 29, No. 5, pp. e45-e47 ed., 2018 (Epidemiology)

    Journal article listed in the Sources of the HealthEconomics.wiki Concept Architecture article on Confounder, where it is cited as a reference for that concept.

Frequently Asked Questions (6)

  • What is a confounder?

    A confounder is a variable, such as disease severity, that affects both the treatment a patient receives and the outcome, biasing unadjusted comparisons.

    Source: VanderWeele 2019

  • Why is a confounder not part of the causal pathway?

    A confounder is linked to both the exposure and the outcome but lies outside the chain of cause and effect between them, which is what makes it a source of spurious association rather than a genuine mechanism. Age, for instance, may be tied both to receiving a treatment and to the outcome without the treatment causing age. A variable that instead lay on the causal pathway, being a step from exposure to outcome, would not be a confounder, and adjusting for it would remove part of the real effect. This distinction governs which variables to control. Rothman and colleagues (2008) set it out.

    Source: Rothman et al. 2008

  • What conditions define a confounder?

    A confounder is defined by three conditions: it is associated with the exposure; it is associated with the outcome independently of the exposure; and it does not lie on the causal pathway between exposure and outcome, that is, it is not an intermediate step through which the exposure acts. A variable meeting these conditions can distort the exposure-outcome association. A factor on the causal pathway is a mediator, not a confounder, and adjusting for it would be inappropriate, so distinguishing confounders from mediators is important for valid analysis.

    Source: Rothman, Greenland & Lash 2008

  • How does a confounder distort an association?

    A confounder distorts an association because, being related to both exposure and outcome, it can make them appear associated when the link is actually through the confounder, or it can strengthen, weaken, or reverse a true association. For example, if those with the exposure also tend to have another risk factor for the outcome, the outcome difference may reflect that factor rather than the exposure. This mixing of effects means the crude exposure-outcome association does not represent the exposure's own effect until the confounder is accounted for.

    Source: Angrist & Pischke 2009

  • How is confounding controlled?

    Confounding is controlled in the design by randomisation, which balances confounders across groups, or by restriction or matching on the confounders, and in the analysis by adjustment methods such as stratification, standardisation, or regression that account for the confounders' effects. Randomisation addresses both measured and unmeasured confounders, while analytic adjustment handles only measured ones. Identifying the relevant confounders, using knowledge of the causal structure, is necessary first. Controlling confounding in these ways allows the exposure's effect to be estimated more validly, closer to its true causal value.

    Source: Rothman, Greenland & Lash 2008

  • What is residual confounding?

    Residual confounding is confounding that remains after attempts to control it, arising when confounders are unmeasured or unknown, measured imprecisely, or adjusted for incompletely, so their distorting effect is not fully removed. Even after adjustment, the estimated effect may still be biased by this residual confounding, particularly in observational studies where important confounders may be missing. Recognising residual confounding is important when interpreting adjusted results, since it means the estimate may not fully reflect the exposure's causal effect, a key limitation of confounding control in non-randomised data.

    Source: Rothman, Greenland & Lash 2008

Trust Record

Verified by Dr Darrin Baines

British health economist

Professional identity: darrinbaines.org

Verification date: 27 Oct 2026

Content version: 1.0.1

Canonical Identity

Term code
HE-DS-BV-006
Wikidata
Q1125472

Stable URI · Machine-readable · Resolvable · CC BY 4.0

This article is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).

Author: Dr Darrin Baines · Publisher: Intelligent Parameters Ltd · Identifier: https://healtheconomics.wiki/concept/confounder