← Wiki Index / Public Health & Global Health / Mantel–Haenszel Method
🏥 Public Health & Global Health

Mantel–Haenszel Method

The Mantel–Haenszel method is a non-iterative stratified statistical procedure in epidemiology and meta-analysis that pools odds ratios, risk ratios, or rate ratios across confounding strata while preserving sparse-data stability.

The Mantel–Haenszel method—developed by biostatisticians Nathan Mantel and William Haenszel in 1959—is a cornerstone stratified analysis technique in epidemiology, clinical trials, and fixed-effect meta-analysis. By partitioning a study population into K homogeneous strata defined by one or more confounding variables (such as age group, sex, study center, or calendar period), the Mantel–Haenszel estimator computes a weighted pooled odds ratio (ORMH), risk ratio (RRMH), or incidence rate ratio across all strata, adjusting for confounding without requiring iterative maximum-likelihood fitting or large cell counts in every individual stratum.

Stratified Odds Ratio and Robins–Breslow–Greenland Variance

Consider K independent 2 × 2 contingency tables indexed by stratum i = 1, ..., K, each containing exposed cases (ai), exposed non-cases (bi), unexposed cases (ci), unexposed non-cases (di), and stratum total Ni = ai + bi + ci + di. The Mantel–Haenszel pooled odds ratio is defined as:

ORMH = (∑i=1K ai di / Ni) / (∑i=1K bi ci / Ni)

Equivalently, ORMH is a weighted average of stratum-specific odds ratios ORi = (ai di) / (bi ci) with weights wi = bi ci / Ni. Unlike inverse-variance weighting—which breaks down or requires arbitrary continuity corrections whenever ai, bi, ci, or di equals zero—the Mantel–Haenszel formula handles sparse strata (even tables with single zero cells) naturally, as long as the pooled denominator remains non-zero.

To construct valid 95% confidence intervals across both sparse-data (many small strata, such as matched case-control pairs) and large-stratum asymptotic regimes, epidemiologists use the Robins–Breslow–Greenland (RBG) variance estimator (1986) for ln(ORMH), which remains consistent under both limiting designs.

The Cochran–Mantel–Haenszel Test and Effect Modification

Paired with the pooled estimator is the Cochran–Mantel–Haenszel (CMH) chi-square test, which tests the null hypothesis that the common odds ratio equals 1 across all K strata (χMH2 with 1 degree of freedom):

χMH2 = [|∑i (ai − E(ai))| − 0.5]2 / ∑i Var(ai)

where E(ai) and Var(ai) are the hypergeometric mean and variance of ai conditioned on fixed table margins. Crucially, the Mantel–Haenszel pooled estimate assumes homogeneity of effect across strata (no strong effect modification or interaction). Analysts routinely test this assumption using the Breslow–Day test or Tarone's test; if stratum-specific odds ratios diverge substantially (for example, protective in young patients but harmful in elderly patients), reporting a single pooled ORMH is misleading and stratum-specific estimates should be presented separately.

Applications in Meta-Analysis and Survival Analysis

In systematic reviews of randomized trials with rare binary events, the Mantel–Haenszel fixed-effect meta-analysis outperforms inverse-variance pooling because its stratum weights rely solely on group sample sizes and control-arm counts rather than estimated log-OR variances, avoiding bias when trials have few events. Moreover, applying the Mantel–Haenszel chi-square framework across successive event-time intervals yields the famous log-rank test for comparing Kaplan–Meier survival curves.

Practical Workflow and Sensitivity to Residual Confounding

In an applied epidemiological workflow, analysts first inspect crude and stratum-specific odds ratios across key confounders (such as age decade, sex, or hospital site), then compute the Mantel–Haenszel pooled estimate and compare it against the crude estimate to quantify the magnitude of confounding. Checking the Breslow–Day or Tarone homogeneity p-value verifies whether pooling across strata is statistically defensible.

While multivariable regression (logistic, Poisson, or Cox proportional hazards) accommodates continuous covariates and multiple simultaneous confounders more flexibly, the Mantel–Haenszel method remains indispensable for transparent exploratory stratification, matched case-control analysis, and fixed-effect meta-analysis of binary clinical trial endpoints with sparse event counts.

When extending the Mantel–Haenszel framework to cohort studies with person-time denominators, the pooled Mantel–Haenszel incidence rate ratio weights each stratum rate ratio by wi = ci T1i / (T1i + T0i), where ci is the unexposed case count and T1i, T0i are the exposed and unexposed person-years (while the harmonic-mean person-time weight T1i T0i / (T1i + T0i) is used for the Mantel–Haenszel rate difference). This person-time formulation preserves exact confounding control across age and calendar-year strata even when individual follow-up intervals contain zero or single disease events.

Software implementations in R, Stata, and Python routinely pair the Mantel–Haenszel pooled odds ratio with the Tarone-corrected Breslow–Day statistic and exact Fisher–Gart confidence limits, ensuring transparent reporting across both small clinical trials and large registry cohorts.

Frequently Asked Questions

Why is the Mantel–Haenszel method preferred over inverse-variance weighting for sparse data?

Inverse-variance weighting requires dividing by the variance of ln ORi in each stratum, which fails when any cell is zero and introduces bias when cell counts are small; Mantel–Haenszel weights (bi ci / Ni) remain finite and unbiased across sparse strata.

Does the Mantel–Haenszel method adjust for confounding if strata are too broad?

Residual confounding can persist if continuous confounders (such as age) are grouped into overly wide strata (for example, 30-year bands), in which case multivariable logistic or Cox regression is preferred.

References

  1. Robins, J., Greenland, S., & Breslow, N. E. (Nov 1986). "A general estimator for the variance of the Mantel–Haenszel odds ratio." American Journal of Epidemiology, 124(5), 719–723. https://doi.org/10.1093/oxfordjournals.aje.a114447
  2. Flanders, W. D. (Sep 1985). "A New Variance Estimator for the Mantel-Haenszel Odds Ratio." Biometrics, 41(3), 637–642. https://doi.org/10.2307/2531283
  3. Webb, P., Bain, C., & Page, A. (Nov 30, 2016). "The Mantel–Haenszel method for calculating pooled odds ratios." In Essential Epidemiology: An Introduction for Students and Health Professionals (3rd ed., pp. 464–465). Cambridge University Press. https://doi.org/10.1017/9781316275948.027
🧬 Support Open Science
Explore interactive science games on LowKey Games or browse scientific apparel & accessories in the CRV Science Shop.
💡 Spot an inaccuracy or have primary literature to expand this article?
Submit a citation or revision note using your shared CRV Science / LowKey Games profile ID.
Suggest Revision