Program data and common statistics

What Does Confounding Mean?

Confounding is bias in an estimated effect that can arise when a factor influences both the exposure and the outcome. The groups may differ in their underlying chance of the outcome before the exposure has any effect.

In practice

How Confounding works in context

  1. Why it matters

    Why does Confounding matter?

    A residency comparison can show a large apparent benefit if the most prepared applicants are also the most likely to receive the exposure being studied. Accounting for measured differences can improve the comparison. Factors measured poorly or omitted from the analysis can still distort it.

  2. Worked example

    What does Confounding look like in practice?

    Illustrative example with invented counts: a cohort of 900 applicants asks whether attending a research-intensive medical school raises specialty-match rates. Assume the score was measured before medical school attendance. Within the low score band the odds ratio is 1.00 (10 of 100 exposed matched versus 40 of 400 unexposed), and within the high band it is also 1.00 (90 of 300 versus 30 of 100), yet pooling gives a crude odds ratio of 2.05 because high scorers both attend such schools and match. A Mantel-Haenszel adjustment returns 1.00, the removal the CDC field epidemiology manual describes for this distortion.

  3. Commonly confused terms

    What is Confounding commonly confused with?

    Confounding biases an estimate when the exposed and unexposed groups differ in underlying causes of the outcome. Effect modification means the effect itself differs across groups on the scale being used. Selection bias can arise from how people enter or stay in the analysis. More than one of these can affect a study.

Interpretation guide

Use Confounding accurately

What the term tells you

Start with what was known before exposure. Ask which pre-existing factors could influence both exposure and outcome, then see whether the researchers measured them. In the example above, comparing applicants within each score band makes the groups more comparable on that score. A score measured after attendance could capture part of the effect of the school itself. Compare the crude and adjusted estimates in light of that timeline. An odds ratio can change after adjustment even in the absence of confounding.

Common mistakes

Reading the crude estimate as a causal effect

Ask whether the compared groups started with differences that could influence the outcome.

Adjusting for a mediator

If the aim is to estimate the total effect, adjusting for a factor caused by the exposure can block part of that effect.

Believing adjustment settles causation

Check which proposed confounders were measured, how well they were measured, and what assumptions the analysis requires.

Reading an odds ratio as a risk ratio

When an outcome is common, report each group’s risk or a risk ratio when those values are available.

Reader checklist

Questions to ask about Confounding

  1. Which third factor could plausibly cause both the exposure and the outcome here?
  2. Was that factor measured, and was the analysis adjusted for it?
  3. Would stratifying by the suspected factor change the estimate?
  4. Does the study design and analysis justify its causal wording, including how confounding and other biases were addressed?
  5. Is the factor on the causal path, making it a mediator rather than a confounder?

Resources

Use these tools and guides for your next step. References below identify the evidence supporting this definition.

Work through a possible confounder2 resources

Editorial

References
  1. 01Analyzing and Interpreting Data (Field Epidemiology Manual, chapter 8)Supports: The sections on effect modification and confounding show how to compare stratum-specific and pooled estimates and use the Mantel–Haenszel method for an adjusted summary. The manual supplies the method used in the invented example.Centers for Disease Control and PreventionPublished Verified
  2. 02Causal Inference: What If, Chapter 7: ConfoundingSupports: Chapter 7 explains how shared causes create confounding, how causal diagrams can guide adjustment and why the choice of variables depends on causal assumptions.Chapman & Hall/CRCPublished 2020Verified
  3. 03Confounding and Collapsibility in Causal InferenceSupports: Section 5 gives a worked example in which within-stratum odds ratios differ from the crude estimate even in the absence of confounding.Statistical SciencePublished 1999Verified