Clinical Knowledge › Epidemiology and biostatistics › Bias, confounding and causation
Confounding and how to control it
Confounding is a mixing of effects: an apparent association between an exposure and an outcome is wholly or partly due to a third variable that is a cause of the outcome (or a proxy for one), is associated with the exposure in the source population, and is not on the causal pathway from exposure to outcome. In causal-diagram terms, a confounder is a common cause that opens a back-door path. Classic examples are smoking confounding the coffee–lung cancer association, age confounding almost everything, and healthy-user and indication effects in drug studies. Observational studies suggested hormone therapy protected against coronary disease, but the Women's Health Initiative trial found a hazard ratio of 1.29. In the worked example, a crude coffee–lung cancer RR of 2.93 falls to a Mantel–Haenszel RR of 1.0 after stratifying by smoking. Confounding is controlled at the design stage by randomisation, restriction and matching, and at the analysis stage by stratification, standardisation, multivariable regression, propensity scores, instrumental variables and target trial emulation. Residual and unmeasured confounding remain; E-values and negative controls test robustness. Adjusting for mediators or colliders is overadjustment and introduces bias.
Patient case, mechanism, investigations, management, differentials, exam pearls, flashcards and exam-style questions. Included free with every exam plan (IFOM, MCCQE, AMC, Qatar, MRCP, OET) or a Clinical Knowledge plan.Open the lesson → See plans
Key facts (preview)
- A confounder (1) is associated with the exposure, (2) is a risk factor for the outcome independent of exposure and (3) is not on the causal pathway (not a mediator) nor caused by the exposure
- Worked example: crude RR coffee–lung cancer 2.93; stratum-specific RRs in smokers and non-smokers both 1.0; Mantel–Haenszel RR 1.0 → smoking confounds
- Confounding: stratum-specific estimates similar to each other but different from the crude; effect modification: stratum estimates differ from each other
- Rule of thumb: a change of 10% or more between crude and adjusted estimates suggests important confounding
Guideline
STROBE (2007) reporting of confounding, Cochrane ROBINS-I (2016) and ROBINS-E (2024) confounding domains, and the TARGET statement (2025) for target trial emulation
References
- Jager KJ, Zoccali C, Macleod A, Dekker FW. Confounding: what it is and how to deal with it. Kidney Int 2008.
- Grimes DA, Schulz KF. Bias and causal associations in observational research. Lancet 2002.
- Greenland S, Pearl J, Robins JM. Causal diagrams for epidemiologic research. Epidemiology 1999.
- VanderWeele TJ, Ding P. Sensitivity analysis in observational research: introducing the E-value. Ann Intern Med 2017.
- von Elm E, Altman DG, Egger M, et al.. The Strengthening the Reporting of Observational Studies in Epidemiology (STROBE) statement: guidelines for reporting observational studies. Lancet 2007.
- Sterne JA, Hernán MA, Reeves BC, et al.. ROBINS-I: a tool for assessing risk of bias in non-randomised studies of interventions. BMJ 2016.
Related topics
By Dr Khalid Seidi (B.Sc., M.D.) · MedEd World Clinical Knowledge library. Original teaching content checked against current guidelines (November 2026); confirm the latest local guidance before clinical use. Not a substitute for clinical judgement.