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