Effect Size
calculator.
An effect size says how big a difference is, in a way a p-value cannot.
- Hedges' g
- 0.626
- Point-biserial r
- 0.302
- Power at these sizes
- 67.4%
Group 1's mean sits 0.634 pooled SDs above group 2's, and the two groups share 75.1% of their area. The interval stays on one side of zero.
How far apart the two groups sit
Drag the point to change the group 1 meanGroup 2's curve is centered at 0 and group 1's at 0.634 SDs. The shaded area is the part of group 1 above group 2's mean.
Which figure to report
Hedges' g shrinks d a little. The two nearly match once samples grow.
Plan the next study
- Power to detect d of 0.634
- 67.4%
- Smallest d at 80% power
- 0.736
- 95% interval if d holds
- 0.115 to 1.152
Group size for this d
| Power | Each group needs |
|---|---|
| 70% | 32 |
| 80% | 41 |
| 90% | 54 |
| 95% | 66 |
Work back from a d
- Raw difference that stands for
- 5.523
- Group 1 mean it would take
- 73.523
This holds the pooled SD and group 2 mean where they are, in your units.
What each size of d looks like
| d | Size | U3 | Chance of beating | Overlap | Each group, 80% power |
|---|---|---|---|---|---|
| 0.2 | SmallU3 57.9%, beats 55.6% | 57.9% | 55.6% | 92% | 394 |
| 0.5 | MediumU3 69.1%, beats 63.8% | 69.1% | 63.8% | 80.3% | 64 |
| 0.8 | LargeU3 78.8%, beats 71.4% | 78.8% | 71.4% | 68.9% | 26 |
| 1.2 | Very largeU3 88.5%, beats 80.2% | 88.5% | 80.2% | 54.9% | 12 |
Cohen gave 0.2, 0.5 and 0.8, and Sawilowsky added 1.2. Compare with your own field first when you can.
Working
- 1Subtract the means75 − 68 = 7
- 2Pool the two variances2,900 + 4,17658= 122
- 3Take the square root for the pooled SDPooled SD = 11.045
- 4Divide the difference by the pooled SDd=711.045= 0.634
- 5Shrink it for a small sample, Hedges' correctionJ= 1 −3231= 0.987, so g = 0.626
- 6Build the 95% intervalSE = 0.265, so d ± 1.96 × SE runs 0.115 to 1.152
- 7Check: d × pooled SD + group 2 mean0.634 × 11.045 + 68 = 75
How it's worked out
Cohen's d is the gap between two means, counted in standard deviations. Lakens (2013) gives the standard form for two independent groups, where the bottom is the pooled SD, written here as , a weighted blend of the two spreads.
M is a group's mean, s its standard deviation and n its size. In small samples d runs a little high, so Hedges' g multiplies it by a factor just under 1, called J.
Glass's delta divides by the control group's SD alone. Use it when a treatment changes the spread as well as the mean, so that only the control's spread is a fair ruler.
If a paper reports only a t, you can still get d for independent groups. It is t times the root of 1 over each group's size added together. With df alone, the tool assumes two equal groups of (df + 2) over 2.
From a correlation, d is 2r over the root of 1 minus r squared, which assumes two equal groups. From a one-way ANOVA, the F conversions give eta squared and omega squared.
The interval is the large-sample one, with a standard error from NIST. The size of the sample sets its width, and the interval is d plus or minus 1.96 of these standard errors.
Worked examples
A vocabulary program, 75 against 68
Thirty pupils in a program average 75 (SD 10), and thirty others average 68 (SD 12). The pooled variance is 7,076 over 58, or 122, so the pooled SD is 11.045.
The 7 point gap divided by that gives d = 0.634, a medium effect on Cohen's scale. Hedges' g is 0.626, a touch smaller with this many pupils.
The 95% interval runs from 0.115 to 1.152, so these data fit anything from a negligible effect to a large one. To detect a d this size at 80% power, the next study needs 41 pupils in each group. This one had 30, which gives 67% power.
A paper that only reports t(18) = 2.52
Lakens rates two movies with ten people in each group and reports t(18) = 2.52. That gives d = 1.13, and Hedges' g = 1.08, the same two values his paper gives (d of 1.13 and g of 1.08).
With 18 degrees of freedom the correction takes off about 4%. The interval is wide, from 0.18 to 2.07, as you would expect from ten people per group.
His paper then runs the same means as a within-subjects study, with t(9) = 4.74. The two-group formula would be wrong there, because the two sets of ratings are correlated.
An ANOVA table showing F(2, 27) = 4.5
Three groups of ten give F(2, 27) = 4.5. Eta squared is 0.25, so a quarter of the variance in this sample goes with the groups. Cohen's f is 0.577.
Omega squared is 0.189, which is lower because it takes out the part chance alone would give a sample this small. Both count as large on Cohen's scale, where large starts at 0.14.
Reading your result
Start with the size label, then doubt it. Cohen's cut-offs for d are 0.2, 0.5 and 0.8 for small, medium and large, and Sawilowsky added 1.2 for very large and 2 for huge. Lakens calls such values arbitrary, and warns they should not be read rigidly.
Set it against what matters. Psychometrica points out that a daily aspirin has a d of only 0.07, yet prevents about 34 of every 1,000 cardiac deaths. A small d on a serious outcome can matter more than a large d on a lab task. Compare with past studies on the same measure when you can.
Read the interval before the label. With 30 people per group and a d of 0.5, the interval runs from −0.01 to 1.01. That reaches from no effect at all to a large one, so one study rarely pins the size down.
Use the overlap figures for plain speech. U3, overlap and the chance of beating all assume two normal groups with equal spread. A d of 0.5 means about 69% of group 1 sits above group 2's mean, and a random person from group 1 beats one from group 2 about 64% of the time.
Sample size climbs fast as d shrinks. At 80% power and a two-sided 0.05 level, it takes 26 people per group for a d of 0.8, 64 for 0.5 and 394 for 0.2. The pwr package also lands on about 64 for a d of 0.5.
Common mistakes
- Using the two-group formula on a paired t. It treats correlated scores as if they were independent, and gives the wrong d. In the Lakens example, one set of means gives t(18) as two groups and t(9) as repeated measures.
- Quoting power from the effect you just saw. It only restates your p-value. Use the required group size to plan the next study, with an effect you would care about.
- Reading partial eta squared as a share of all variance. From a factorial ANOVA, this F conversion gives the partial value for one factor, not that factor's share of the whole.
- Pooling very unequal spreads. If one group's SD is much larger, the pooled SD hides that. Report Glass's delta as well, and say which SD you used.
- Taking Cohen's labels as quality grades. A 51% powered study of d = 0.2 with 200 per group can still miss a real effect, and a large d from ten people may shrink when it is run again.
Questions people ask
Sources
- Lakens (2013), Calculating and reporting effect sizes to facilitate cumulative science, Frontiers in Psychology 4:863
- NIST Dataplot reference manual, Hedges' g
- effectsize R package, F_to_eta2
- effectsize R package, d_to_r
- effectsize R package, d_to_cles
- effectsize R package, interpret_cohens_d
- Champely, pwr package vignette (CRAN)
- Psychometrica, Computation of effect sizes (Lenhard and Lenhard)