Statistics for Data science: Comparing The Distribution of Two Categorical Variables
Chi-Square test
4 min readDec 6, 2022
The Chi-Square Test is used to compare the distribution of two categorical variables from the same sample or from different samples. The test is carried out using the absolute number of observations, not the percentage of observations.