Signature
SD = SE_MD / sqrt(1 / n_1 + 1 / n_2)
| Inputs | Definition | Unit |
|---|---|---|
SE_MD | Standard error of the difference between the two group means, above zero | outcome units |
n_1 | Number of participants in the experimental group, above zero | participants |
n_2 | Number of participants in the comparator group, above zero | participants |
SD | Standard deviation of the outcome within each group, taken as the same in both | outcome units |
|---|
Function
Mean difference between two groups and the study summaries behind its analysis
Maps the means, standard deviations and sizes of two groups on one continuous scale to the mean difference and its standard error, the pair that an inverse-variance meta-analysis takes for each study, and recovers or checks the summaries a report leaves out. The pooled mean difference is HE-FM-ADMA-001 with y_i equal to the study's mean difference and v_i equal to its squared standard error, and heterogeneity and random-effects pooling are HE-FM-ADMA-002 to HE-FM-ADMA-005, all run from estimates and standard errors by HE-CF-ADMA-001. A confidence interval is HE-FM-AN-001, and a standard error read back from a reported interval is that record solved for SE, the form HE-FM-HR-007 gives on the log scale. Differences in mean cost and mean QALYs enter the ratio HE-FM-ICER-001 and the net benefit records HE-FM-NMB-002 and HE-FM-AN-004. Dividing by a pooled standard deviation in place of leaving natural units gives Cohen's d, HE-FM-CD-001. Notation follows the Mean Difference article.
Try this function
Implementations
Excel
Recovered standard deviation in one named Excel cell
With the reported standard error in a cell named SeMeanDiff and the sizes in SizeGroup1 and SizeGroup2, the formula goes in a cell named SdRecovered and is entered for both groups.
=SeMeanDiff/SQRT(1/SizeGroup1+1/SizeGroup2)
Assumptions
Same standard deviation in both groups for the recovered value
The Handbook requires the assumption that the standard deviations are the same in both groups and notes that the result is the average of the two arms' standard deviations. With unequal values and equal group sizes it equals the root of the mean of the two variances (derived), as trial A of HE-EX-MEAD-001 shows with 14.51 for standard deviations of 14 and 15.
Standard error belonging to the difference between groups
SE_MD relates to the difference between means, not to one group's mean. For one group's mean the Handbook multiplies the standard error by the root of that group's size. For an interval on a small trial, which the Handbook describes as fewer than about 60 in each group, the 3.92 is replaced by twice the t value on n_1 + n_2 minus 2 degrees of freedom.
Worked examples
Cochrane Handbook example of a standard deviation from a standard error
The Handbook's example has 25 and 22 participants, a mean difference of 3.8 and a t statistic of 2.78, so the standard error is 3.8 divided by 2.78, which it gives as 1.37, and the standard deviation is 4.69.
SE_MD = 1.37; n_1 = 25; n_2 = 22; SD = 4.69
Standard deviation recovered from an illustrative reported 95% interval
Illustrative trial with 150 patients in each group and a reported 95% interval for the mean difference of -8.1 to -1.9. The width of 6.2 divided by 3.92 gives a standard error of 1.5816, which is HE-FM-AN-001 solved for SE.
SE_MD = 1.5816; n_1 = 150; n_2 = 150; SD = 13.697
Equal standard deviations in trial C are returned exactly
Limiting case. Trial C of the article has a standard deviation of 18 in both groups of 300 and a standard error of 1.4697, and the formula returns 18.
SE_MD = 1.4697; n_1 = 300; n_2 = 300; SD = 18
Common errors
Multiplying the standard error of a mean difference by the root of a group size
The Handbook's rule of multiplying by the root of the sample size is for one group's own standard error and must not be used on the standard error of the difference. In its example 1.37 times the root of 25 gives 6.85 in place of 4.69, about 46% too large (computed here).
Keeping 3.92 for an interval from a small trial
An interval from a small trial uses a t value, so its width over 3.92 overstates the standard error. At 25 and 22 participants, twice the t value on 45 degrees of freedom is about 4.028, so the standard error and the recovered standard deviation are both about 2.8% too large (computed here).
Sources
Cochrane Handbook on standard deviations from differences in means
Higgins JPT, Li T, Deeks JJ (editors). Chapter 6: Choosing effect measures and computing estimates of effect. In: Higgins JPT, Thomas J, Chandler J, Cumpston M, Li T, Page MJ, Welch VA (editors). Cochrane Handbook for Systematic Reviews of Interventions version 6.5. Cochrane; 2024. Section 6.5.2.3, steps (2) to (4), with the standard error as the mean difference over the t statistic, the 95% interval divided by 3.92 for a large trial or by a value from the t distribution when groups are small, and the within-group standard deviation as the standard error over the root of 1/N_E plus 1/N_C, with the example values 1.37, 25, 22 and 4.69, entered for both groups. Section 6.5.2.2 gives the rule for one group's own standard error.
Canonical Identity
Stable URI · Machine-readable · Resolvable · CC BY 4.0
