British Academy Centre for Multilevel Modelling
The development of this E-Book has been
supported by the British Academy.

Chi-squared test practical

In this practical we are going to investigate how to perform a chi-squared test using SPSS. A chi-squared test is used when we have two categorical variables measured for all observations in a dataset and we want to test if the variables are related or independent. Independent here means that the category observed for one variable does not depend on the category observed for the other variable. To run a single test in SPSS requires that your dataset has two separate columns containing the two (categorical) variables to be tested.