Chi-square test for independence
How it is used
This test is used to explore the relationship between two categorical variables. Each of these variables can have two or more categories. It is based on a crosstabulation table, with cases classified according to the categories in each variable.
Calculating Chi-square for independence
- Click on Analyze\Descriptive Statistics\Crosstabs
- Move one of your categorical variables into the box marked Row(s).
- Move the other categorical variable into the box marked Column(s).
- Click on the Statistics button and tick Chi-square and Phi and Cramer’s V. Click on Continue.
- Click on the Cells button: in the Counts box, make sure there is a tick for Observed; in the Percentage section, click on the Row, Column and Total boxes.
- Click on Continue and OK.
Interpreting results
Cross tabulation table
This table shows you the percentage of each category that falls under each of the categories for the second variable. It also displays the total percentages for each category.
Reprint Courtesy of International Business Machines Corporation, © International Business Machines Corporation. SPSS Inc. was acquired by IBM in October, 2009.
Significance of the test
Check the significance of Pearson Chi-Square within the Chi-Square tests table to assess whether the relationship between the two variables is statistically significant. In this example, the relationship is not significant.
Reprint Courtesy of International Business Machines Corporation, © International Business Machines Corporation. SPSS Inc. was acquired by IBM in October, 2009.
Effect size
The effect size, or magnitude of the association between the two variables, is given in the Symmetric Measures table.
Reprint Courtesy of International Business Machines Corporation, © International Business Machines Corporation. SPSS Inc. was acquired by IBM in October, 2009.
The most commonly used statistic is the Phi coefficient, which ranges from 0 to 1. Higher values indicate a stronger correlation between the two variables.