For the latest version of JMP Help, visit JMP.com/help.


Publication date: 04/30/2021

Example of a Cochran Mantel Haenszel Test

This example uses the Hot Dogs.jmp sample data table. Examine the relationship between hot dog type and taste.

1. Select Help > Sample Data Library and open Hot Dogs.jmp.

2. Select Analyze > Fit Y by X.

3. Select Type and click Y, Response.

4. Select Taste and click X, Factor.

5. Click OK.

6. Click the red triangle next to Contingency Analysis of Type By Taste and select Cochran Mantel Haenszel.

7. Select Protein/Fat as the grouping variable and click OK.

Figure 7.13 Example of a Cochran-Mantel-Haenszel Test 

Notice the following:

The Tests report shows a marginally significant Chi-square probability of about 0.0799, indicating some significance in the relationship between hot dog taste and type.

The Cochran Mantel Haenszel report shows that the p-value for the general association of categories is 0.2816, which is much larger than 5%.

Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).