The Mantel-Haenszel template computes the Mantel-Haenszel statistic and the corresponding Chi-Square based p-value with one degree of freedom. The MH test is used for combining several 2×2 contingency tables to obtain one test statistic and one p-value. For example, the MH test is often used to combine several clinical trial results together into one larger test.

For the technical folks, the user has control over the correction factor and the variance component and thus can obtain results based on Mantel and Haenszel (1959), Cochran (1954) or Grizzle (1967).