Sub topic 10
Effect sizes and how to read them
This chapter assumes you know what a mean and a standard deviation are. It also assumes you have seen how a randomized trial compares a therapy group with a control group. Here you learn to turn that comparison into one number, read the number, and avoid the usual mistakes.
Why a p-value is not enough
A significance test answers whether a difference is unlikely to be zero. It does not say how big the difference is. With 2,000 clients, a gap of one point on a 63-point symptom scale can be statistically significant. With 20 clients, a large and clinically important gap can fail to reach significance.
An effect size is a number that describes the size of a difference on a common scale. Because it does not depend on the units of any one questionnaire, you can compare trials that used different measures. This is what makes meta-analysis possible.
Cohen's d
Cohen's d is the difference between two group means divided by the pooled standard deviation. The pooled standard deviation is a weighted average of the two groups' standard deviations. So d tells you how many standard deviations apart the groups are.
def cohens_d(mean_control, sd_control, n_control, mean_treat, sd_treat, n_treat):
"""Standardized difference in symptom scores (lower score = fewer symptoms)."""
pooled_var = ((n_control - 1) * sd_control ** 2 + (n_treat - 1) * sd_treat ** 2) / (n_control + n_treat - 2)
return (mean_control - mean_treat) / pooled_var ** 0.5
print(cohens_d(18, 6, 50, 12, 6, 50)) # 1.0The control mean is 18 and the treatment mean is 12. Both standard deviations are 6, so the groups are one standard deviation apart and d = 1.0. The subtraction is ordered so that a positive d means the treatment group has fewer symptoms. Check this convention in every paper you read. Some authors flip the sign, and a scale where higher scores are better flips it again.
Conventional benchmarks
Jacob Cohen proposed rough labels. He offered them as a last resort for when you know nothing else about the field.
| d | Label | Treated mean sits at this percentile of the control group | Probability a random treated client beats a random control client |
|---|---|---|---|
| 0.2 | Small | 58th | 56% |
| 0.5 | Medium | 69th | 64% |
| 0.8 | Large | 79th | 71% |
| 1.0 | Very large | 84th | 76% |
The last column is sometimes called the probability of superiority. It assumes roughly normal scores with equal spread in both groups. Many clinical measures are skewed, so treat these conversions as approximations.
Small samples: Hedges' g and confidence intervals
Cohen's d is slightly biased upward in small samples. Hedges' g multiplies d by a correction factor that shrinks toward 1 as the sample grows. With 50 clients per group the correction is under 1%. With 10 per group it is about 4%. Meta-analyses usually report g, though many authors still write "d".
A single d is also an estimate with uncertainty. A confidence interval shows the range of true effects that are consistent with the data. The code below reports g, an approximate 95% interval, and the probability of superiority.
import math
def cohens_d(mean_control, sd_control, n_control, mean_treat, sd_treat, n_treat):
pooled_var = ((n_control - 1) * sd_control ** 2 + (n_treat - 1) * sd_treat ** 2) / (n_control + n_treat - 2)
return (mean_control - mean_treat) / pooled_var ** 0.5
def hedges_g(d, n_control, n_treat):
df = n_control + n_treat - 2
return d * (1 - 3 / (4 * df - 1))
def ci_95(g, n_control, n_treat):
se = math.sqrt((n_control + n_treat) / (n_control * n_treat) + g ** 2 / (2 * (n_control + n_treat)))
return g - 1.96 * se, g + 1.96 * se
def prob_superiority(d):
# P(random treated client has a better outcome than a random control client)
return 0.5 * (1 + math.erf(d / 2))
d = cohens_d(18, 6, 50, 12, 6, 50)
g = hedges_g(d, 50, 50)
low, high = ci_95(g, 50, 50)
print(f"d = {d:.2f}, g = {g:.2f}, 95% CI [{low:.2f}, {high:.2f}]")
print(f"probability of superiority = {prob_superiority(d):.2f}")The output shows g of about 0.99, an interval of roughly 0.58 to 1.41, and a probability of superiority of 0.76. A trial of 100 clients that finds d = 1.0 is therefore compatible with a true effect anywhere from moderate to very large. Always read the interval, not only the point estimate.
Which comparison produced the number?
The same therapy yields different effect sizes depending on what it is compared with.
- Pre-post within one group. This is the change from before to after treatment in the treated clients alone. It mixes real treatment effects with regression to the mean, natural recovery, and expectations. These values are often above 1.0 and should not be compared with between-group values.
- Treatment versus waitlist or no treatment. This isolates the effect of getting any therapy, but it does not rule out the benefit of attention and hope. Effects are typically large.
- Treatment versus placebo or attention control. This removes some nonspecific benefit, so effects are smaller.
- Treatment versus another bona fide therapy. Differences between active treatments are usually small, often near d = 0.2 or below. Detecting them reliably takes hundreds of clients per group.
Common mistakes
- Treating the labels as rules. A "small" d of 0.2 on mortality or relapse can matter a great deal. A "large" d on a measure nobody values may not. Judge size against the field's typical effects and the cost and risk of the treatment.
- Ignoring the standard deviation used. Dividing by the baseline standard deviation, the pooled standard deviation, or the control group's standard deviation gives different values. Check which one the authors used.
- Averaging across outcomes without thought. A study may report d for depression, anxiety, and quality of life. Picking the largest is selective reporting.
- Reading d as individual change. A group d of 0.8 does not say that every client improved by 0.8 standard deviations. Some improve a lot, some not at all, and some worsen. The reliable change index in the next chapter addresses individual clients.
- Assuming reliability does not matter. A noisy measure has a larger standard deviation from measurement error, which shrinks d. Differences between trials can reflect their instruments, not the therapies.
Other effect sizes you will meet
Binary outcomes such as "recovered or not" use odds ratios or risk ratios. Correlation-based effect sizes (r) appear in process research, for example the link between alliance and outcome. The number needed to treat is the number of clients who must be treated for one additional client to benefit. It can be estimated from d under the normality assumption, but it is less trustworthy when scores are skewed. These measures can be converted into one another, so meta-analysts usually put everything on a single scale before pooling.
Exercise
In a trial, the control group (n = 40) has a mean symptom score of 20 and the treatment group (n = 40) has a mean of 14. Both standard deviations are 8, and lower scores mean fewer symptoms. Calculate Cohen's d. What does it suggest, and why should you also ask for the confidence interval?
Show answer
The pooled standard deviation is 8, so d = (20 - 14) / 8 = 0.75, a positive value in the direction favoring treatment. This is a medium-to-large effect. The average treated client scores better than about 77% of control clients, and a random treated client beats a random control client about 70% of the time. With only 40 clients per group the interval is wide, roughly 0.3 to 1.2, so the true effect could be small or very large. You would also need to know the comparison condition, because d = 0.75 against a waitlist is less impressive than d = 0.75 against an active treatment.