Author-reviewedEvidence: highv1.0.3

Pairwise Meta-Analysis

Pairwise meta-analysis is the statistical pooling of trials of the same two treatments, such as head-to-head RCTs, into one estimate of relative effect.

Download concept guide
Last reviewed byDr Darrin Baines

Concept Architecture

Pairwise Meta-Analysis for Pooling Head-to-Head Trials of Two Treatments

A pairwise meta-analysis of head-to-head trials takes every eligible randomised trial, found by a systematic review, that compared the same two treatments, for example drug A against drug B, and combines their results into one relative effect with a confidence interval. Each trial contributes its own effect estimate, and more precise trials carry more weight. The NICE technology appraisal manual (PMG36) states a preference for randomised trials that compare the intervention directly with a relevant comparator, so a pooled direct comparison is a natural starting point for the clinical evidence in a health technology assessment, and the manual gives particular attention to relative effects that will be used in an economic model. Pairwise pooling uses only direct evidence, which sets it apart from an indirect comparison or a network meta-analysis.

Two stages, a summary per trial and then a weighted average

The Cochrane Handbook (chapter 10) describes meta-analysis as typically a two-stage process. First, a summary statistic is calculated for each study in the same way, such as a risk ratio for a dichotomous outcome or a difference in means for a continuous one. Second, the summary effect is a weighted average of those study estimates, and its standard error gives the confidence interval.

The choice of effect measure comes first. For dichotomous outcomes the Handbook names the risk ratio and odds ratio as relative measures and the risk difference and number needed to treat as absolute ones. It reports that relative measures are, on average, more consistent across studies than absolute measures, and generally recommends pooling risk ratios or odds ratios, then re-expressing the result in absolute terms. The number needed to treat has no simple variance estimator and is computed from the pooled result afterwards. Ratio measures, including the hazard ratio for time-to-event outcomes, are pooled on the natural log scale.

Fixed-effect and random-effects pooling

The two standard models differ in what they assume the trials are estimating. Both can be fitted with the inverse-variance method, which gives each study a weight equal to one over the variance of its effect estimate; for dichotomous outcomes with few events the Handbook generally prefers the Mantel-Haenszel method for a fixed-effect analysis. Under a fixed-effect model the pooled estimate and its standard error are given by the expressions below.

μ^FE=∑i=1kwiWyi,W=∑i=1k1vi,SE(μ^FE)=1W\hat{\mu}_{FE} = \sum_{i=1}^{k} \frac{w_i}{W} y_i, \qquad W = \sum_{i=1}^{k} \frac{1}{v_i}, \qquad SE(\hat{\mu}_{FE}) = \frac{1}{\sqrt{W}}

where yiy_i is the effect estimate from head-to-head trial ii (for example a log risk ratio), viv_i is its variance, wi=1/viw_i = 1/v_i is its inverse-variance weight, WW is the total weight, kk is the number of trials and μ^FE\hat{\mu}_{FE} is the pooled fixed-effect estimate. The Handbook states that this model assumes all trials estimate the same underlying effect, also called the common-effect assumption.

A random-effects model assumes the trials estimate different but related effects drawn from a distribution, conventionally normal, whose variance is the between-study variance τ2\tau^2. In the RevMan algorithms set out by Deeks and Higgins, the simplest estimator, from DerSimonian and Laird, and the resulting weights are as follows.

τ^DL2=max⁡{0,Q−dfC},C=W−∑i=1kwi2W,wi∗=1vi+τ^DL2\hat{\tau}^2_{DL} = \max\left\{0, \frac{Q - df}{C}\right\}, \qquad C = W - \frac{\sum_{i=1}^{k} w_i^2}{W}, \qquad w_i^{*} = \frac{1}{v_i + \hat{\tau}^2_{DL}}

where τ^DL2\hat{\tau}^2_{DL} is the estimated between-study variance, QQ is Cochran's heterogeneity statistic defined below, df=k−1df = k - 1 is its degrees of freedom, CC is a scaling term built from the fixed-effect weights and wi∗w_i^{*} are the random-effects weights, which replace wiw_i in the weighted average. The Handbook records that simulation studies favour other estimators, such as Paule and Mandel or restricted maximum likelihood (REML), now the RevMan default, although no single approach is universally preferable and estimators seldom change the summary effect much. The Hartung-Knapp-Sidik-Jonkman adjustment widens the confidence interval to reflect uncertainty in τ2\tau^2, but can be overly wide with few studies and overly narrow when τ^2\hat{\tau}^2 is zero.

