Cochran–Mantel–Haenszel statistics


In statistics, the Cochran–Mantel–Haenszel test is a test used in the analysis of stratified or matched categorical data. It allows an investigator to test the association between a binary predictor or treatment and a binary outcome such as case or control status while taking into account the stratification. Unlike the McNemar test which can only handle pairs, the CMH test handles arbitrary strata size. It is named after William G. Cochran, Nathan Mantel and William Haenszel. Extensions of this test to a categorical response and/or to several groups are commonly called Cochran–Mantel–Haenszel statistics. It is often used in observational studies where random assignment of subjects to different treatments cannot be controlled, but confounding covariates can be measured.

Definition

We consider a binary outcome variable such as case status and a binary predictor such as treatment status. The observations are grouped in strata. The stratified data are summarized in a series of 2 × 2 contingency tables, one for each stratum. The i-th such contingency table is:

TreatmentNo treatmentRow total
CaseAiBiN1i
ControlsCiDiN2i
Column totalM1iM2iTi

The common odds-ratio of the K contingency tables is defined as:
The null hypothesis is that there is no association between the treatment and the outcome. More precisely, the null hypothesis is and the alternative hypothesis is. The test statistic is:
It follows a distribution asymptotically with 1 df under the null hypothesis.

Related tests