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


Basic Analysis > Contingency Analysis > Example of Contingency Analysis
Publication date: 04/21/2023

Example of Contingency Analysis

Use the Contingency platform to examine the relationship between two categorical variables. This example uses data collected from a survey about car ownership. The data include respondent attributes: sex, marital status, and age. The data also include attributes of the respondent’s car: country of origin, the size, and the type. Examine the relationship between car sizes (small, medium, and large) and the cars’ country of origin.

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

2. Select Analyze > Fit Y by X.

3. Select size and click Y, Response.

4. Select country and click X, Factor.

5. Click OK.

Figure 7.2 Example of Contingency Analysis 

Example of Contingency Analysis

From the mosaic plot and legend, notice the following:

Very few Japanese cars fall into the Large size category.

The majority of the European cars fall into the Small and Medium size categories.

The majority of the American cars fall into the Large and Medium size categories.

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