For the latest version of JMP Help, visit

Publication date: 07/30/2020

Example of a Cochran Mantel Haenszel Test

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

1. Select Help > Sample Data Library and open Hot

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 (