How to Do a Meta-Analysis: A Step-by-Step Guide

My first meta-analysis pooled eleven studies into a tidy summary estimate with a narrow confidence interval, and I was pleased with it. The I² was 78%. I reported that figure in a table, described the heterogeneity as "substantial", and then proceeded to interpret the pooled estimate as though it meant something.

A reviewer I never met asked the question I should have asked myself: if the studies disagree this much, what exactly is the average of?

He was right, and the honest answer was that I had computed a number rather than answered a question. That mistake — pooling first and thinking about whether pooling made sense afterwards — is the commonest failure in this method, and it is entirely avoidable.

How to do a meta-analysis step by step

A meta-analysis sits inside a systematic review. If you have not done the review properly — protocol registered, search recorded, screening documented, risk of bias assessed — you do not have the inputs for one.

Assuming you do:

1. Decide whether to pool at all. Before any arithmetic. Do the studies address the same question, in comparable populations, with comparable interventions and outcomes? If not, describe them and stop. A well-argued "these are too different to combine" is a stronger result than a pooled estimate nobody can interpret.

2. Extract the right numbers. For each study: the effect estimate and its variance, or the raw data to compute them. Two people extracting independently, because extraction errors are common and invisible once they are in the spreadsheet.

3. Choose an effect measure. Risk ratio, odds ratio, risk difference, mean difference, standardised mean difference. Each answers a slightly different question and they are not interchangeable — odds ratios in particular overstate effects when the outcome is common, which readers routinely misread.

4. Choose a model. Fixed or random effects, discussed below.

5. Pool, and quantify heterogeneity.

6. Investigate the heterogeneity with prespecified subgroups or meta-regression — prespecified, or you are fishing.

7. Check robustness. Sensitivity analyses: excluding high-risk-of-bias studies, excluding the largest, leave-one-out.

8. Assess small-study effects, including publication bias.

9. Rate the certainty of the body of evidence, usually with GRADE.

Steps 6 to 9 are where novice meta-analyses stop and where the useful information lives.

Fixed versus random effects, properly

This choice is routinely described as technical. It is not; it is a question about what you believe.

Fixed effect assumes there is one true effect and the studies differ only by sampling error. You are estimating that single value. Weighting is by precision, so large studies dominate.

Random effects assumes the true effect varies between studies — different populations, doses, settings — and you are estimating the mean of that distribution. Small studies get relatively more weight.

Two consequences people miss.

First, random effects is not the safe default. It gives small studies more influence, and small studies are disproportionately affected by publication bias. Where small-study effects exist, random effects can be more biased than fixed.

Second, the confidence interval under random effects answers a different question. It describes uncertainty about the mean of the distribution, not the range of effects you might see in a new setting. For that you want a prediction interval, which is wider, frequently much wider, and almost never reported. If your prediction interval crosses the null while your confidence interval does not, that is important and your reader deserves to know.

Choose the model from your assumptions, state them, and report both estimates if the choice is arguable.

Heterogeneity, and what I² actually means

The mistake I made, and the one most worth correcting in print.

I² is not the amount of heterogeneity. It is the proportion of total variability attributable to between-study differences rather than chance. It depends on the precision of the included studies: the same real heterogeneity produces a high I² among large precise studies and a low one among small imprecise ones.

So I² = 80% in a set of large trials and I² = 80% in a set of small ones mean different things. Report τ², the estimated between-study variance, alongside it — that is on the scale of the effect and is interpretable.

The thresholds everyone quotes — 25%, 50%, 75% for low, moderate, high — were offered as a rough guide by their originators and have hardened into rules they explicitly did not intend.

And the substantive point: high heterogeneity is not a reason to abandon the analysis. It is the finding. If studies disagree, the interesting question is why. Subgroups, dose, population, risk of bias, year. The pooled estimate may be the least useful number in the paper.

When you have very few studies

The situation most guidance ignores and most reviewers meet: you have four trials.

With that many, the between-study variance τ² is estimated so poorly that random-effects intervals can be badly wrong — usually too narrow, which is the dangerous direction. Several alternative interval methods exist precisely for this case and are more conservative than the standard approach; using one, and saying which, is better than reporting an interval you do not believe.

Heterogeneity statistics are also near-useless at this sample size. An I² of 0% with four studies is not evidence of consistency; it is evidence of insufficient data to detect inconsistency. Reporting it without that caveat misleads readers who have been taught the thresholds.

Where the number of studies is genuinely small, the honest write-up often describes the studies individually and offers the pooled estimate as secondary. That reads as careful rather than weak, and the reporting standards do not require you to pool merely because you could.

Reading a forest plot well enough to write about one

Six things, in the order I look at them:

  1. The scale. Ratio measures on a log scale, usually. A plot that looks symmetric on a linear scale may not be.

  2. The weights. If one study carries 60%, you have one study with decoration. Say so.

  3. Whether the intervals overlap. Non-overlapping intervals are visible heterogeneity, whatever the I² says.

  4. The direction of the outliers. Are the discrepant studies the small ones, the old ones, or the ones from a particular setting? That is your subgroup hypothesis.

  5. The diamond's width, and whether a prediction interval is drawn. If it is not, ask why.

  6. What is missing. Studies excluded for lacking extractable data are not on the plot and may differ systematically from those that are.

Small-study effects

Funnel plots are conventional and weak: asymmetry has several causes besides publication bias, and with fewer than about ten studies they are uninterpretable. Egger's test and its relatives are tests of asymmetry, not of bias.

The stronger check is comparing published results against trial registrations. A registered trial with no publication, or a published outcome that differs from the registered one, is concrete evidence rather than an inference from a scatter plot. The registry makes that a tractable afternoon.

The analyses that change a conclusion

Three checks that take an hour and occasionally overturn the result.

Leave-one-out. Recompute the pooled estimate omitting each study in turn. If removing any single study moves the conclusion across the null, your finding rests on that study and the paper should say so plainly.

By risk of bias. Pool the low-risk studies separately. A result that holds only when high-risk studies are included is a well-documented pattern, and it is the single most informative subgroup analysis available.

By year. Early studies of an intervention are frequently smaller and more positive. A drift toward the null over time is a signature worth naming when you see it.

None of these is exotic and all three are prespecifiable, which matters — run after seeing the main result, they become a way of finding the answer you prefer. Write them into the protocol you register at PROSPERO and they are evidence instead.

What the write-up must contain

Report against PRISMA, which specifies the flow numbers, the search, the assessment and the synthesis. Beyond the checklist, three things reviewers look for and authors omit:

The model, and why. "Random-effects models were used" is not a justification.

τ² and a prediction interval, not I² alone.

What you did not pool, and why. The studies excluded from the meta-analysis but included in the review are part of the evidence, and leaving them unmentioned looks like selection.

A postdoc I worked with had the best habit I have seen here: she wrote the heterogeneity paragraph before running the pooled analysis, based on what she expected from reading the studies. Where the data later disagreed with her expectation, that was a finding. Where it matched, she had already explained it. It stopped her doing what I had done, which was computing a number and then constructing an interpretation to fit it.

The Cochrane handbook is the most thorough free reference for all of this, and its chapters on heterogeneity and on choosing effect measures are worth reading before your first attempt rather than after your first reviewer comment. Keeping the protocol, the extracted data and the analysis script together is what makes the sensitivity analyses a short job rather than a rebuild, and scoping the literature properly first is what tells you whether pooling was ever going to be possible.

Related reading

More on reviews and synthesis:

How to Do a Meta-Analysis: A Step-by-Step Guide