Generalised Cochran-Mantel-Haenszel tests

 

Menu location: Analysis_Crosstabs.

 

Three generalised tests for association between row and column classes are offered for stratified r by c tables produced in the crosstabs function when you specify a third (stratum, controlling for) classifier (Agresti, 2002; Landis et al., 1978, 1979).

 

The first test (ordinal association) assumes that there is meaningful order to both the columns and rows of each r by c table.

 

The second test (ordinal columns vs. nominal rows) assumes that there is meaningful order in the columns of each r by c table.

 

The third test (nominal association) does not assume any order in rows or columns; it provides a general test of association between the row and column classifiers.

 

The reliability of the tests increases with sample size, but unlike the Pearson chi-square statistic for single r by c tables, small counts in a few cells are unlikely to invalidate the tests.

 

You could control for more than one factor by making a stratum variable consisting of several factors (e.g. UK male, US male, UK female, US female to control for gender and country of residence).

 

Note that there are other approaches to these analyses, namely ordinal and nominal logistic regression. You should consult with a statistician before using these methods in important studies.

 

Data entry

When you give a third classifier and the table is not 2 by 2, StatsDirect asks for scores in a grid with a column headed by the name of each classifier: enter one score for each category of the row classifier under its name, and one score for each category of the column classifier under its name, in the order in which the categories appear in the table. The report repeats the scores used.

 

Example

From Agresti (2002).

 

The data can be found in the Tables worksheet of the Test workbook. Use the menu item Analysis_Crosstabs to generate a cross tabulation with income as the first classifier (rows), job satisfaction as the second classifier (columns) and gender as the third classifier (strata). Use the row (income) scores as 3, 10, 20 and 35. Use the column (job satisfaction) scores as 1, 3, 4 and 5.

 

For this example:

 

Generalised Cochran-Mantel-Haenszel tests

 

Row variable (first classifier): Income

Column variable (second classifier): Job Satisfaction

Stratum variable (third classifier, controlling for): Gender

 

Income scores: 3, 10, 20, 35

Job Satisfaction scores: 1, 3, 4, 5

 

Alternative hypothesis Statistic DF Probability
Ordinal association 6.156301 1 P = 0.0131
Nominal rows vs. ordinal columns association 9.034222 3 P = 0.0288
Nominal association 10.200089 9 P = 0.3345

 

Sample size = 104

 

From the results above you can see that the strongest effect detected is ordinal association (i.e. association between greater job satisfaction with greater income), after controlling for gender.