Citation:
$\chi^2$ (chi-squared) is a statistical test used to determine the goodness of fit between observed and expected frequencies in a dataset. It is a powerful tool for analyzing the relationship between categorical variables and assessing whether the differences between observed and expected values are statistically significant.