Use Chi-Square Test for Association to determine whether two categorical variables are associated. That is, to determine whether the distribution of observations for one variable differs depending on the category of the second variable. Use this analysis when you have raw data or data that are arranged in a contingency table.
For example, a car manufacturer wants to determine whether the sales for different colors of cars depends on the city where they are sold.
To perform a chi-square test for association, choose.