Independence and Homogeneity
Test for Independence
Contingency table: 2-way table
Conditions for Independence Test
- Random sample
- Independent values
- Sample with replacement
- or n<0.1N
- Large counts condition
- Expected values ≥5
- or ≥80% of expected values >5 and all are ≥1
Calculate Independence Test
- Expected value = Probability in row×Probability in column×Total number in the sample = Total number in the sampleRow total×Column total
- dof=(Nrow−1)(Ncol−1)