The NICE Decision Support Unit's technical support document 2 (TSD 2) sets the same models in a Bayesian generalised linear modelling framework. In the random-effects model, trial-specific effects are treated as exchangeable, the fixed-effect model is the special case with zero between-trial variance, and the two models are compared using residual deviance and the deviance information criterion.

Measuring heterogeneity with Q, I-squared and tau-squared

Every trial in a pairwise analysis compares the same two treatments, so head-to-head results that disagree by more than chance point to differences in patients, interventions, outcome definitions or trial conduct. That excess variation is heterogeneity, and it limits how far one pooled head-to-head effect can stand for the effect in the population being appraised. Cochran's Q and its rescaled form, as Higgins and colleagues defined it, are shown below.

Q=∑i=1k(yi−μ^FE)2vi,I2=100%×max⁡{0,1−dfQ}Q = \sum_{i=1}^{k} \frac{\left(y_i - \hat{\mu}_{FE}\right)^2}{v_i}, \qquad I^2 = 100\% \times \max\left\{0, 1 - \frac{df}{Q}\right\}

where QQ is compared with a chi-squared distribution on df=k−1df = k - 1 degrees of freedom and I2I^2 is the percentage of total variation across studies due to heterogeneity rather than chance.

With few head-to-head trials the Handbook warns that the test has low power and that I-squared and tau-squared are very uncertain, so simple thresholds mislead and the choice between fixed and random effects should never rest on a heterogeneity test.

Worked example of four head-to-head trials of drug A and drug B

The figures below are illustrative. Four randomised trials compare drug A with drug B, and the outcome is hospital admission within 12 months. Each log risk ratio has variance 1a+1c−1n1−1n2\frac{1}{a} + \frac{1}{c} - \frac{1}{n_1} - \frac{1}{n_2} (the square of the standard error given in the RevMan algorithms), where aa and cc are the admissions and n1n_1 and n2n_2 the patients on drug A and drug B; for trial 1 that is 1/30 plus 1/45 minus 1/200 minus 1/200, or 0.04556.

TrialDrug A admitted / patientsDrug B admitted / patientsRisk ratioLog risk ratio yiy_iVariance viv_iWeight wiw_i
130 / 20045 / 2000.667-0.40550.0455621.951
260 / 50070 / 5000.857-0.15420.0269537.102
312 / 10025 / 1000.480-0.73400.103339.677
490 / 80096 / 8000.938-0.06450.0190352.555

1. Fixed-effect estimate. The weights sum to 121.29 and the weighted log risk ratios to -25.1146.

μ^FE=−25.1146121.29=−0.2071\hat{\mu}_{FE} = \frac{-25.1146}{121.29} = -0.2071

where μ^FE\hat{\mu}_{FE} is the pooled log risk ratio. Its standard error is 1/121.29=0.0908\sqrt{1/121.29} = 0.0908, so the risk ratio is 0.813 with a 95% confidence interval of 0.680 to 0.971.

2. Heterogeneity. The deviations from -0.2071 are -0.1984, 0.0529, -0.5269 and 0.1425, giving weighted squared terms of 0.8640, 0.1039, 2.6867 and 1.0676.

Q=0.8640+0.1039+2.6867+1.0676=4.7222,I2=4.7222−34.7222×100%=36.5%Q = 0.8640 + 0.1039 + 2.6867 + 1.0676 = 4.7222, \qquad I^2 = \frac{4.7222 - 3}{4.7222} \times 100\% = 36.5\%

where QQ has 3 degrees of freedom and I2I^2 is the share of variation attributed to heterogeneity.

3. Between-study variance. The squared weights sum to 4,714.1, so the denominator is 121.29 minus 4,714.1/121.29, or 82.42.

τ^DL2=4.7222−382.42=0.0209\hat{\tau}^2_{DL} = \frac{4.7222 - 3}{82.42} = 0.0209

where τ^DL2\hat{\tau}^2_{DL} is the DerSimonian and Laird estimate, so τ^=0.1446\hat{\tau} = 0.1446 on the log scale.

4. Random-effects estimate. Adding 0.0209 to each variance gives weights of 15.048, 20.899, 8.050 and 25.047, summing to 69.044, and the weighted log risk ratios sum to -16.8479.

μ^RE=−16.847969.044=−0.2440\hat{\mu}_{RE} = \frac{-16.8479}{69.044} = -0.2440

where μ^RE\hat{\mu}_{RE} is the pooled mean log risk ratio. Its standard error is 1/69.044=0.1203\sqrt{1/69.044} = 0.1203, so the risk ratio is 0.784 with a 95% confidence interval of 0.619 to 0.992.

