Chi-Square Test

- The “goodness of fit” term emphasizes the idea of comparing the observed data to a theoretical or expected distribution (i.e. observed frequencies vs. expected frequencies).
- The “1-way” term indicates that there is only one categorical variable being analyzed.
The following presentation shows how to perform a one-way chi-square test using a sample scenario.
In this video, you will learn how to conduct a one-way chi-square test using a spreadsheet.
Chi-Square Test of Independence (a.k.a. 2-way chi-square test)
Null Hypothesis (H₀): The two categorical variables are independent of each other. There is no association between the variables.
Alternative Hypothesis (H₁): The two categorical variables are dependent, meaning there is a significant association between them.
Notes:
- The “test of independence” or “2-way” chi-squared test is applied to a contingency table.
- “Independence” term emphasizes the idea of testing whether the two variables are independent of each other.
- “2-way” term indicates that there are two categorical variables being analyzed simultaneously.
In both cases, the goal is to assess whether the observed data aligns with the null hypothesis. If the Chi-square test statistic exceeds a critical value, the null hypothesis is rejected in favor of the alternative.
The chi-square test is used when a parametric test (that assumes normality in the population) can not be used. Data will be categorical in nature (i.e. nominal or ordinal (ranked)). Chi-squared is one of many nonparametric tests of significance that does not require normality.
The following presentation shows how to perform a two-way chi-square test using a sample scenario.
Here is a copy of the two-way chi-square spreadsheet used in the video above:
In this video, you will learn how to conduct a two-way chi-square test using a spreadsheet.
The following video presents the steps required to conduct a two-way chi-square test using Rstudio:
Here are the complete notes related to all the chi-square examples and resources shared on this page: