Meta-analysis methods and formulas

This page collects the most common formulas behind each step of a meta-analysis described in Meta-analysis steps — enough to understand how the numbers are actually computed, not an exhaustive reference. ProMeta implements a much wider range of formulas, covering many more effect-size types, models, and edge cases than shown here. In all formulas below, k is the number of studies, and each study i contributes an effect size (Y with subscript i) and its variance (v with subscript i).

Effect sizes based on means

Cohen's d standardizes the raw difference between two group means using the pooled standard deviation:

d= M1M2 SDpooled
SDpooled= (n11) SD12 + (n21) SD22 n1+n22

Cohen's d is slightly biased in small samples. Hedges' g corrects for this with a small-sample correction factor J:

g=d×J , J=1 34df1

The variance of d (needed to weight the study in the pooled analysis) is:

vd= n1+n2 n1n2 + d2 2(n1+n2)

Effect sizes based on binary data

For a 2×2 table of a study (a, b, c, d = cell counts), the log odds ratio and its variance are:

ln(OR)= ln adbc
vln(OR)= 1a+ 1b+ 1c+ 1d

The log risk ratio, computed on the same table, is:

ln(RR)= ln aa+b cc+d

Both are analyzed on the log scale (where sampling distributions are closer to normal) and only exponentiated back to OR/RR for reporting.

Effect sizes based on correlations

Pearson's r is not analyzed directly, since its sampling distribution is skewed for values far from zero. It is first converted to Fisher's Z:

Zr= 0.5×ln 1+r1r
vZr= 1n3

Pooled results are converted back to the r scale only at the end, for reporting.

Once an effect size is computed for every study, they still need to be combined into a pooled estimate — see Statistical models for the fixed-effect, random-effects, and multilevel models that do this, and the weights (w with subscript i) and pooled estimate (M) referenced below.

Heterogeneity

Q tests whether the observed variation across study effect sizes is larger than expected from sampling error alone (its null distribution is chi-squared with k − 1 degrees of freedom):

Q= i=1k wi (YiM)2

Q is sensitive to the number of studies, so is used to quantify heterogeneity as a percentage of total variation, independent of k:

I2= max(0, QdfQ ) ×100%

As a rule of thumb (Higgins & Thompson, 2002), around 25%, 50%, and 75% are considered low, moderate, and high heterogeneity — though this should always be read alongside the confidence interval around , not as a hard cutoff.

Moderators

When a categorical moderator splits studies into p subgroups, Q decomposes into a between-subgroups component (does the moderator explain some of the heterogeneity?) and a within-subgroups component (how much heterogeneity remains inside each subgroup):

QB= g=1p wg (MgM)2

A continuous moderator is tested instead with a weighted meta-regression, where the effect size is regressed on the moderator using the same inverse-variance weights as the pooled model above.

Publication bias

Rosenthal's Fail-safe N estimates how many additional, unpublished null-result studies (averaging Z = 0) would need to exist to bring a significant pooled result down to non-significance:

Nfs= (i=1kZi)2 2.706 k

Fail-safe N only addresses one specific failure mode (studies missing entirely) and says nothing about selective outcome or analysis reporting within studies that were published. It is normally reported alongside, not instead of, a funnel plot and Egger's regression test (which regresses each study's standardized effect on its precision, testing whether smaller, less precise studies systematically report larger effects — the visual asymmetry a funnel plot shows).

Extensions

The methods above cover a single pairwise comparison per meta-analysis. Two situations call for an extended model:

References

The formulas above follow the notation and derivations in Borenstein, Hedges, Higgins, & Rothstein (2009), Introduction to meta-analysis — see the full reference list for further reading on each method.