5. Model input. An illustrative registry gives a 12-month admission risk of 0.15 on drug B in the population being appraised. Applying the pooled risk ratio gives 0.15 x 0.813 = 0.122 on drug A under fixed effects, about 28 fewer admissions per 1,000 patients, and 0.15 x 0.784 = 0.118 under random effects, about 32 fewer per 1,000.

Interpretation. Trial 4 carries 43.3% of the fixed-effect weight (52.555 of 121.29) but 36.3% under random effects (25.047 of 69.044), while trial 3 rises from 8.0% to 11.7%. The smaller trials report the larger benefits. This is the small-study pattern the Handbook warns about. Random-effects weighting moves the estimate towards the smaller trials, and if the pattern reflects bias both models are problematic, so the analyst would report both, flag the possible small-study effect and test the choice in a scenario analysis. With four trials, τ^2\hat{\tau}^2 is poorly estimated, and the Handbook encourages prediction intervals only with a reasonable number of studies, such as five or more, so none is computed here.

How the pooled effect enters an appraisal and a model

PMG36 has a subsection headed pairwise meta-analysis. It says pooling is appropriate when there are enough relevant and valid data with comparable outcome measures, asks for each study's characteristics to be reported with a forest plot, and asks for pooling to be accompanied by an assessment of heterogeneity, which a random-effects model takes into account only to some extent. Known clinical heterogeneity may be explored with subgroup analysis and meta-regression.

In cost-effectiveness analysis the relative effect is usually applied to a baseline risk from another source, as in step 5. The Handbook notes that converting a relative effect to an absolute one always requires an assumed comparator risk, and PMG36 asks for a check that the relative effect is constant over baseline risk when control-group risks differ substantially between trials, especially when the model's baseline differs greatly from the trials. TSD 2 states that for syntheses of two-arm trials frequentist methods can be used, provided parameter uncertainty is propagated through the decision model, which in a probabilistic sensitivity analysis means sampling the pooled log risk ratio rather than fixing it. Where heterogeneity is present, TSD 3 argues that the predictive distribution of the effect in a new trial may often be more relevant to decision making than the distribution of the mean.

Pairwise, indirect and network meta-analysis

A pairwise meta-analysis uses direct evidence on one pair of treatments only. When the treatments of interest have never been compared in the same trial, PMG36 asks for the series of pairwise head-to-head trials to be presented together with a network meta-analysis if appropriate. It defines an adjusted indirect comparison as a synthesis of trials linked through a common comparator, and a mixed treatment comparison as one that also includes head-to-head trials of the technologies of interest.

TSD 2 describes pairwise meta-analysis and indirect comparisons as special cases of network meta-analysis, so the same model applies to all three. PMG36 asks for results from pairwise meta-analyses of the direct comparisons to be presented alongside the full network results, and for heterogeneity between pairwise comparisons and inconsistency between direct and indirect evidence to be reported. Pairwise pooling therefore remains a check on the network even when a network meta-analysis supplies the model inputs. Pooling of summary results, as opposed to participant records, is covered under aggregate data meta-analysis.

Limitations and common misreadings

The confidence interval from a random-effects analysis describes uncertainty about the mean effect, not the spread of effects; the Handbook calls quoting it in isolation inappropriate. Under heterogeneity a fixed-effect estimate may describe an effect that exists in no population, with an interval that is too narrow. Random-effects weighting gives smaller trials relatively more weight, so if smaller trials are systematically different, for example through publication bias, the random-effects result exaggerates that bias.

Rare events need different methods. The Handbook advises against inverse-variance methods, including DerSimonian and Laird, when events are rare, and reports the Peto odds ratio as the least biased and most powerful method at event rates below 1% under stated conditions. Finally, the Handbook's mandatory standard is to meta-analyse only when participants, interventions, comparisons and outcomes are similar enough for the answer to be clinically meaningful; a precise pooled number from dissimilar trials is not evidence of a single treatment effect.

