Sub topic 12
Meta-analysis: combining many trials
This chapter assumes you know what a randomized controlled trial is, what a mean and a standard deviation are, and how Cohen's d expresses a difference between groups in standard deviation units. It builds on the previous chapter on effect sizes.
What a meta-analysis adds
A single trial of a psychotherapy usually has a small sample, one therapist team, one site, and one comparison condition. Its result is noisy. A meta-analysis is a statistical method that combines the effect sizes from many trials into one pooled estimate. It rests on a systematic search for trials, not on a convenient sample of studies.
A meta-analysis gives you three things a single trial cannot:
- Precision. Pooling many trials shrinks the confidence interval around the effect.
- Generalizability. If trials from different countries, clinics, and therapists point the same way, the result is less likely to be a quirk of one setting.
- Explanation of differences. You can test whether effects differ by control condition, patient group, or treatment length.
A meta-analysis is not a literature review in which an author picks studies and describes them. It follows a written protocol that fixes the search, the inclusion rules, and the analysis before the results are known.
The steps of a meta-analysis
- Define the question. For example: does CBT reduce depressive symptoms more than a waitlist in adults?
- Search. Use several databases and trial registries, and record the search terms so others can repeat it.
- Screen. Apply the inclusion rules to titles, abstracts, and full texts. Two reviewers usually screen independently.
- Extract. Record means, standard deviations, and sample sizes for each arm, and rate each trial's risk of bias.
- Pool. Convert results to a common effect size and combine them with weights.
- Check. Look at how much the trials disagree and whether the evidence base looks incomplete.
Pooling: weighting by precision
The pooled effect is a weighted average. Each trial gets a weight based on how precisely it estimated its effect. A large trial has a small variance and gets a large weight. A small trial gets a small weight. The usual weight is the inverse of the effect size's variance.
Two models are common:
- Fixed-effect model. It assumes all trials estimate one true effect, and that differences between trials are sampling error only. This rarely holds in psychotherapy, where therapists, patients, and protocols differ.
- Random-effects model. It assumes the true effect differs from trial to trial and estimates the average of that distribution. It adds a between-trial variance term, called tau squared. Small trials get relatively more weight than under the fixed-effect model, and confidence intervals are wider.
Most psychotherapy meta-analyses use random effects, because the trials differ in ways that matter.
Small-sample correction
Cohen's d is slightly biased upward in small samples. Meta-analysts usually apply Hedges' g, which multiplies d by a correction factor close to 1 for larger samples. In this chapter, g and d are read the same way.
A worked example
The code below pools five invented trials of a therapy against a waitlist. It uses inverse-variance weights, a DerSimonian-Laird estimate of tau squared, and computes Cochran's Q and I squared.
import math
# (effect size g, sample size treatment, sample size control)
trials = [
(0.80, 30, 30),
(0.55, 45, 45),
(0.95, 20, 20),
(0.40, 120, 118),
(0.70, 60, 62),
]
def variance_g(g, n1, n2):
"""Approximate sampling variance of a standardized mean difference."""
return (n1 + n2) / (n1 * n2) + g ** 2 / (2 * (n1 + n2))
effects = [t[0] for t in trials]
variances = [variance_g(*t) for t in trials]
# Fixed-effect weights and pooled estimate
w = [1 / v for v in variances]
fixed = sum(wi * ei for wi, ei in zip(w, effects)) / sum(w)
# Cochran's Q, the weighted squared deviation from the fixed estimate
q = sum(wi * (ei - fixed) ** 2 for wi, ei in zip(w, effects))
df = len(trials) - 1
# DerSimonian-Laird between-trial variance
c = sum(w) - sum(wi ** 2 for wi in w) / sum(w)
tau2 = max(0.0, (q - df) / c)
# Random-effects weights and pooled estimate
w_re = [1 / (v + tau2) for v in variances]
pooled = sum(wi * ei for wi, ei in zip(w_re, effects)) / sum(w_re)
se = math.sqrt(1 / sum(w_re))
i2 = max(0.0, (q - df) / q) * 100 if q > 0 else 0.0
print(f"Fixed-effect g = {fixed:.2f}")
print(f"tau^2 = {tau2:.3f}, Q = {q:.2f} (df = {df}), I^2 = {i2:.0f}%")
print(f"Random-effects g = {pooled:.2f}, 95% CI [{pooled - 1.96 * se:.2f}, {pooled + 1.96 * se:.2f}]")The largest trial (about 240 participants) has the smallest effect, 0.40. Under the fixed-effect model it dominates, so the pooled value sits closer to 0.4. Under random effects, the small trials count for more and the pooled value rises. This is a common pattern. It also hints at a problem, covered below: small trials often report larger effects than large ones.
Heterogeneity
Heterogeneity is the variation in true effects across trials beyond what chance would produce. Three statistics describe it:
| Statistic | What it tells you | Rough guide |
|---|---|---|
| Q | Tests whether trial results differ more than sampling error allows | Low power with few trials, oversensitive with many |
| I squared | Share of total variation due to real differences between trials | About 25%, 50%, 75% are read as low, moderate, high |
| Tau squared | Size of the between-trial variance, in squared effect-size units | Depends on the scale, so interpret with tau, its square root |
Treat I squared with care. It is a proportion, not a measure of how large the differences are. With very large trials, I squared can be high even when the effects differ only slightly. A prediction interval, the range in which a new trial's true effect would likely fall, is often more informative than I squared alone.
When heterogeneity is high, you can run a subgroup analysis (for example, individual versus group therapy) or a meta-regression, where trial characteristics predict effect size. Both are observational comparisons across trials. A subgroup difference does not prove that the subgroup variable caused the difference, because trials were not randomized to it.
Where a meta-analysis can mislead
A meta-analysis can be no better than the trials inside it. Several problems recur in psychotherapy research.
- Garbage in, garbage out. Pooling many trials with high risk of bias gives a precise estimate of a biased effect. Narrow confidence intervals can create false confidence.
- Mixing control conditions. A waitlist comparison, a placebo-like attention control, and a comparison with another active therapy answer different questions. Pooling them into one number blends those questions. Analyze them separately.
- Apples and oranges. Trials may differ in diagnosis, dose, therapist training, and outcome measure. Pooling can hide that a therapy works for one group and not another.
- Publication bias. Trials with significant results are more likely to be published. A meta-analysis of the published literature then overstates the effect. A funnel plot shows effect size against precision. Without bias, points form a symmetric funnel. A gap where small, null-result trials should appear suggests missing studies. Tools such as trim-and-fill and Egger's test try to detect or adjust for this, but they are unreliable with few trials or high heterogeneity.
- Outcome reporting bias. Authors may report only the measures that worked.
- Allegiance effects. Trials run by supporters of a therapy tend to find larger effects for it. Coding researcher allegiance as a moderator is common practice.
- Multiple effects per trial. A trial with several outcomes or several treatment arms contributes non-independent effect sizes. Treating them as independent overweights that trial. Use one effect per trial or a model that handles dependence.
- Data dredging. Running many moderator tests until one is significant produces false findings. A pre-registered protocol limits this.
Reading a psychotherapy meta-analysis
When you read one, check these points in order:
- Was a protocol registered before the analysis, and were the inclusion rules clear?
- Which control conditions were pooled, and were they separated?
- What is the pooled effect with its confidence interval, and the prediction interval?
- How large are I squared and tau squared?
- How many included trials had low risk of bias? Does the effect shrink when only those are analyzed?
- Did the authors test for publication bias, and does the effect hold after adjustment?
- How large is the effect against a clinical benchmark, not only a significance test?
Link to the next topics
Meta-analysis supplies the pooled evidence that guideline bodies use to name empirically supported treatments. It is also the main source of the finding that different therapies often perform alike, which later chapters examine. The limits in this chapter are the reason such conclusions are held with caution.
Exercise
A meta-analysis of 12 trials of a therapy reports a pooled g of 0.75, 95% CI [0.60, 0.90], I squared = 70%. The funnel plot shows no small trials with small or negative effects. Eight of the 12 trials compared therapy with a waitlist and four compared it with an active treatment. Name two reasons to be cautious about reading 0.75 as "the effect of this therapy", and one analysis you would ask for.
Show answer
First, the pooled value mixes waitlist and active-comparison trials, which answer different questions, and waitlist comparisons tend to give larger effects. Second, the missing small null-result trials in the funnel plot suggest publication bias, and I squared of 70% shows high heterogeneity, so a single average hides real differences. Ask for a subgroup analysis separating waitlist from active-comparison trials, ideally with a prediction interval, and a sensitivity analysis restricted to low-risk-of-bias trials. A publication bias adjustment is also reasonable.
Exercise
In the code example, what would happen to the random-effects pooled estimate if the between-trial variance tau squared were 0, and why?
Show answer
The random-effects weights, 1 / (variance + tau squared), would equal the fixed-effect weights, so the random-effects estimate would match the fixed-effect estimate. This happens when Q is no larger than its degrees of freedom, meaning trial differences are consistent with sampling error alone.