What is Chi-Square test? The chi-square test (χ²) is a non-parametric statistical test used to analyze categorical data. It helps…