Stat > Tables > Chi-Square Test for Association
Perform a chi-square test of association between variables. The null hypothesis states that no association exists.
Raw data (categorical variables)
Rows: Enter the column containing the categories that define the rows of the table.
Columns: Enter the column containing the categories that define the columns of the table.
Summarized data in a two-way table
Columns containing the table: Enter the columns containing the contingency table data. Delete or combine rows or columns with missing data before using this procedure.
Labels for the table (optional): Use these options to add labels to the display of your output.
Rows: (Optional) Enter a column that contains labels for the values of the row variable. The name of this column becomes the name of the row variable.
Columns: (Optional) Enter the name of the column variable.
<Options> (Not available for summarized data)