The Chi-square test is a statistical tool used to analyze the relationship between two or more categorical variables. It evaluates whether there is a significant difference between the observed and expected frequencies in a dataset. The test relies the concept of chi-square, which indicates the sum of squared differences between the observed and ex