Skip to content

Cochran-Mantel-Haenszel (CMH) test

Cochran-Mantel-Haenszel (CMH) test:

The Cochran-Mantel-Haenszel (CMH) test compares two groups on a binary response, adjusting for control variables. The initial data are represented as a series of K 2×2 contingency table s, where K is the number of strata. Traditionally, in each table the rows correspond to the “Treatment group” values (e.g “Placebo”, “Drug A”) and the columns to the “Response” values (e.g “No change,” “Improvement”).

The null hypothesis is that the response is conditionally independent of the treatment in any given strata.

The stratification of the subjects into K groups (according to the values of controlled variables – e.g. “Age group”) increases the power of the test to detect association. This increase in power comes from comparing like subjects to like subjects.

The CMH statistic is described by this formula:


M2 =



Browse Other Glossary Entries

Test Yourself

Planning on taking an introductory statistics course, but not sure if you need to start at the beginning? Review the course description for each of our introductory statistics courses and estimate which best matches your level, then take the self test for that course. If you get all or almost all the questions correct, move on and take the next test.

Data Analytics

Considering becoming adata scientist, customer analyst or our data science certificate program?

Analytics Quiz

Advanced Statistics Quiz

Statistics Quiz


Looking at statistics for graduate programs or to enhance your foundational knowledge?

Statistics 1 Quiz

Regression Quiz

Regression Quiz


Entering the biostatistics field? Test your skill here.

Biostatistics Quiz

Advanced Statistics Quiz

Statistics 2 Quiz

Stay Informed

Our Blog

Read up on our latest blogs


Learn about our certificate programs


Find the right course for you

Contact Us

We'd love to answer your questions

Our mentors and academic advisors are standing by to help guide you towards the courses or program that makes the most sense for you and your goals.

300 W Main St STE 301, Charlottesville, VA 22903

(434) 973-7673

By submitting your information, you agree to receive email communications from All information submitted is subject to our privacy policy. You may opt out of receiving communications at any time.