Used when explanatory and response variables are categorical
In simplest scenario, explanatory and response variables both have two options
Common contingency table test are X2 and G-tests
If X2orG>P, then there is a significant difference
The p-value is more accurate the larger the sample size is (higher numbers).
- No expected values <1 = categories should be combined
- No more than 20% expected values <5 = Fisher exact test
Fisher exact test - calculates p-value in 2x2 table directly = more accurate with smaller sample sizes (lower numbers)
Factorial - proudct of an integer and all integers below it e.g. 3! = 3x2x1
Comments
No comments have yet been made