If you have categorical X and Y variables, you can compare the proportions of the levels within the Y variable to the levels within the X variable.
This example continues to use the Companies.jmp data table. In Compare Averages for One Variable, a financial analyst determined that pharmaceutical companies have higher profits on average than do computer companies.
1.
Select Help > Sample Data Library and open Companies.jmp.
2.
If you still have the Companies.jmp data file open from the previous example, you might have rows that are excluded or hidden. To return the rows to the default state (all rows included and none hidden), select Rows > Clear Row States.
3.
Select Analyze > Fit Y by X.
4.
Select Size Co and click Y, Response.
5.
Select Type and click X, Factor.
6.
Company Size by Company Type
The Contingency Table contains information that is not applicable for this example. From the red triangle menu for Contingency Table deselect Total % and Col % to remove that information. Updated Contingency Table shows the updated table.
Updated Contingency Table
To answer this question, use the p-value from the Pearson test in the Tests report. See Company Size by Company Type. Since the p-value of 0.011 is less than the significance level of 0.05, the financial analyst concludes the following:

Help created on 9/19/2017