Statistics for Data science: Comparing The Distribution of Two Categorical Variables

Chi-Square test

Carla Martins

--

Photo by Arnold Francisca on Unsplash

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.

--

--

Carla Martins

Compulsive learner. Passionate about technology. Speaks C, R, Python, SQL, Haskell, Java and LaTeX. Interested in creating solutions.