Writing Hypotheses for Two-Way Chi-Square Tests
Test for Homogeneity:
- : The distribution of [variable] is the same for all [populations/groups]
- : The distribution of [variable] is NOT the same for all [populations/groups]
Test for Independence:
- : There is no association between [variable 1] and [variable 2] in the population
- : There is an association between [variable 1] and [variable 2] in the population
Conditions for both tests:
- Random: Data from random samples or randomized experiment
- Independence:
- 10% condition (if sampling without replacement)
- For homogeneity: samples from different populations are independent of each other
- Large Counts: All expected counts
Degrees of freedom:
where = number of rows, = number of columns (not counting totals)