The chi-square test can be used for checking the association between categorical variables. The test can be used to decide whether the effect of one categorical data is dependent on the other variable or not. It is not used for the numerical data.

Therefore, the chi-square test is used for the categorical data.

Therefore, the chi-square test is used for the categorical data.