Clinical KnowledgeA–Z topicsExams ▾Start free

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.

🔒 Full lesson for members
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)

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

  1. Jager KJ, Zoccali C, Macleod A, Dekker FW. Confounding: what it is and how to deal with it. Kidney Int 2008.
  2. Grimes DA, Schulz KF. Bias and causal associations in observational research. Lancet 2002.
  3. Greenland S, Pearl J, Robins JM. Causal diagrams for epidemiologic research. Epidemiology 1999.
  4. VanderWeele TJ, Ding P. Sensitivity analysis in observational research: introducing the E-value. Ann Intern Med 2017.
  5. 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.
  6. 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

Selection biasInformation biasRecall biasLead-time and length biasEffect modificationRandomisation and blindingITT and per-protocolAttrition biasPublication biasBradford Hill criteria

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.