Sources

  • Deeks JJ, Higgins JPT, Altman DG, McKenzie JE, Veroniki AA (editors). Chapter 10: Analysing data and undertaking meta-analyses. In: Cochrane Handbook for Systematic Reviews of Interventions version 6.5. Cochrane; 2024. Sections 10.2 to 10.4 and 10.10.
  • Deeks JJ, Higgins JPT. Statistical algorithms in Review Manager. Cochrane Statistical Methods Group; May 2022.
  • Dias S, Welton NJ, Sutton AJ, Ades AE. NICE DSU Technical Support Document 2: A generalised linear modelling framework for pairwise and network meta-analysis of randomised controlled trials. Decision Support Unit; 2011, last updated September 2016.
  • Dias S, Sutton AJ, Welton NJ, Ades AE. NICE DSU Technical Support Document 3: Heterogeneity: subgroups, meta-regression, bias and bias-adjustment. Decision Support Unit; 2011, last updated April 2012.
  • Higgins JPT, Thompson SG, Deeks JJ, Altman DG. Measuring inconsistency in meta-analyses. BMJ. 2003;327(7414):557-560.
  • National Institute for Health and Care Excellence. NICE technology appraisal and highly specialised technologies guidance: the manual (PMG36). London: NICE; 2022, last updated 13 October 2026. Sections 3.4.1 and 3.4.8 to 3.4.20.

Institutional Perspectives (4)

  • NICE

    Pool Comparable Trials With a Forest Plot and an Assessment of Heterogeneity

    NICE considers combining outcome data through meta-analysis appropriate when there are enough relevant and valid data using comparable outcome measures. Each study's characteristics and limitations should be reported with a forest plot, and pooling should come with an assessment of heterogeneity, which a random rather than fixed effects model accounts for only to some extent, so its reasons should be explored through subgroup analysis, meta-regression or sensitivity analysis. Where a network meta-analysis is presented, pairwise meta-analyses of the direct comparisons should be shown alongside it.

    NICE technology appraisal and highly specialised technologies guidance: the manual (PMG36), sections 3.4.8 to 3.4.10 and 3.4.20, last updated 31 March 2026View source →
  • IQWiG

    Model Choice Set by the Number of Studies Pooled

    IQWiG chooses a random-effects model when heterogeneity cannot be excluded with sufficient certainty, and sets a standard approach by number of studies. With 2 studies it applies a fixed-effect model, using inverse variance for continuous data or Mantel-Haenszel for binary data. With 3 or 4 studies it uses, for common effect measures, a Bayesian random-effects meta-analysis with informative priors for heterogeneity, checked against a qualitative summary. With 5 or more it uses the Knapp-Hartung method with the Paule-Mandel heterogeneity estimator, keeping the pooled estimate only if it is informative.

    IQWiG General Methods, version 8.0 of 19 December 2025 (English translation), section 10.3.7View source →
  • EU HTA Coordination Group

    Knapp-Hartung as the Standard Random-Effects Method From Five Studies

    The EU HTA Coordination Group guideline treats direct comparisons as standard pairwise meta-analyses of trials comparing the treatment of interest with the same comparator, after checking similarity and homogeneity. For fixed-effect pooling the standard methods are inverse variance for continuous data and Mantel-Haenszel for binary data. DerSimonian-Laird is no longer recommended, and Knapp-Hartung with the Paule-Mandel estimator is the standard random-effects method with five or more studies, alongside prediction intervals. With fewer studies or rare events, alternatives include a qualitative summary, Bayesian methods or the beta-binomial model.

    Methodological Guideline for Quantitative Evidence Synthesis: Direct and Indirect Comparisons, adopted by the HTA CG on 8 March 2024 under Regulation (EU) 2021/2282, sections 4, 4.1 and 4.2 (Key Points 2)View source →
  • HAS

    Pairwise Meta-Analysis Where Several Comparable Trials Exist

    HAS regards randomised trials comparing the evaluated intervention directly with relevant comparators, together with pairwise meta-analyses, as the best source of evidence on comparative effectiveness in economic evaluations. Where several studies compare two interventions on the same criteria with comparable protocols, their estimates should be summarised by a pairwise meta-analysis conducted according to existing guidelines. A study that cannot be pooled should still be presented and used to discuss uncertainty, and when several sources inform one model parameter a pairwise meta-analysis should be preferred.

    HAS, Choices in methods for economic evaluation (methodological guidance), validated by the CEESP on 6 April 2020, section 2.2.2 (Guideline 13) and section 4.3View source →

Functions & Formulae (1)

g(a, n1, c, n2) = (RR, y, v)

