ManHaenORtest (Scripts) Publisher's description
This test performs an odds ratio inference for k strata of 2x2 tables
This test performs an odds ratio inference for k strata of 2x2 tables. Mantel and Haenszel (1959) proposed an approximate test of the null hypothesis which specifies that within each stratum, the success probabilities are equal. This is the same to test that there is a common odds ratio and it is equal to 1. The null hypothesis allows for the common success probabilities to differ from stratum to stratum.
It needs to input the X-data matrix (size kx4) of the observed frequency cells (a,b,c,d) for each stratum, t- desired test [t = 1, one-tail; t = 2, two-tail (default)] and alpha-significance level (default = 0.05).
The outputs are a table with percentage of success of samples on each stratum, and a table with the Mantel-Haenszel statistic, number of strata and P-value.
System Requirements:MATLAB 5.3 (R11)
Program Release Status: New Release
Program Install Support: Install and Uninstall