Citation:
The chi-square statistic is a statistical test used to determine if there is a significant difference between the observed and expected frequencies in one or more categories. It is a fundamental tool in hypothesis testing, particularly in the context of comparing categorical data.