Syntax
| Parameter | Description |
|---|---|
| actual_range | Parameter of the CHISQ.TEST function. |
| expected_range | Parameter of the CHISQ.TEST function. |
Examples
Survey response by region
=CHISQ.TEST(A2:C4, E2:G4)
Dice fairness test
=CHISQ.TEST(A2:A7, B2:B7)
Customer preference test
=CHISQ.TEST(C2:D5, F2:G5)
Common Errors
Actual and expected ranges must have the same dimensions. Mismatched row or column counts cause this error.
Expected values must all be positive. A zero or negative expected frequency triggers this error.
Tips
For a test of independence, expected = (row total * column total) / grand total. You must compute the expected range yourself — CHISQ.TEST does not do it for you.
The chi-squared test is unreliable when any expected frequency is below 5. If you have small expected counts, consider combining categories or using Fisher's exact test.
If p < 0.05, there is evidence of a statistically significant association between the variables. A p-value near 1 means the observed data matches expected frequencies closely.
Try CHISQ.TEST in Viztab
Import your data and use CHISQ.TEST with 370+ other formulas. No signup required.
Open Viztab