ABSTRACT

We can use a chi-square (χ2) test to examine the differences between observed and expected frequencies in categorical data. A chi-square test can show whether the frequencies within the category levels are similar to what would have been expected based on chance or some other source of information. The analysis may involve one or two classification (categorical) variables, with each classification variable having two or more levels (categories).