2
Chi-Square (χ2) Test
Chi-square statistics (χ2) test is a statistical test that measures a model compared to actual
data (Miller, 2017). the statistic is used when the data are random, mutually exclusive, and drawn
from a relatively large sample with independent variables. Chi-square is used in hypothesis
testing to test dependence between categorical variables and the goodness of fit of a model
(Stockemer, Stockemer & Glaeser, 2019). The subsequent sections discuss the chi-square
hypothesis test and illustrate the independence test for two categorical variables.
Kinds of Chi-Square Tests
There are two kinds of chi-square tests, the goodness-of-fit and the test for independence
(Stockemer, Stockemer & Glaeser, 2019). Test for independence determines relationships