Chi-Square Test for Independence

By Anthony M. Wanjohi: Chi-square is useful for analyzing whether a frequency distribution for a categorical variable, say sex is consistent with expectations (a goodness of fit test), or whether two categorical variables are significantly associated with each other (a test for independence). This article provides an overview of chi square tests for independence. The […]

Chi square Test for Goodness of Fit

By Anthony M. Wanjohi: Chi square is a non-parametric test commonly used to test either goodness of fit or association between two categorical variables (test of independence).  Categorical variables are grouped as nominal (names), ordinal (ordered) or dichotomous (binary). The purpose of this article is to illustrate chi square test for goodness of fit commonly used to […]