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.
|
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.
|
4.
|
5.
|
6.
|
Click OK.
|
Figure .19 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. Figure .20 shows the updated table.
Figure .20 Updated Contingency Table
To answer this question, use the p-value from the Pearson test in the Tests report. See Figure .19. Since the p-value of 0.011 is less than the significance level of 0.05, the financial analyst concludes the following: