Cramér's V and phi
A chi-square test says whether two categorical variables are associated. Its p-value grows smaller with larger samples whatever the strength. Cramér’s V says how strongly they’re associated, on a scale that doesn’t depend on sample size.
The formula
V = √[ χ² / (N × (k − 1)) ]
N is the total count, and k is the smaller of the number of rows and columns. Dividing by N removes the sample-size effect, and dividing by k − 1 scales V to a maximum of 1.
Phi for 2×2 tables
For a 2×2 table, k − 1 = 1, so V = √(χ² / N), the absolute value of the phi coefficient. Phi can also carry a sign showing the direction of the association. It’s the same as a Pearson correlation between two 0/1 variables.
Real examples
| Variables | Table | V | 95% CI |
|---|---|---|---|
| Hair colour × eye colour (592 students) | 4 × 4 | .28 | [.22, .32] |
| Cylinders × transmission (32 cars) | 3 × 2 | .52 | [.11, .85] |
| Transmission × engine shape (32 cars) | 2 × 2 | .17 | [.00, .51] |
Note the interval widths. With 592 students, V is pinned down precisely. With 32 cars, the intervals span almost the whole range of plausible strengths.
Interpreting V
Cohen’s (1988) benchmarks depend on the smaller table dimension (df* = k − 1):
| df* (k − 1) | Small | Medium | Large |
|---|---|---|---|
| 1 | .10 | .30 | .50 |
| 2 | .07 | .21 | .35 |
| 3 | .06 | .17 | .29 |
By these benchmarks, V = .28 in a 4×4 table (df* = 3) is close to large, which shows why a single set of cut-offs can mislead.
Reporting
χ²(9, N = 592) = 138.29, p < .001, Cramér’s V = .28, 95% CI [.22, .32]
Analytika reports V with a confidence interval for chi-square tests and for Fisher’s exact tests on tables larger than 2×2. For a 2×2 Fisher’s test it reports an odds ratio instead. For 2×2 tables, an odds ratio is often easier to interpret. See also the chi-square test of independence.
References
- Cohen, J. (1988). Statistical power analysis for the behavioral sciences (2nd ed.). Lawrence Erlbaum.
More in Categorical data
Try it with the free tools
Run this on your own data
Upload a dataset and ask your question in plain English. Analytika checks the assumptions, picks the test, runs it, and writes the results up in APA format.