The Chi-square test acts as a statistical tool used to analyze the correlation between two or more categorical variables. It determines whether there is a substantial difference between the observed and expected frequencies in a dataset. The test relies the concept of chi-square, which shows the sum of squared differences between the observed and e