Analyze associations between categorical variables.
The Chi-square test (χ²) tests the independence between two categorical variables. It compares observed frequencies to theoretical frequencies expected under the independence hypothesis. StatsLab also offers Fisher's exact test for small samples.
Context : Association between sex (M/F) and sport preference (Yes/No) in 120 people.
Result : χ²(1) = 6.8, p = 0.009, V = 0.24
Interpretation : Significant association (p < 0.05) between sex and sport practice. The moderate effect size (V = 0.24) indicates a real but non-deterministic association.