Chi-Square Analysis
The Chi-Square Independence Test evaluates whether two categorical variables are statistically independent or associated with each other by comparing observed counts in a contingency table (cross-tabulation) against the counts expected by chance.
When to Use & Real-World Examples
- Survey Cross-Tabs: Checking whether brand preference or satisfaction category differs across age brackets or regions.
- Campaign Conversion: Testing whether acquisition channel (Email vs. Social vs. Search) is linked to purchase conversion (
Yes / No). - Plan & Behavior Analysis: Examining whether support ticket category distribution varies by subscription tier.
Inputs, Prerequisites & Small-Sample Alternatives
- Two Categorical Variables: Both columns must be nominal or ordinal categories.
- Expected Frequency Rule: Standard Chi-Square assumes most expected cell counts in the cross-tabulation are at least
5. - Exact & Paired Alternatives: If your sample is small or contingency cells are sparse (
< 5), use Fisher's Exact Test. If your two binary categorical columns come from paired pre/post measurements of the same subjects, use McNemar's Test.
Running Chi-Square in Clustey
- Open Run Analysis → Cross-Tabs & Links → Chi-Square Independence Test.
- Select your two categorical columns.
- Review any low-expected-count warning (which indicates when Fisher's Exact is safer) and click Run Analysis.
Interpreting the Output
- Chi-Square (χ²) & df: Measures overall deviation between observed and expected cell counts.
- p-value: Values below
0.05indicate a statistically significant association between the two categorical variables. - Cramér's V: Measures association strength from
0(no association) to1(complete association), helping distinguish tiny sample-size artifacts from meaningful patterns.
Next, explore foundational summary methods starting with Descriptive Statistics.