Ten people rate each of two films on a 0–10 scale. The Film 1 group averages 8.7 with SD 0.82; the Film 2 group averages 7.7 with SD 0.95. An independent-samples t-test gives t(18) = 2.52, p = 0.022. The p-value only answers whether the difference could be chance; it does not say how large the difference is. Effect size answers that second question; for two-group comparisons the two most common measures are Cohen's d and Hedges' g. These numbers come from the artificial example in Lakens's 2013 primer on effect sizes; the calculations below follow that example.[1]

Two clusters of points at different heights, a double arrow between them, and a band underneath showing how spread out they are

Figure: Original Scholay sketch (AI-assisted). The height gap is the mean difference; the band underneath is dispersion. No numbers appear on the figure.

Step 1: use a pooled standard deviation as the unit

Cohen's d is a standardized mean difference: the difference of two group means divided by their pooled standard deviation. Following Cohen's notation, Lakens writes dsd_s for the independent two-group case:

ds=Xˉ1−Xˉ2sp,sp=(n1−1)s12+(n2−1)s22n1+n2−2d_s=\frac{\bar X_1-\bar X_2}{s_p},\qquad s_p=\sqrt{\frac{(n_1-1)s_1^2+(n_2-1)s_2^2}{n_1+n_2-2}}

Xˉ\bar X is a group mean, ss a within-group sample SD, and nn the group size. Subtracting 1 within each group in the denominator is the usual Bessel correction when estimating population variance.[1]

Plug in the film example:

sp=9×0.822+9×0.95218≈0.887,ds=8.7−7.70.887≈1.13s_p=\sqrt{\frac{9\times0.82^2+9\times0.95^2}{18}}\approx0.887,\qquad d_s=\frac{8.7-7.7}{0.887}\approx1.13

The group means differ by about 1.13 standard deviations. With only the t-value and group sizes, the same conversion works: ds=t1/n1+1/n2=2.52×0.2≈1.13d_s=t\sqrt{1/n_1+1/n_2}=2.52\times\sqrt{0.2}\approx1.13.[1]

Step 2: why switch to Hedges' g

dsd_s computed from sample means and SDs tends, on average, to overestimate the population effect—more so in smaller samples. Lakens cites Hedges and Olkin in noting that the bias matters especially when each group has fewer than 20 people. The corrected version is Hedges' g:[1]

gs=ds×(1−34(n1+n2)−9)g_s=d_s\times\left(1-\frac{3}{4(n_1+n_2)-9}\right)

The correction factor in parentheses depends only on the total sample size. For the film example with 20 people:

1−34×20−9=1−371≈0.958,gs≈1.13×0.958≈1.081-\frac{3}{4\times20-9}=1-\frac{3}{71}\approx0.958,\qquad g_s\approx1.13\times0.958\approx1.08

1.13 is discounted by about 4%, becoming 1.08—matching the value Lakens reports.[1]

How large the discount is can be read straight from the formula. The table below assumes equal group sizes:

Per group Total N Correction factor Shrinkage of d
5 10 0.903 9.7%
10 20 0.958 4.2%
20 40 0.980 2.0%
50 100 0.992 0.8%
100 200 0.996 0.4%

At 50 per group the two measures differ by less than 1%; at 5 per group they differ by nearly a tenth. Because the gap is tiny in large samples yet non-negligible in small ones, Lakens recommends reporting Hedges' g routinely: it is no harder to compute, and later meta-analysts need not correct for you.[1]

Step 3: the same “d” can use different denominators

“Cohen's d” is often treated as one name covering several algorithms that differ only in the denominator. Lakens distinguishes them with subscripts:[1]

Three pairs of black dots with the same spacing, under increasingly long rulers, showing that the same gap can be measured with different scales

Figure: Original Scholay sketch (AI-assisted). Equal point spacing with different rulers means that changing which group's SD is the denominator changes how the effect size is read.

  • dsd_s: independent groups; denominator is the pooled SD—the version computed above.
  • dzd_z: the same people measured twice; denominator is the SD of the differences. The higher the correlation between the two scores, the smaller the difference SD, and dzd_z is often much larger than dsd_s. With the same film scores, if 10 people rated both films and the two ratings correlated 0.726, a paired t-test gave t(9) = 4.74, and dz=t/nd_z=t/\sqrt{n} is about 1.50—well above the independent-groups 1.13.
  • Glass's Δ: when treatment may change within-group dispersion, use only the control or pretest SD as the unit.

When reporting an effect size, name which variant was used and include means, SDs, and group sizes so readers and later meta-analysts can convert. Writing only “d = 1.13” leaves no way to tell whether it matches another paper's “d = 1.13.”

How to read the number

A common reading treats 0.2, 0.5, and 0.8 as small, medium, and large—benchmarks from Cohen's 1988 suggestions. Lakens cautions that the cutoffs are arbitrary: an intervention that reliably lowers suicide risk can matter even with an effect of 0.1. A better reading compares the estimate with other effects in the same field and states what it means in practice.[1]

Point estimates also carry uncertainty. In the film example ds=1.13d_s=1.13; Lakens's ESCI bootstrap 95% CI is [0.16, 2.06]: the films are probably not equally liked, but with 20 people the size of the gap is almost unknown.[1] Reporting the interval with the effect size is more honest than quoting 1.08 alone.

References

  1. Lakens D. Calculating and reporting effect sizes to facilitate cumulative science: a practical primer for t-tests and ANOVAs. Frontiers in Psychology. 2013;4:863. doi:10.3389/fpsyg.2013.00863