cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.
  • JMP will suspend normal business operations for our Rest and Recharge Day on Friday, October 2, 2026.
    Regular business hours will resume on Monday, October 5, 2026.

JMP Library

Choose Language Hide Translation Bar
Chi Square Tests for a Two-Way Table

Use to test for independence or homogeneity of two categorical variables. If comparing only two groups with a binary outcome, refer to the Two Proportions Test and Confidence Interval guide.

The Contingency Table Analysis  

  1. From an open JMP® data table, select Analyze > Fit Y by X.
  2. Click on a categorical variable from Select Columns, and click Y, Response (categorical variables have red or green bars).
  3. Click on another categorical variable and click X, Factor.
  4. Click OK. The Contingency Analysis output will display.

By defaut, a Mosaic Plot, Contingeny Table, and Chi-Square Tests are shown. See the Mosaic Plot and Contingency Table guide for more information.

Car Poll.jmp (Help > Sample Data Folder)Car Poll.jmp (Help > Sample Data Folder)

 

 

 

 

 

 

 

 

 

 

 

gail_massari_2-1753996890900.png

gail_massari_3-1753996909301.png

 

 

Chi-Square Tests

By default, JMP provides results for two chi-square tests under “Tests” – the Likelihood Ratio and Pearson.

  • If both variables can be considered as response (Y) variables, these chi-square statistics test that the variables are independent.
  • If one variable is considered a response (Y) and the other as a fixed factor (X), the tests are for homogeneity of Y across X.

Note: Additional analysis options are available under the Red Triangle including Analysis of Means for Proportions, Measures of Association, and Exact Tests.

 

Visit Basic Analysis > Contingency Analysis in JMP Help to learn more.

 

Recommended Articles