The Chi-square test is a statistical technique used to examine the connection between two or more categorical variables. It measures whether there is a meaningful difference between the observed and expected frequencies in a dataset. The test depends on the concept of chi-square, which represents the sum of squared differences between the observed