Maps the event counts and arm sizes of one head-to-head trial of drug A against drug B to the risk ratio, its natural log and the variance of that log, the per-trial inputs that an inverse-variance pairwise meta-analysis of a dichotomous outcome pools. The pooling steps are existing records: the fixed-effect estimate HE-FM-ADMA-001, Cochran's Q HE-FM-ADMA-002, I-squared HE-FM-ADMA-003, the DerSimonian and Laird between-study variance HE-FM-ADMA-004 and the random-effects mean HE-FM-ADMA-005, all run in one pass by HE-CF-ADMA-001 with each trial's standard error taken as the square root of v. Applying the pooled risk ratio to a baseline risk from another source in an economic model is HE-FM-ARR-002. Notation follows the Pairwise Meta-Analysis article.

  • Log risk ratio and its variance from the two-by-two counts of one head-to-head trial

    RR = (a / n1) / (c / n2); y = log(RR); v = 1 / a + 1 / c - 1 / n1 - 1 / n2

    Divides the risk of the event on drug A, a/n1, by the risk on drug B, c/n2, takes the natural log, and computes the variance of the log risk ratio as one over a plus one over c, minus one over n1 and one over n2. This is the square of the standard error of the log risk ratio in the RevMan statistical algorithms, and one over v is the trial's inverse-variance weight in HE-FM-ADMA-001. The formula is applied to each trial in turn, so the trial subscript i of the article is dropped; y and v become the y_i and v_i that the pooling records take.

View all formulae

Frequently Asked Questions (6)

  • What is pairwise meta-analysis?

    Pairwise meta-analysis is the statistical pooling of trials of the same two treatments, such as head-to-head RCTs, into one estimate of relative effect.

    Source: Deeks et al. 2024

  • What does pairwise meta-analysis compare, and what can it not?

    Pairwise meta-analysis combines the trials that compared the same two treatments, producing a single pooled estimate of how those two differ. It is the standard approach when the question concerns one pair, but it cannot bring in treatments outside that pair or compare options never trialled against each other. For questions involving several competing treatments, this two-at-a-time limit is what leads researchers to network methods instead. Combining evidence on a single pair is both its function and its boundary. Borenstein and colleagues (2009) describe this.

    Source: Borenstein et al. 2009

  • How is pairwise meta-analysis conducted?

    Pairwise meta-analysis is conducted by identifying the studies that directly compared the two treatments, extracting the effect estimate and its precision from each, and combining them into a pooled estimate weighted by precision, using a fixed-effect or random-effects model according to the heterogeneity. The results are presented, often in a forest plot, with an assessment of heterogeneity. So pairwise meta-analysis is conducted by synthesising the head-to-head studies for a single comparison through weighted averaging, producing a combined estimate of the relative effect of the two treatments with its uncertainty, within the framework of a systematic review.

    Source: DerSimonian & Laird 1986

  • How does pairwise meta-analysis differ from network meta-analysis?

    Pairwise meta-analysis combines direct evidence for a single comparison between two treatments, while network meta-analysis synthesises evidence across three or more treatments in a connected network, combining direct and indirect evidence to estimate all their relative effects. Pairwise meta-analysis uses only head-to-head studies for one comparison and requires fewer assumptions, whereas network meta-analysis can compare treatments never studied together but relies on transitivity and consistency. So the two differ in the number of treatments and the use of indirect evidence, with pairwise meta-analysis the simpler, single-comparison method and network meta-analysis its extension to networks of treatments.

    Source: Dias et al. 2013

  • When is pairwise meta-analysis used?

    Pairwise meta-analysis is used when the question concerns the comparison of two specific treatments and direct, head-to-head studies comparing them are available, so their results can be combined into a pooled estimate. It is the standard approach for synthesising evidence on a single comparison. Where multiple treatments must be compared or direct evidence is lacking, network meta-analysis is used instead. So pairwise meta-analysis is applied to combine the direct evidence for one two-treatment comparison, providing a straightforward synthesis when head-to-head studies exist and the interest is in the relative effect of those two treatments.

    Source: DerSimonian & Laird 1986

  • What are the limitations of pairwise meta-analysis?

    The limitations of pairwise meta-analysis include that it can only compare two treatments for which direct head-to-head studies exist, so it cannot compare treatments never studied together or handle multiple treatments in one analysis; and it shares the general limitations of meta-analysis, such as susceptibility to heterogeneity, publication bias, and the quality of the included studies. Where several treatments or indirect comparisons are needed, network meta-analysis is required. So pairwise meta-analysis is limited to single, directly studied comparisons, and its use is confined to questions where head-to-head evidence for the two treatments of interest is available.

    Source: DerSimonian & Laird 1986

Trust Record

Verified by Dr Darrin Baines

British health economist

Professional identity: darrinbaines.org

Verification date: 20 Oct 2026

Content version: 1.0.3

Canonical Identity

Term code
HE-ES-ESM-044

Stable URI · Machine-readable · Resolvable · CC BY 4.0