Effect Size - Cohen's d
Understand practical significance through standardized effect sizes
Try these examples:
Understanding Effect Size
Statistical significance (p-values) tells us whether an effect exists, but not how large or important it is. A study with thousands of participants might find a "statistically significant" difference that is trivially small. Effect size bridges this gap.
A small p-value does NOT mean a large or important effect!
What is Cohen's ?
Cohen's measures the difference between two means in units of standard deviations:
where is the pooled standard deviation.
Visualizing Two Groups
Set the control group mean to
Group Distributions
The shaded area is what the two curves share:
The raw difference is
Computing Cohen's
Absolute effect size:
Interpreting Effect Sizes
Cohen (1988) proposed these benchmarks:
| Effect Size | Cohen's | Interpretation |
|---|---|---|
| Negligible | $ | d |
| Small | $0.2 \leq | d |
| Medium | $0.5 \leq | d |
| Large | $ | d |
With
Distribution Overlap
When , the two distributions overlap completely. As increases, overlap decreases. The percent superiority () is the fraction of the treatment group that exceeds the control median:
Try dragging the treatment mean
So
Common Language Effect Size
The CLES answers: "If you randomly pick one person from each group, what is the probability the treatment person scores higher?"
With pooled SD
A randomly selected treatment-group member scores higher than a randomly selected control-group member
Putting It Together
Drag the means and standard deviation above to watch all three measures update together:
- Raw gap:
8 units between means100 and108 - Cohen's :
0.533 (standardized by15 ) - CLES:
64.7 % probability of treatment advantage
Effect size also sets how large a study must be. To detect an effect of this size 80% of the time with a two-sided test at , you need about
Power vs Sample Size
Statistical significance tells you if an effect exists; effect size tells you how much it matters. Always report both.
Try it in Code
# Cohen's d and related effect size measures
from scipy import stats
m1 = 100 # control mean
m2 = 108 # treatment mean
sp = 15 # pooled SD
d = (m2 - m1) / sp
u3 = stats.norm.cdf(d) * 100 # percent above control median
cles = stats.norm.cdf(d / (2**0.5)) # common language effect size
print(f"Cohen's d: {d:.3f}")
print(f"U3 (percent above control median): {u3:.1f}%")
print(f"CLES (probability of superiority): {cles:.3f} ({cles * 100:.1f}%)")What to explore next
One-Way ANOVA
Compare means across multiple groups using Analysis of Variance
Understanding Bayes' Theorem
Explore how prior beliefs update with new evidence
Bayesian Inference
Explore how prior beliefs combine with observed data to form posterior distributions using Bayes' theorem
Bootstrap Confidence Intervals
Learn how resampling provides confidence intervals without parametric assumptions
You might also like
Normal Distribution Calculator
Calculate z-scores and convert between z-scores and raw values
Statistical Power and Sample Size
ExplorationUnderstand the relationship between power, effect size, sample size, and significance level
Bootstrap Confidence Intervals
ExplorationLearn how resampling provides confidence intervals without parametric assumptions
Chi-Square Goodness of Fit Test
ExplorationTest whether observed frequencies match expected frequencies using the chi-square goodness of fit test