Mantel-Haenszel chi-square test for stratified 2 by 2 tables

Input Values


Do a Mantel-Haenszel chi-squared test for stratified data. Inputs are two 2 x 2 tables of stratified data, plus confidence level required and desired precision of answers. Outputs calculated include:

  • Chi-square statistic and corresponding P-value and odds ratio (with confidence limits) for each table;
  • M-H Chi-square statistic and P-value and overall odds ratio and confidence limits;
  • Woolf's test for homogeneity of odds ratios; and
  • a plot of odds ratios and associated confidence limits.
Table data:
  +ve -ve
  +ve -ve
Desired level of confidence:
Digits after decimal pt:


  Home  |   About this site  |   Glossary   |   References   |   Links  

This site was created by Ausvet with funding from a range of sources.
It provides a range of epidemiological tools for the use of researchers and epidemiologists, particularly in animal health.
Please send any comments, questions or suggestions to Evan Sergeant
© 2019 Ausvet