Knowledge / Public Health / Advanced epidemiology: bias, confounding and effect modification

Advanced epidemiology: bias, confounding and effect modification

Public Health (MPH) · Advanced epidemiology and biostatistics · free study notes for exams, placements and interviews

In short

Bias, confounding and effect modification are the three reasons an observed exposure-outcome association may not be the causal effect you think it is - bias from flawed selection or measurement, confounding from a common cause, and effect modification from the effect genuinely differing across subgroups. Distinguishing them decides whether a study's finding is a measurement artefact (to be prevented in design), a mixing of effects (to be adjusted), or a real biological or social phenomenon (to be reported separately by subgroup). It is the core of MPH advanced epidemiology papers at AIIMS, PGIMER, SCTIMST, TISS and the state public health universities, and of ICMR/NIE, IIPS and NFHS-type analytical work. Interviews at ICMR institutes, NGO research units, CROs (Syneos, IQVIA, Parexel), pharmacovigilance teams and health-insurance analytics test it through "how would you handle confounding here" scenarios. Mastery is judged by whether you can draw the DAG, choose the adjustment set, and compute a stratified and Mantel-Haenszel estimate by hand.

Explained

Validity, error and the three threats

Selection bias - types and Indian examples

Information (measurement) bias and misclassification

Confounding - criteria, assessment and control

Effect modification and interaction

Directed acyclic graphs and the structural view

Indian context, ethics and reporting

Key points

Formulas and examples

OR = (a × d) / (b × c) - 2×2 table with a = exposed cases, b = exposed non-cases, c = unexposed cases, d = unexposed non-cases (counts, dimensionless)
RR = [a/(a+b)] / [c/(c+d)] - cumulative incidence ratio; RD = a/(a+b) − c/(c+d) (per unit, or per 1,000 population)
Mantel-Haenszel OR: OR_MH = Σ(aᵢdᵢ/nᵢ) / Σ(bᵢcᵢ/nᵢ) - i = stratum, nᵢ = stratum total
Mantel-Haenszel RR: RR_MH = Σ[aᵢ(cᵢ+dᵢ)/nᵢ] / Σ[cᵢ(aᵢ+bᵢ)/nᵢ]
Confounding (percent change) = 100 × (crude − adjusted) / adjusted - on the log scale for ratio measures; ≥10% suggests confounding
RERI = RR₁₁ − RR₁₀ − RR₀₁ + 1 - relative excess risk due to interaction; 0 means no additive interaction
AP = RERI / RR₁₁ ; S = (RR₁₁ − 1) / [(RR₁₀ − 1) + (RR₀₁ − 1)] - S > 1 means synergy
E-value = RR + √[RR × (RR − 1)] for RR > 1 (use 1/RR first if RR < 1) - dimensionless
Non-differential exposure misclassification: observed a* = a·Se + c·(1−Sp) style reclassification; corrected counts recovered from Se and Sp of the exposure measure
Standardised rate (direct) = Σ(wᵢ × rᵢ) / Σwᵢ - wᵢ = standard population in stratum i, rᵢ = stratum-specific rate (per 1,000 per year)

Example 1 - Confounding by age, with Mantel-Haenszel adjustment. A case-control study in a Pune hospital examines tobacco chewing and oral cancer.

Crude table: exposed cases a = 300, exposed controls b = 200, unexposed cases c = 100, unexposed controls d = 400.

Stratified by age:

StratumabcdnStratum OR
<50 y6014040360600(60×360)/(140×40) = 21600/5600 = 3.86
≥50 y240606040400(240×40)/(60×60) = 9600/3600 = 2.67

Example 2 - Effect modification, and why the scale matters. A cohort of 2,000 workers studies silica dust and tuberculosis, stratified by HIV status.

StratumExposed: cases/nRiskUnexposed: cases/nRiskRRRD
HIV-negative40/8000.05020/8000.0252.00.025 (25 per 1,000)
HIV-positive24/2000.12012/2000.0602.00.060 (60 per 1,000)

Example 3 - Simpson's paradox (qualitative confounding). Two hospitals' surgical mortality:

Hospital A deaths/casesRateHospital B deaths/casesRate
Low-risk patients10/5002.0%40/1,6002.5%
High-risk patients150/1,50010.0%24/20012.0%
Total160/2,0008.0%64/1,8003.6%

Example 4 - Non-differential misclassification biases towards the null. True cohort: exposed 1,000 with 200 cases (risk 0.20); unexposed 1,000 with 100 cases (risk 0.10); true RR = 2.0. The exposure questionnaire has sensitivity 0.80 and specificity 0.80.

Example 5 - RERI and the E-value. For joint exposure to smoking and silica dust: RR₁₀ (smoking only) = 3.0, RR₀₁ (dust only) = 2.0, RR₁₁ (both) = 8.0.

ConfoundingEffect modificationSelection bias
NatureMixing of effects (nuisance)Real, biological or socialStudy flaw
StructureE ← C → DEffect differs by level of MSelection depends on E and D
Detected byCrude vs adjusted (10% rule)Heterogeneity of stratum estimatesDesign review, not data
Handled byRandomise, restrict, match, adjustReport by stratum - never poolPrevent in design; sensitivity analysis
Depends on scale?Yes (ratio vs difference)Yes - stronglyNo

Where it is used

Interview questions

Common mistakes

Related topics

Epidemiology: principles, measures and study designs · Causal inference basics · Multiple regression · Biostatistics for health sciences · Systematic reviews and meta-analysis · Statistical computing with R

Open in the Knowledge reader →Find jobs →