|
|
| File Information |
| Description |
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. |
| MATLAB release |
MATLAB 5.3 (R11)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 10 Nov 2004 |
It was added an appropriate format to cite this file. |
| 22 Nov 2004 |
Text was improved. |
|
Contact us at files@mathworks.com