Chi-square test of independence — what does it do?
mediumAnswer
- Tests whether two categorical variables are independent, given an r × c contingency table.
- Statistic: , where under independence. df = (r-1)(c-1).
- Requires ≥ 5 for validity.
- Use case: is conversion rate independent of region?
- For small counts, use Fisher's exact test instead.
Check yourself — multiple choice
- For continuous data
- on contingency table; independence null; df=(r-1)(c-1); needs E ≥ 5 or use Fisher exact
- Only 2×2 tables
- Same as t-test
Chi-square independence: contingency table, E ≥ 5, else Fisher exact.
#hypothesis-testing#parametric-tests
Practise Statistics Fundamentals
215 interview questions in this topic.