The Chi-square test serves as a statistical tool used to assess the relationship between two or more categorical variables. It measures whether there is a significant difference between the observed and expected frequencies in a dataset. The test utilizes the concept of chi-square, which represents the sum of squared differences between the observe