How to read a chi-square test
Observed vs expected counts, Cramér's V and adjusted residuals — reading and reporting a crosstab to thesis standard.
When most survey questions are "pick one", hypotheses like this come up all the time.
"Do preferred trip types differ by field of study?"
The tool for it is crosstabulation with a chi-square test, yet when it is time to write it up, people stall: "Is the p-value enough?" "What is this expected-count-below-5 thing?" Here is the whole thing to thesis standard, from the logic of the test to effect sizes, adjusted residuals and the reporting sentence.
What a crosstab and chi-square test are
A crosstab lays two categorical variables across rows and columns and counts how many people fall into each cell.
The chi-square test then decides whether to keep or reject the hypothesis that "the two variables are unrelated (independent)".
An example
We asked 360 university students for their field of study and favourite type of trip.
| Field | Relaxing | Sightseeing | Activity |
|---|---|---|---|
| Humanities & social sciences (150) | 48 | 72 | 30 |
| Science & engineering (130) | 52 | 44 | 34 |
| Arts & sport (80) | 18 | 24 | 38 |
Observed vs expected counts
The heart of the chi-square test is the question "if field and trip taste were unrelated, how many people should each cell hold?" Those values are the expected counts.
- Expected count = row total × column total ÷ total N
- Arts & sport × Activity = 80 × 102 ÷ 360 = 22.7 people
- People actually observed = 38
The gaps between observed and expected are summed cell by cell as χ² = Σ (observed − expected)² ÷ expected, and judged with (rows − 1) × (columns − 1) = 4 degrees of freedom.
The example gives χ²(4) = 24.62, p < .001, so field of study and preferred trip type can be said to be related.
Assumptions and the expected-count-of-5 rule
- Each person belongs in one cell only (no multiple answers)
- Respondents must be independent (no before-and-after on the same people)
- No more than 20% of cells may have an expected count below 5
The 5 here refers to expected counts, not observed counts. A cell with zero observations is fine if its expected count is large enough.
Choosing by situation
- Different people, enough expected counts → chi-square test of independence
- A 2×2 table with expected counts below 5 → Fisher's exact test
- A bigger table short on expected counts → merge categories or use a Monte Carlo p-value
- The same people measured twice → McNemar's test
Effect size: φ and Cramér's V
The chi-square value and p-value grow and shrink with sample size, so the strength of the association needs its own measure.
- φ (phi) — 2×2 tables · √(χ² ÷ N)
- Cramér's V — larger tables · √(χ² ÷ (N × (k − 1)))
- k = the smaller number of categories of rows and columns
The benchmarks depend on table size too. With k − 1 = 1, small, medium and large are .10, .30 and .50; with k − 1 = 2 (e.g. a 3×3 table) they are .07, .21 and .35.
The example has Cramér's V = .17 (bias-corrected): a tiny p, but a fairly small association. Report both and you convey the result accurately.
Which cells differ? Adjusted residuals
A significant chi-square only means "something differs somewhere". To see which cells hold more or fewer people than expected, look at the adjusted residuals.
Read them like z-values and take note beyond ±1.96. With 9 cells you are looking many times, though, so it is better to be strict with a Bonferroni threshold (±2.77 here).
- Arts & sport × Activity +4.31 (more than expected)
- Humanities × Sightseeing +3.00 (more than expected)
- Humanities × Activity −2.97 (fewer than expected)
In row percentages, 47.5% of arts & sport students chose activity trips, against only 20.0% in the humanities. Showing percentages like these next to the numbers makes the result far easier to read.
Common mistakes
- Applying the 5 rule to observed rather than expected counts
- Reporting only the p-value and leaving out the effect size and cell results
- Writing it causally, as in field of study "determines" trip taste
How to write it up
Preferred trip type differed significantly by students' field of study, χ²(4, N = 360) = 24.62, p < .001, Cramér's V = .17. Adjusted residuals (Bonferroni threshold |z| > 2.77) showed that arts and sport students preferred activity trips more than expected (47.5%, adjusted residual = 4.31), while humanities and social science students preferred sightseeing trips more than expected (48.0%, 3.00) and activity trips less than expected (20.0%, −2.97).
Example sentence · the numbers are made up
Put counts and row percentages together in the table and the test result beneath it, and it reads cleanly.
In Skari
In Skari Statistics, open Relationship → Association Analysis → Crosstab & Chi-Squared and choose just the row variable and column variable. The validation step also checks up front whether the expected count per cell is large enough.

Run a crosstab on your own survey
Opens Statistics at Relationship → Association Analysis → Crosstab
The top of the report puts the chi-square result, Cramér's V and the most striking cell into sentences.

The test table holds χ², the G-test, Cramér's V (bias-corrected and uncorrected) and the Bonferroni |z| threshold. For a 2×2 table Fisher's exact test is reported too, and it is used automatically when expected counts are low; larger tables come with a Monte Carlo p-value.

The contingency tables set out observed counts, row percentages and expected counts under independence in turn, so you can check "observed vs expected" exactly as described above.

The adjusted-residual heatmap shows at a glance which cells stand out.

A mosaic plot and a correspondence-analysis plot are there as well, and the results download as Word, PDF or Excel.
Wrapping up
The key to a crosstab is comparing observed with expected, and reading the p-value, effect size and adjusted residuals together. Do not stop at "it was significant" — say which field chose which trip more, and your interpretation becomes far more convincing.
Want the theory behind it?The Academy's chi-square chapter covers expected counts and degrees of freedom in depth →