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


Publication date: 11/29/2021

Example of the Cochran Armitage Trend Test

This example investigates whether there is a relationship between the proportion of males and females that buy different sizes of cars.

1. Select Help > Sample Data Library and open Car Poll.jmp.

For the purposes of this test, change size to an ordinal variable:

2. In the Columns panel, right-click the icon next to size and select Ordinal.

3. Select Analyze > Fit Y by X.

4. Select sex and click Y, Response.

5. Select size and click X, Factor.

6. Click OK.

7. Click the red triangle next to Contingency Analysis of sex By size and select Cochran Armitage Trend Test.

Figure 7.18 Example of the Cochran Armitage Trend Test ReportĀ 

Example of the Cochran Armitage Trend Test Report

The two-sided p-value (0.7094) is large. From this, you cannot conclude that there is a relationship in the proportion of male and females that purchase different sizes of cars.

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