Cochran-Mantel-Haenszel Test
See Also
This menu performs the Generalized Cochran-Mantel-Haenszel test for average partial association between two nominal variables adjusting for control variables. The data are represented by a series of K (R×C) contingency tables, where K represents the strata for the control variables. If there are two or more control variables then these are combined to form a single factor (K) with a level for every combination of the control factors. For the case where there are two dichotomous variables of interest, i.e. a series of K (2×2) tables, this menu calculates the classic Mantel-Haenszel chi-square statistic, and an overall estimate of relative risk as described in Mantel & Haenszel (1959). Otherwise the Generalized Cochran-Mantel-Haenszel test is used, as in Landis et al. (1978).

Data

A table where the first two classifying factors of the table indicate the variables of interest, and the remaining factors are combined to form a factor with a level for every combination of the remaining factors. If the first two classifying factors are not the ones of interest, then the Order of classifying factors option can be used to supply the names of the classifying factors of interest. The Create Table button can be used to create a table from a variate and associated classifying factors. Alternatively, the data can also be supplied in variate along with classifying factors in the Order of classifying factors option where the first two factors in the list indicating the variables of interest.

Order of classifying factors

A list of factors specifying the order of the factors to be used in forming a table when the data are supplied in a variate or the classifying factors of interest when data are supplied in table. Multiple selections can be transferred from the Available data list by clicking the button.

Mantel-Haenszel Options (2x2xk table)

These options are only applied when the Mantel-Haenszel test is used when the data are in a 2x2xk table.
Include continuity correctionWhen selected a continuity correction is applied to the Mantel-Haenszel Chi-square test.
Level of confidence limit (%)Size of confidence interval for common odds ratio.

Available Data

List tables, variates and factors that can be used to supply the data sets and classifying factors. The contents may change as you move from one input field to another, so that appropriate types of data structure are listed. Double-click on a name to copy it into the current input field; alternatively you can enter the name directly using the keyboard.

See Also