Wiki Page, Math 13 - Perez Sandbox : Directions: Create a Two-way Contingency Table with Data

Wiki Page
2026-01-17T21:14:57-08:00

The directions assume the datafile is open in a StatCrunch worksheet:

To create two-way contingency table:

Select Stat Tables Contingency With Data

The Contingency Table (with Data) window is now open.

Under the Row variable: heading use the drop-down menu to select either the explanatory variable or the response variable (not both).

Under the Column variable: heading use the drop-down menu to select the other variable (i.e. the explanatory variable if you chose the response variable for the rows OR the response variable if chose the explanatory variable for the rows).

Press Compute!

The StatCrunch output window will display two tables. The first table (Contingency table results:) is a two-way contingency table. The second table (Chi-Square results:) provides the results of a significance test that we encounter toward the end of the course. The Chi-square table is not relevant in the early modules and should be ignored.