10 Network Meta-Analysis

A pairwise meta-analysis answers a narrow question: how does treatment B compare with treatment A? Clinical and policy decisions rarely look like that. A guideline panel choosing a first-line antidepressant faces a dozen drugs and several psychotherapies; a marketing team comparing promotional formats faces many alternatives, most of which have never been tested against each other in the same experiment. Trials are designed to answer the sponsor’s question, usually “is our product better than placebo or the current standard?”, so the evidence base is a patchwork of comparisons that rarely contains every pair a decision maker cares about.

Network meta-analysis (NMA) synthesizes such a patchwork in a single model. It combines direct evidence (trials that compare two treatments head to head) with indirect evidence (comparisons inferred through a common comparator) and returns a coherent set of relative effects for every pair of treatments in a connected network. The method has many names, including mixed treatment comparison and multiple-treatments meta-analysis (Salanti 2012), but the core idea is the same in every variant: if the trials in the network are similar enough in the ways that matter, then the relative effects they estimate must fit together like the sides of a triangle.

This chapter develops NMA from the simplest indirect comparison to full frequentist and Bayesian models. It builds on the random-effects machinery of Chapter 4, the heterogeneity concepts of Chapter 5, and the Bayesian workflow of Chapter 9. We work through one network in detail, a classic data set on smoking cessation interventions (Hasselblad 1998; Dias et al. 2013), fitting it with netmeta, multinma, and gemtc so that the reader can see what is common across implementations and where they differ. A component NMA on a large depression network rounds out the frequentist part.

10.1 Why network meta-analysis

10.1.1 Indirect comparisons

Suppose a set of trials compares treatment B with A and another set compares C with A, but no trial compares B with C. Write \(d_{AB}\) for the true relative effect of B versus A on some additive scale (a log odds ratio, a mean difference, a log hazard ratio). Pooling each set separately gives estimates \(\hat d_{AB}\) and \(\hat d_{AC}\) with variances \(v_{AB}\) and \(v_{AC}\). Bucher et al. (1997) proposed the adjusted indirect comparison

\[ \hat d^{\,\text{ind}}_{BC} = \hat d_{AC} - \hat d_{AB}, \qquad \operatorname{Var}\!\left(\hat d^{\,\text{ind}}_{BC}\right) = v_{AB} + v_{AC}, \]

where the variances add because the two sets of trials are independent. The word “adjusted” matters. A naive indirect comparison would contrast the B arms of the AB trials with the C arms of the AC trials as if they came from one big trial, throwing away randomization and inviting confounding by any difference between the trial populations. The adjusted comparison preserves randomization within each trial and only asks that the relative effect of the common comparator transfers between the two sets. In an empirical comparison using 44 published meta-analyses, adjusted indirect estimates usually agreed with direct estimates of the same comparison, but a statistically significant discrepancy appeared in three of the 44, and its direction was not consistent (Song et al. 2003).

The price of an indirect comparison is precision. Because the variances add, an indirect estimate built from two comparisons each as precise as a single direct comparison has twice the variance. Indirect evidence is therefore most valuable when direct evidence is absent or sparse, and least valuable when a large body of head-to-head trials already exists.

10.1.2 Mixed treatment comparisons

When both direct and indirect evidence exist for the same comparison, they can be combined. Under the assumption that both estimate the same quantity, the inverse-variance weighted average

\[ \hat d^{\,\text{mix}}_{BC} = \frac{w_D \hat d^{\,\text{dir}}_{BC} + w_I \hat d^{\,\text{ind}}_{BC}}{w_D + w_I}, \qquad w_D = 1/v^{\text{dir}}_{BC},\; w_I = 1/v^{\text{ind}}_{BC}, \]

is more precise than either component. Lumley (2002) generalized this to networks with many loops, and Lu and Ades (2004) formulated the Bayesian hierarchical model that most later work builds on. A network meta-analysis fits all comparisons jointly, so every estimate borrows strength from every path through the network that connects the two treatments. The same model also delivers what pairwise analyses cannot: a single, internally coherent set of relative effects in which \(d_{BC} = d_{AC} - d_{AB}\) holds exactly, and from which treatments can be ranked.

10.2 Assumptions: transitivity and consistency

10.2.1 Transitivity

The indirect estimate \(\hat d_{AC} - \hat d_{AB}\) is an unbiased estimate of \(d_{BC}\) only if the AB trials and the AC trials estimate effects that would be transferable to one another. This is the transitivity assumption. A useful way to state it is that A, B and C are jointly randomizable: one could imagine a three-arm trial in which any participant in the network could have been assigned to any of the three treatments. Transitivity fails when the distribution of effect modifiers differs across comparisons (Jansen and Naci 2013). If AB trials enrolled patients with mild disease and AC trials enrolled patients with severe disease, and severity modifies the effect of treatment relative to A, then the indirect comparison mixes a mild-disease B effect with a severe-disease C effect.

Two consequences follow. First, transitivity is a conceptual assumption about the clinical and methodological features of the trials and cannot be tested statistically in a network without closed loops. It is assessed by tabulating potential effect modifiers by comparison (age, severity, dose, follow-up length, risk of bias, year of publication) and asking whether the comparisons look exchangeable. Second, differences in prognostic factors that do not modify relative effects do not threaten transitivity, which is why adjusted indirect comparisons are much more robust than naive ones. The common comparator A also needs to be the same treatment in both sets: “placebo” in a 1990s trial and “placebo” in a trial with a large nocebo-run-in may not be.

10.2.2 Consistency

Transitivity has a statistical manifestation. When a comparison is informed by both direct and indirect evidence, the two sources should agree up to sampling error. This is called consistency (or coherence): for any three treatments,

\[ d_{BC} = d_{AC} - d_{AB}. \]

In a network with \(T\) treatments, the consistency equations mean that all \(T(T-1)/2\) pairwise effects are determined by \(T-1\) basic parameters, usually the effects of each treatment versus a reference, \(d_{1k}\) for \(k = 2, \dots, T\). Every other contrast is a functional parameter \(d_{jk} = d_{1k} - d_{1j}\). Inconsistency is the observed disagreement between direct and indirect evidence. It can only be detected where the network has closed loops, and it can only be detected with low power, because indirect estimates are imprecise. Absence of statistically significant inconsistency is therefore weak evidence that transitivity holds (Dias et al. 2013; Cipriani et al. 2013).

10.2.3 Heterogeneity in a network

Within each comparison, trials can differ in their true effects just as in a pairwise random-effects model. Most NMA models assume a common between-study variance \(\tau^2\) for all comparisons. This is a strong simplification, but it lets comparisons with only one or two trials borrow information about heterogeneity from the rest of the network. Heterogeneity and inconsistency are closely related: heterogeneity is variability in true effects between trials of the same design, inconsistency is variability between trials of different designs. When effect modifiers vary within comparisons we see heterogeneity; when they vary between comparisons we see inconsistency (Higgins et al. 2012).

10.3 Network geometry

A network is a graph whose nodes are treatments and whose edges connect treatments that have been compared directly in at least one trial. The shape of this graph, its geometry, determines what the NMA can deliver (Salanti et al. 2011; Chaimani et al. 2019).

A star network, in which every active treatment has been compared only with placebo, has no closed loops. Every active-versus-active comparison is purely indirect and consistency cannot be checked. A well-connected network with many closed loops allows direct and indirect evidence to be compared and allows inconsistency to be localized. A disconnected network falls into two or more components that share no treatment; relative effects between components are not identified without additional assumptions (for example, population adjustment or component models). Edge thickness is usually drawn proportional to the number of trials or the precision of the direct evidence, and node size proportional to the number of participants. A network dominated by one heavily studied comparison (a “thick” edge) and a periphery of single-trial edges warns that much of the evidence on peripheral comparisons is indirect.

A design is the set of treatments compared in a trial. Two-arm trials of A versus C share the design A:C; a three-arm trial of A, C and D has design A:C:D. Multi-arm trials are informative because they contribute internally consistent evidence on several comparisons at once, but they also introduce correlations between the contrasts they contribute, a point we take up in Section 10.4.3.

10.4 Statistical models

10.4.1 Contrast-based models

The standard NMA model is contrast-based: it models relative effects within trials and treats the trial-specific baseline as a nuisance. Let trial \(i\) have arms \(k = 1, \dots, a_i\) with treatments \(t_{ik}\), and let arm 1 be the trial’s baseline \(b_i = t_{i1}\). With arm-level binary data \(r_{ik} \sim \text{Binomial}(n_{ik}, p_{ik})\), the model of Lu and Ades (2004) and Dias et al. (2012) is

\[ \operatorname{logit}(p_{ik}) = \mu_i + \delta_{i, b_i t_{ik}}, \qquad \delta_{i, b_i b_i} = 0, \]

\[ \delta_{i, b_i t_{ik}} \sim N\!\left(d_{1 t_{ik}} - d_{1 b_i},\; \tau^2\right), \]

where \(\mu_i\) is a study-specific baseline log odds, \(d_{1k}\) are the basic parameters with \(d_{11}=0\), and the mean of the random effect is written using the consistency equations. Because the \(\mu_i\) are unconstrained study effects, the model uses only within-trial contrasts, respecting randomization. A common-effect (fixed-effect) NMA sets \(\tau^2 = 0\). The same structure works with any generalized linear model likelihood and link (Dias et al. 2012), and with contrast-level data (estimated log odds ratios and standard errors) in place of arm-level counts.

10.4.2 Arm-based models

Arm-based models instead put the random effects on the absolute outcome in each arm, for instance

\[ \operatorname{logit}(p_{ik}) = \alpha_{t_{ik}} + \nu_{i t_{ik}}, \qquad (\nu_{i1}, \dots, \nu_{iT})^\top \sim N(\mathbf{0}, \boldsymbol{\Sigma}), \]

and define relative effects as contrasts of the treatment-specific mean parameters \(\alpha_k\) (or of marginal absolute risks). Treatments a trial did not include are treated as missing at random (Hong et al. 2015). Arm-based models make it easy to report absolute effects and allow treatment-specific heterogeneity, but they draw information from comparisons between trials of the absolute outcome, so they rely on more than randomization. When baseline risk varies across trials for reasons related to the treatments chosen, the two families can give different answers. White et al. (2019) trace most differences between the two families to whether study intercepts are fixed (only within-study information is used) or random (between-study information is also used, which can cause bias). They conclude that both families are usable but that random study intercepts need a strong rationale. Contrast-based models remain the default in health technology assessment and in the software used below, and we use them throughout. Note that “arm-level data” (counts per arm) is not the same as an “arm-based model”: all the Bayesian models below use arm-level data in a contrast-based model.

10.4.3 Multi-arm trials

A trial with \(a_i\) arms contributes \(a_i - 1\) independent contrasts. If we compute the log odds ratios of C versus A and D versus A from a three-arm trial, they share the A arm, so their sampling errors are positively correlated: \(\operatorname{Cov}(\hat\delta_{AC}, \hat\delta_{AD}) = \operatorname{Var}(\log \text{odds}_A)\). The random effects are also correlated. Under a common \(\tau^2\) and consistency within the trial, \(\delta_{AD} - \delta_{AC} = \delta_{CD}\) must also have variance \(\tau^2\), which forces

\[ \operatorname{Cov}\!\left(\delta_{i,AC}, \delta_{i,AD}\right) = \tau^2 / 2 . \]

Bayesian arm-level models build these correlations directly into the likelihood and the multivariate normal random effects. Contrast-level frequentist software must handle them explicitly. Ignoring the correlation by treating each pairwise contrast of a multi-arm trial as an independent study double-counts the shared arm and overstates precision. netmeta takes all \(a_i(a_i-1)/2\) pairwise contrasts of a multi-arm trial and inflates their variances so that, taken together, they carry exactly the information of the \(a_i - 1\) independent contrasts (Rücker 2012; Rücker and Schwarzer 2014).

10.4.4 The graph-theoretical frequentist estimator

Rücker (2012) showed that frequentist NMA is a weighted least squares problem with an elegant interpretation. Stack all \(m\) observed pairwise contrasts in a vector \(\mathbf{y}\) with (adjusted) variances collected in a diagonal weight matrix \(\mathbf{W}\), \(w_j = 1/(v_j + \hat\tau^2)\). Let \(\mathbf{B}\) be the \(m \times T\) edge-vertex incidence matrix, with a \(+1\) and a \(-1\) in the columns of the two treatments in each contrast. The consistent fitted contrasts are

\[ \hat{\boldsymbol\theta} = \mathbf{B}\, \mathbf{L}^{+} \mathbf{B}^\top \mathbf{W} \mathbf{y}, \qquad \mathbf{L} = \mathbf{B}^\top \mathbf{W} \mathbf{B}, \]

where \(\mathbf{L}\) is the weighted Laplacian matrix of the network graph and \(\mathbf{L}^{+}\) its Moore-Penrose pseudoinverse. The variance of the estimated contrast between treatments \(j\) and \(k\) is the effective resistance between nodes \(j\) and \(k\) when each edge is a resistor with resistance equal to its variance, so direct and indirect paths combine exactly like resistors in parallel and series. This is the estimator implemented in netmeta (Balduzzi et al. 2023). Heterogeneity is summarized by the generalized Cochran statistic \(Q = (\mathbf{y} - \hat{\boldsymbol\theta})^\top \mathbf{W}_0 (\mathbf{y} - \hat{\boldsymbol\theta})\) computed with common-effect weights \(\mathbf{W}_0\), with degrees of freedom equal to the number of independent contrasts minus \(T - 1\), and \(I^2 = \max\{0, (Q - \text{df})/Q\}\).

10.5 Frequentist NMA with netmeta

10.5.1 The smoking cessation network

The smokingcessation data in netmeta contain 24 trials of four interventions to help people stop smoking: no contact (A), self-help material (B), individual counselling (C) and group counselling (D). The outcome is the number of participants who successfully quit, so larger odds ratios are better. Two trials have three arms. The data were first analyzed by Hasselblad (1998) and are a standard example for inconsistency methods (Dias et al. 2013).

library(netmeta)

data(smokingcessation)
lab <- c(A = "No contact", B = "Self-help", C = "Individual", D = "Group")
sc <- smokingcessation
for (v in c("treat1", "treat2", "treat3")) {
  sc[[v]] <- ifelse(sc[[v]] == "", NA, lab[sc[[v]]])
}
sc$study <- seq_len(nrow(sc))
head(sc, 4)
#>   event1  n1 event2  n2 event3  n3     treat1     treat2 treat3 study
#> 1      9 140     23 140     10 138 No contact Individual  Group     1
#> 2     11  78     12  85     29 170  Self-help Individual  Group     2
#> 3     75 731    363 714     NA  NA No contact Individual   <NA>     3
#> 4      2 106      9 205     NA  NA No contact Individual   <NA>     4

The data are in “wide” arm-level format, one row per trial with up to three arms. The function pairwise() converts this to contrast-level format, computing a log odds ratio and its standard error for every pair of arms within each trial. For three-arm trials it returns all three pairwise contrasts.

pw <- pairwise(treat = list(treat1, treat2, treat3),
               event = list(event1, event2, event3),
               n = list(n1, n2, n3), studlab = study,
               data = sc, sm = "OR")
nrow(pw)
#> [1] 28
head(pw[, c("studlab", "treat1", "treat2", "TE", "seTE")])
#>   studlab     treat1     treat2        TE   seTE
#> 1       1 No contact Individual -1.051293 0.4132
#> 2       1 No contact      Group -0.128528 0.4760
#> 3       1 Individual      Group  0.922765 0.3998
#> 4       2  Self-help Individual -0.001245 0.4504
#> 5       2  Self-help      Group -0.225333 0.3839
#> 6       2 Individual      Group -0.224089 0.3723

The 24 trials yield 28 pairwise contrasts, two times three from the multi-arm trials and one from each of the 22 two-arm trials. The first row says that in trial 1 the log odds of quitting was about 1.05 lower with no contact than with individual counselling. pairwise() adds 0.5 to all cells of a 2-by-2 table containing a zero, which matters for trials with no quitters in an arm.

10.5.2 An indirect comparison by hand

Before fitting the network, it is instructive to compute one Bucher indirect comparison. We pool the direct evidence on individual counselling versus no contact and on self-help versus no contact separately with metafor, then contrast the two to obtain an indirect estimate of individual counselling versus self-help.

pw_df <- as.data.frame(pw)
# orient every contrast as "treat2 versus treat1" with treat1 = No contact
get_direct <- function(trt) {
  d <- subset(pw_df, (treat1 == "No contact" & treat2 == trt) |
                     (treat2 == "No contact" & treat1 == trt))
  yi <- ifelse(d$treat1 == "No contact", -d$TE, d$TE)  # log OR trt vs No contact
  rma(yi = yi, sei = d$seTE, method = "REML")
}
ind_vs_nc <- get_direct("Individual")
sh_vs_nc  <- get_direct("Self-help")
d_ind <- coef(ind_vs_nc) - coef(sh_vs_nc)
se_ind <- sqrt(vcov(ind_vs_nc) + vcov(sh_vs_nc))
round(c(k_IndNC = ind_vs_nc$k, k_SHNC = sh_vs_nc$k,
        logOR_ind = unname(d_ind), se = unname(se_ind),
        OR = exp(unname(d_ind)),
        lower = exp(unname(d_ind - 1.96 * se_ind)),
        upper = exp(unname(d_ind + 1.96 * se_ind))), 3)
#>   k_IndNC    k_SHNC logOR_ind        se        OR     lower     upper 
#>    15.000     3.000     0.526     0.312     1.692     0.917     3.121

Pooling 15 trials of individual counselling and 3 trials of self-help against no contact, the indirect odds ratio of individual counselling versus self-help is about 1.69 with a 95% confidence interval from 0.92 to 3.12. The interval is wide because it inherits the uncertainty of both pairwise pools, including the large heterogeneity among the 15 individual-counselling trials. The network model below combines this indirect path with the direct evidence from the trials that compared the two treatments and with every other path through group counselling.

10.5.3 Fitting the network

netmeta() accepts the output of pairwise() directly. We request both common-effect and random-effects estimates, use REML for \(\tau^2\), set no contact as the reference, and declare that small odds ratios are undesirable (because the event is quitting).

nm <- netmeta(pw, common = TRUE, random = TRUE,
              reference.group = "No contact",
              method.tau = "REML", small.values = "undesirable")
nm
#> Number of studies: k = 24
#> Number of pairwise comparisons: m = 28
#> Number of observations: o = 16740
#> Number of treatments: n = 4
#> Number of designs: d = 8
#> 
#> Common effects model
#> 
#> Treatment estimate (other treatments vs 'No contact'):
#>                OR           95% CI     z  p-value
#> Group      2.0479 [1.4170; 2.9598]  3.81   0.0001
#> Individual 1.9202 [1.7107; 2.1554] 11.07 < 0.0001
#> No contact      .                .     .        .
#> Self-help  1.2211 [0.9539; 1.5631]  1.59   0.1128
#> 
#> Random effects model
#> 
#> Treatment estimate (other treatments vs 'No contact'):
#>                OR           95% CI    z p-value
#> Group      2.3839 [1.1497; 4.9431] 2.33  0.0196
#> Individual 2.0320 [1.3859; 2.9793] 3.63  0.0003
#> No contact      .                .    .       .
#> Self-help  1.4876 [0.7812; 2.8329] 1.21  0.2268
#> 
#> Quantifying heterogeneity / inconsistency:
#> tau^2 = 0.4502; tau = 0.6710; I^2 = 88.6% [84.4%; 91.7%]
#> 
#> Tests of heterogeneity (within designs) and inconsistency (between designs):
#>                      Q d.f.  p-value
#> Total           202.62   23 < 0.0001
#> Within designs  187.40   16 < 0.0001
#> Between designs  15.22    7   0.0333
#> 
#> Details of network meta-analysis methods:
#> - Frequentist graph-theoretical approach
#> - Restricted maximum-likelihood estimator for tau^2
#> - Calculation of I^2 based on Q

The header confirms the structure: \(k = 24\) studies, \(m = 28\) pairwise comparisons, \(n = 4\) treatments and \(d = 8\) distinct designs, with 16,740 participants. The common-effect model estimates that individual counselling roughly doubles the odds of quitting relative to no contact (OR 1.92, 95% CI 1.71 to 2.16). These intervals are too narrow to believe, because heterogeneity is enormous: the generalized \(Q\) is 202.62 on 23 degrees of freedom and \(I^2 = 88.6\%\). The random-effects model, with \(\hat\tau^2 = 0.450\) (\(\hat\tau = 0.67\) on the log odds ratio scale), gives OR 2.03 (1.39 to 2.98) for individual counselling, 2.38 (1.15 to 4.94) for group counselling and 1.49 (0.78 to 2.83) for self-help, all versus no contact. A between-trial standard deviation of 0.67 means that the true odds ratio for the same intervention can easily vary by a factor of three or more across settings, which is substantively more important than the point estimates.

The lower part of the output partitions the total \(Q\) into heterogeneity within designs (\(Q = 187.40\), 16 df) and inconsistency between designs (\(Q = 15.22\), 7 df, \(p = 0.033\)). We return to this decomposition in Section 10.6. The 23 degrees of freedom for the total \(Q\) equal the 26 independent contrasts (22 from two-arm trials plus 2 from each three-arm trial) minus the 3 basic parameters.

10.5.4 Network graph

netgraph(nm, plastic = FALSE, thickness = "se.common",
         multiarm = TRUE, points = TRUE, cex.points = 3,
         col = "grey30", number.of.studies = TRUE)
Network graph of the smoking cessation data. Edge width is proportional to the inverse standard error of the direct common-effect estimate; shaded triangles mark the two three-arm designs.

Figure 10.1: Network graph of the smoking cessation data. Edge width is proportional to the inverse standard error of the direct common-effect estimate; shaded triangles mark the two three-arm designs.

Figure 10.1 shows that every pair of treatments has some direct evidence, so the network is fully connected and contains several closed loops. The edge between no contact and individual counselling dominates, with 15 trials, while each of the other edges rests on two to four trials. This asymmetry is typical: much of the information about comparisons that do not involve the dominant edge is indirect.

10.5.5 Forest plot and league table

forest(nm, pooled = "random", sortvar = -Pscore,
       smlab = "Random effects model\nOR vs no contact",
       leftcols = c("studlab", "k", "Pscore"),
       leftlabs = c("Intervention", "Direct\ntrials", "P-score"))
Random-effects network estimates of each intervention versus no contact (odds ratio of quitting), sorted by P-score.

Figure 10.2: Random-effects network estimates of each intervention versus no contact (odds ratio of quitting), sorted by P-score.

Figure 10.2 shows the random-effects relative effects with the reference fixed at 1. A league table reports every pairwise comparison at once. In netleague() output, the lower triangle holds the network estimates (column treatment versus row treatment) and the upper triangle the direct estimates alone (row versus column), which makes it easy to see how much the network has changed each comparison.

netleague(nm, common = FALSE, digits = 2, bracket = "(")
#> League table (random effects model):
#>                                                                         
#>              Group 0.93 (0.42; 2.06) 2.25 (0.53; 9.51) 1.85 (0.62; 5.53)
#>  1.17 (0.59; 2.34)        Individual 2.06 (1.38; 3.08) 0.93 (0.30; 2.82)
#>  2.38 (1.15; 4.94) 2.03 (1.39; 2.98)        No contact 0.73 (0.31; 1.69)
#>  1.60 (0.72; 3.55) 1.37 (0.70; 2.66) 0.67 (0.35; 1.28)         Self-help
#> 
#> Lower triangle: results from network meta-analysis (column vs row)
#> Upper triangle: results from direct comparisons (row vs column)

Reading down the first column, the network odds ratio of group counselling versus no contact is 2.38 (1.15 to 4.94); the direct estimate from the two trials that made this comparison, in the upper triangle, is 2.25 with a far wider interval (0.53 to 9.51). The network borrows strength from the indirect paths through individual counselling and self-help and roughly halves the width of the interval on the log scale. Conversely, the direct estimate of individual counselling versus self-help is 0.93 (0.30 to 2.82), favouring self-help slightly, whereas the network estimate of individual counselling versus self-help is 1.37 (0.70 to 2.66). Such reversals between direct and network estimates are exactly what the inconsistency checks are designed to scrutinize.

10.5.6 Ranking treatments

Decision makers often want an ordering. Bayesian NMA traditionally reports the probability that each treatment is best and the surface under the cumulative ranking curve (SUCRA) (Salanti et al. 2011). If \(p_{k,r}\) is the probability that treatment \(k\) has rank \(r\) and \(F_{k,r} = \sum_{s \le r} p_{k,s}\) its cumulative ranking probability, then

\[ \text{SUCRA}_k = \frac{1}{T - 1} \sum_{r=1}^{T-1} F_{k,r}, \]

which is 1 for a treatment certain to be best and 0 for one certain to be worst. Rücker and Schwarzer (2015) introduced the frequentist analogue, the P-score,

\[ P_k = \frac{1}{T-1} \sum_{j \ne k} \Phi\!\left( \frac{\hat d_{jk}}{\operatorname{se}(\hat d_{jk})} \right), \]

for outcomes where larger is better, with \(\hat d_{jk}\) the estimated effect of \(k\) versus \(j\). Each term is the one-sided “probability” (in the sense of a one-sided \(p\)-value) that \(k\) is better than \(j\), and the P-score averages these over competitors. P-scores and SUCRAs are numerically very close when computed from the same model, and P-scores require no resampling.

netrank(nm)
#>            P-score (common) P-score (random)
#> Group                0.8771           0.8474
#> Individual           0.7878           0.7155
#> Self-help            0.3163           0.3960
#> No contact           0.0188           0.0411

Under the random-effects model the P-scores are 0.85 for group counselling, 0.72 for individual counselling, 0.40 for self-help and 0.04 for no contact. Group counselling is, on average, more certain to outperform its competitors than individual counselling.

Rankings are among the most over-interpreted outputs of NMA. A P-score or SUCRA summarizes both the size of an effect and its uncertainty in a single number, so a treatment with a large but imprecise estimate can outrank one with a slightly smaller but well-estimated effect. The ranking says nothing about whether differences are clinically important: group and individual counselling differ by an odds ratio of only 1.17 (0.59 to 2.34) in the league table, so their ordering is essentially a coin flip with a lean. A reanalysis of published networks found that treatment rankings were typically highly uncertain (Trinquart et al. 2016). Report rankings, if at all, together with the relative effects and their intervals, and define in advance what question the ranking is supposed to answer, for example “which treatment is most likely to beat placebo by a clinically important margin?” (Salanti et al. 2021).

10.6 Assessing inconsistency

Inconsistency methods divide into global approaches, which ask whether the network as a whole is consistent, and local approaches, which locate the comparisons or loops responsible (Dias et al. 2013; Higgins et al. 2012; White et al. 2012).

10.6.1 Global assessment: the design-by-treatment decomposition

Higgins et al. (2012) introduced the design-by-treatment interaction model, which allows the relative effects to differ across designs. It handles multi-arm trials coherently because inconsistency is defined between designs rather than between loops. In the frequentist framework the total \(Q\) decomposes into a within-design heterogeneity part and a between-design inconsistency part, \(Q_{\text{total}} = Q_{\text{het}} + Q_{\text{inc}}\). decomp.design() reports this decomposition, the contribution of each design, and two refinements.

decomp.design(nm)
#> Q statistics to assess homogeneity / consistency
#> 
#>                      Q df  p-value
#> Total           202.62 23 < 0.0001
#> Within designs  187.40 16 < 0.0001
#> Between designs  15.22  7   0.0333
#> 
#> Design-specific decomposition of within-designs Q statistic
#> 
#>                 Design      Q df  p-value
#>  No contact:Individual 182.72 13 < 0.0001
#>       Group:Individual   1.74  1   0.1868
#>   No contact:Self-help   2.94  2   0.2299
#> 
#> Between-designs Q statistic after detaching of single designs
#> (influential designs have p-value markedly different from 0.0333)
#> 
#>              Detached design     Q df p-value
#>  No contact:Group:Individual  7.46  5  0.1883
#>             No contact:Group 11.65  6  0.0702
#>         Individual:Self-help 13.02  6  0.0427
#>              Group:Self-help 13.51  6  0.0357
#>             Group:Individual 13.90  6  0.0307
#>         No contact:Self-help 14.28  6  0.0267
#>        No contact:Individual 15.09  6  0.0196
#>   Group:Individual:Self-help 14.05  5  0.0153
#> 
#> Q statistic to assess consistency under the assumption of
#> a full design-by-treatment interaction random effects model
#> 
#>                    Q df p-value tau.within tau2.within
#> Between designs 4.66  7  0.7009     0.8131      0.6611

The within-design heterogeneity comes almost entirely from the no contact versus individual counselling design (\(Q = 182.72\) on 13 df); the other two designs with replication are compatible with homogeneity. The between-design statistic \(Q = 15.22\) (7 df, \(p = 0.033\)) suggests inconsistency, and the “detaching” table shows which design drives it: removing the three-arm no contact/group/individual trial reduces it to \(Q = 7.46\) on 5 df (\(p = 0.19\)). The last table reruns the test under a full design-by-treatment random-effects model, which allows for heterogeneity within designs when judging differences between designs. Here \(Q = 4.66\) on 7 df (\(p = 0.70\)). The common-effect test is too liberal in a network this heterogeneous, because it treats every between-design difference as signal. The random-effects version is the more relevant test, and it does not support inconsistency.

10.6.2 Local assessment: node-splitting

Node-splitting separates, for each comparison, the direct evidence from the indirect evidence contributed by the rest of the network, and tests their agreement (Dias et al. 2010). If \(\hat d^{\,\text{dir}}\) and \(\hat d^{\,\text{ind}}\) are the two estimates on the log scale, the inconsistency factor \(\hat\omega = \hat d^{\,\text{dir}} - \hat d^{\,\text{ind}}\) has \(z = \hat\omega / \sqrt{v^{\text{dir}} + v^{\text{ind}}}\). netsplit() computes the indirect estimate by back-calculation from the network and direct estimates (the “SIDE” approach), which is fast and closely approximates explicit node-splitting.

netsplit(nm)
#> Separate indirect from direct evidence (SIDE) using back-calculation method
#> 
#> Common effects model: 
#> 
#>             comparison  k prop    nma direct indir.    RoR     z p-value
#>       Group:Individual  4 0.73 1.0665 0.9594 1.4236 0.6739 -0.95  0.3444
#>       Group:No contact  2 0.17 2.0479 1.5529 2.1687 0.7161 -0.67  0.5028
#>        Group:Self-help  2 0.47 1.6771 1.7699 1.5991 1.1068  0.25  0.8000
#>  Individual:No contact 15 0.96 1.9202 1.9465 1.3534 1.4383  1.17  0.2418
#>   Individual:Self-help  2 0.19 1.5725 0.9241 1.7742 0.5208 -1.90  0.0580
#>   Self-help:No contact  3 0.78 1.2211 1.1444 1.5372 0.7445 -0.97  0.3320
#> 
#> Random effects model: 
#> 
#>             comparison  k prop    nma direct indir.    RoR     z p-value
#>       Group:Individual  4 0.75 1.1732 0.9274 2.3635 0.3924 -1.15  0.2507
#>       Group:No contact  2 0.26 2.3839 2.2491 2.4321 0.9248 -0.09  0.9269
#>        Group:Self-help  2 0.53 1.6025 1.8528 1.3630 1.3593  0.38  0.7054
#>  Individual:No contact 15 0.90 2.0320 2.0577 1.8109 1.1363  0.20  0.8453
#>   Individual:Self-help  2 0.36 1.3659 0.9265 1.6950 0.5466 -0.85  0.3933
#>   Self-help:No contact  3 0.59 1.4876 1.3742 1.6650 0.8254 -0.29  0.7737
#> 
#> Legend:
#>  comparison - Treatment comparison
#>  k          - Number of studies providing direct evidence
#>  prop       - Direct evidence proportion
#>  nma        - Estimated treatment effect (OR) in network meta-analysis
#>  direct     - Estimated treatment effect (OR) derived from direct evidence
#>  indir.     - Estimated treatment effect (OR) derived from indirect evidence
#>  RoR        - Ratio of Ratios (direct versus indirect)
#>  z          - z-value of test for disagreement (direct versus indirect)
#>  p-value    - p-value of test for disagreement (direct versus indirect)

For each comparison the output reports the number of trials with direct evidence (\(k\)), the proportion of the network estimate that comes from direct evidence (prop), the network, direct and indirect odds ratios, their ratio (RoR), and a \(z\) test. Under the random-effects model, no comparison shows convincing disagreement: the largest discrepancy is for group versus individual counselling, where the direct odds ratio is 0.93 and the indirect 2.36 (ratio of odds ratios 0.39, \(p = 0.25\)). The common-effect version flags individual counselling versus self-help (\(p = 0.058\)), illustrating again that conclusions about inconsistency depend on how heterogeneity is modelled. With 6 comparisons tested, multiplicity also matters, and the low power of each test means that \(p > 0.05\) cannot be read as evidence of consistency.

10.6.3 The net heat plot

Krahn et al. (2013) proposed the net heat plot, a matrix display that shows, for each design (columns), how much detaching it changes the inconsistency attributed to each other design (rows). Warm colours on the off-diagonal indicate designs whose removal reduces inconsistency elsewhere; grey squares show the contribution of each design to each network estimate.

netheat(nm, random = TRUE)
Net heat plot for the random-effects model. Coloured off-diagonal cells show how detaching the column design changes the inconsistency at the row design.

Figure 10.3: Net heat plot for the random-effects model. Coloured off-diagonal cells show how detaching the column design changes the inconsistency at the row design.

Figure 10.3 should be read as a pointer for further investigation, not as a test. Freeman et al. (2019) showed that the calculations behind the net heat plot amount to an arbitrary weighting of direct and indirect evidence, and concluded from theory, simulation and two example networks that the plot does not reliably signal inconsistency or identify the designs that cause it. Node-splitting and careful inspection of the trials remain the primary tools.

When inconsistency is found, the first response is substantive, not statistical. Tabulate the effect modifiers by comparison, check data extraction for the trials in the implicated loop, and consider whether the treatments are really the same across designs (for instance, “group counselling” delivered as a single session versus a multi-week program). Fitting an inconsistency model and reporting the network estimates anyway is not a solution; at a minimum the affected comparisons should be downgraded in the certainty assessment (Section 10.10).

10.7 Component network meta-analysis

Many interventions are combinations of components: psychotherapy plus a drug, a counselling session plus nicotine replacement, an advertisement plus a price promotion. A standard NMA treats each combination as a separate node, which fragments the network and wastes information. Component NMA models the effect of a combination as a function of its components (Welton et al. 2009; Rücker et al. 2019). The simplest version is additive: the effect of “CBT + SSRI” versus placebo equals the effect of CBT plus the effect of SSRI. Formally, with a \(T \times C\) matrix \(\mathbf{C}\) indicating which of \(C\) components each treatment contains, the treatment effects are \(\mathbf{d} = \mathbf{C}\boldsymbol\beta\), and the component effects \(\boldsymbol\beta\) are estimated by weighted least squares on the contrasts. Interaction terms can be added for specific combinations, and an additive model can connect a network that is disconnected at the treatment level as long as it is connected at the component level.

The Linde2016 data in netmeta contain 93 trials of 22 treatments for depression in primary care, including three combinations of a psychotherapy with an SSRI. We fit a standard random-effects NMA and then an additive component model with placebo as the inactive component.

data(Linde2016)
nm_dep <- netmeta(lnOR, selnOR, treat1, treat2, id, data = Linde2016,
                  sm = "OR", reference.group = "Placebo",
                  common = FALSE, small.values = "undesirable")
cnma <- netcomb(nm_dep, inactive = "Placebo")
c(standard_Q = cnma$Q.standard, df = cnma$df.Q.standard,
  additive_Q = cnma$Q.additive, df = cnma$df.Q.additive,
  diff_Q = cnma$Q.diff, df = cnma$df.Q.diff, p_diff = cnma$pval.Q.diff)
#> standard_Q         df additive_Q         df     diff_Q         df     p_diff 
#>  102.44750   87.00000  109.11894   90.00000    6.67145    3.00000    0.08314

The additive model replaces 21 treatment parameters with 18 component parameters and fits almost as well: the difference in \(Q\) between the additive and the standard model is 6.67 on 3 df (\(p = 0.08\)), weak evidence against additivity. The combinations are where the two models differ.

combos <- c("Face-to-face CBT + SSRI", "Face-to-face interpsy + SSRI",
            "Face-to-face PST + SSRI")
# effect matrices are "row treatment versus column treatment"
cmp <- data.frame(
  standard = exp(nm_dep$TE.random[combos, "Placebo"]),
  std_lower = exp(nm_dep$lower.random[combos, "Placebo"]),
  std_upper = exp(nm_dep$upper.random[combos, "Placebo"]),
  additive = exp(cnma$TE.random[combos, "Placebo"]),
  add_lower = exp(cnma$lower.random[combos, "Placebo"]),
  add_upper = exp(cnma$upper.random[combos, "Placebo"])
)
names(cnma$Comp.random) <- cnma$comps
cmp$product <- exp(cnma$Comp.random[c("Face-to-face CBT",
                                      "Face-to-face interpsy",
                                      "Face-to-face PST")] +
                   cnma$Comp.random["SSRI"])
round(cmp, 2)
#>                              standard std_lower std_upper additive add_lower
#> Face-to-face CBT + SSRI         30.86      4.94    192.81     3.91      2.32
#> Face-to-face interpsy + SSRI     1.75      1.12      2.74     1.86      1.25
#> Face-to-face PST + SSRI          1.54      0.66      3.59     2.32      1.52
#>                              add_upper product
#> Face-to-face CBT + SSRI           6.59    3.91
#> Face-to-face interpsy + SSRI      2.78    1.86
#> Face-to-face PST + SSRI           3.53    2.32

The contrast is striking for CBT plus an SSRI. That combination appears in a single trial with 17 participants per arm, in which 12 responded on the combination and only 2 on the SSRI alone. The standard NMA must estimate the combination from that trial alone and returns an odds ratio versus placebo of 30.9 with a 95% confidence interval from 4.9 to 193. The additive model estimates it as the product of the CBT and SSRI component effects, 3.91 (2.32 to 6.59), using every trial in the network that included either component. Under the additive model, the odds ratio for each combination is exactly the product of the component odds ratios (the additive and product columns agree). The additive model is attractive when combinations are numerous and sparsely studied, but additivity is a substantive assumption. Two treatments that act on the same mechanism may be sub-additive, and a model check like the \(Q\) difference above has little power. Interaction CNMA models, specified through C.matrix in netcomb(), relax additivity where the data permit.

10.7.1 Disconnected networks

A standard NMA cannot compare treatments that lie in different components of a disconnected network, because no chain of randomized comparisons links them. If the treatments share components, the additive model can still link them: a component estimated in one subnetwork carries its effect into the other (Rücker et al. 2019). netmeta::discomb() fits the additive model directly to contrast data, without first fitting a standard NMA, which netcomb() requires and which is impossible for a disconnected network. To show how this works we build a deliberately disconnected subset of the depression data: the placebo-controlled SSRI trials, the trials of interpersonal psychotherapy or problem-solving therapy against usual care, and the single trial that compared an SSRI with interpersonal psychotherapy plus an SSRI.

disc_dat <- subset(Linde2016,
  (treat1 == "SSRI" & treat2 %in% c("Placebo", "Face-to-face interpsy + SSRI")) |
  (treat1 %in% c("Face-to-face interpsy", "Face-to-face PST") & treat2 == "UC"))
netconnection(treat1, treat2, id, data = disc_dat)
#> Number of studies: k = 11
#> Number of pairwise comparisons: m = 11
#> Number of treatments: n = 6
#> Number of designs: d = 4
#> Number of networks: 2
#> 
#> Details on subnetworks: 
#>  subnetwork k m n
#>           1 3 3 3
#>           2 8 8 3
dc <- discomb(lnOR, selnOR, treat1, treat2, id, data = disc_dat, sm = "OR",
              inactive = "Placebo", reference.group = "Placebo", common = FALSE)
names(dc$Comp.random) <- dc$comps
round(exp(cbind(OR = dc$Comp.random, lower = dc$lower.Comp.random,
                upper = dc$upper.Comp.random)), 2)
#>                         OR lower upper
#> Face-to-face interpsy 0.93  0.65  1.34
#> Face-to-face PST      0.76  0.31  1.85
#> SSRI                  1.62  1.35  1.95
#> UC                    0.73  0.40  1.32
round(exp(cbind(OR = dc$TE.random[, "Placebo"], lower = dc$lower.random[, "Placebo"],
                upper = dc$upper.random[, "Placebo"])), 2)
#>                                OR lower upper
#> Face-to-face interpsy        0.93  0.65  1.34
#> Face-to-face interpsy + SSRI 1.51  1.01  2.27
#> Face-to-face PST             0.76  0.31  1.85
#> Placebo                      1.00  1.00  1.00
#> SSRI                         1.62  1.35  1.95
#> UC                           0.73  0.40  1.32

netconnection() confirms two subnetworks: placebo, SSRI and the combination in one, usual care and the two psychotherapies in the other. In the additive model, usual care is treated as one more component, so the combination trial identifies the interpersonal psychotherapy component (combination versus SSRI), the psychotherapy-versus-usual-care trials then identify the usual-care component, and every treatment receives an odds ratio versus placebo. The chain is only as strong as its weakest link, and here the bridge between the two subnetworks is one trial. The resulting comparisons of the psychotherapies with placebo have wide intervals and rest entirely on additivity: interpersonal psychotherapy is assumed to add the same effect on top of an SSRI as it has in the usual-care trials, and usual care relative to placebo is assumed to act as a single additive component. Disconnected CNMA is best seen as a way to make explicit what assumptions an indirect comparison across subnetworks would require, not as a substitute for a connecting trial.

10.8 Bayesian network meta-analysis

Bayesian NMA fits the contrast-based model of Section 10.4.1 with an exact likelihood for arm-level data, propagates uncertainty in \(\tau\) into all estimates, and delivers rank probabilities as posterior summaries (Lu and Ades 2004; Dias et al. 2018). Priors matter in the usual places (see Chapter 9): the heterogeneity standard deviation in sparse networks, and treatment effects when some comparisons rest on very few events. Vague normal priors on the \(d_{1k}\) and the study baselines \(\mu_i\) are standard; for \(\tau\) a half-normal or uniform prior on a plausible range is common, and empirically based informative priors are available for many outcome types.

10.8.1 Bayesian NMA with multinma

multinma fits contrast-based NMA and network meta-regression models in Stan (Carpenter et al. 2017) and also implements multilevel network meta-regression for combining individual and aggregate data (Phillippo et al. 2020). Its models are precompiled, so fitting is fast. The package ships the smoking network as smoking, in long arm-level format with one row per arm.

library(multinma)
head(smoking)
#>   studyn trtn                   trtc  r   n
#> 1      1    1        No intervention  9 140
#> 2      1    3 Individual counselling 23 140
#> 3      1    4      Group counselling 10 138
#> 4      2    2              Self-help 11  78
#> 5      2    3 Individual counselling 12  85
#> 6      2    4      Group counselling 29 170
sm_net <- set_agd_arm(smoking, study = studyn, trt = trtc,
                      r = r, n = n, trt_ref = "No intervention")
sm_net
#> A network with 24 AgD studies (arm-based).
#> 
#> ------------------------------------------------------- AgD studies (arm-based) ---- 
#>  Study Treatment arms                                                 
#>  1     3: No intervention | Group counselling | Individual counselling
#>  2     3: Group counselling | Individual counselling | Self-help      
#>  3     2: No intervention | Individual counselling                    
#>  4     2: No intervention | Individual counselling                    
#>  5     2: No intervention | Individual counselling                    
#>  6     2: No intervention | Individual counselling                    
#>  7     2: No intervention | Individual counselling                    
#>  8     2: No intervention | Individual counselling                    
#>  9     2: No intervention | Individual counselling                    
#>  10    2: No intervention | Self-help                                 
#>  ... plus 14 more studies
#> 
#>  Outcome type: count
#> ------------------------------------------------------------------------------------
#> Total number of treatments: 4
#> Total number of studies: 24
#> Reference treatment is: No intervention
#> Network is connected

set_agd_arm() declares arm-level aggregate data with binomial outcomes, and the print method confirms that the network is connected with 24 studies and 4 treatments. We fit a random-effects consistency model with a binomial likelihood and logit link, vague normal priors on study baselines and treatment effects, and a half-normal prior with scale 5 on \(\tau\). Two chains of 2,000 iterations (half warmup) are sufficient here.

fit_re <- nma(sm_net, trt_effects = "random",
              prior_intercept = normal(scale = 100),
              prior_trt = normal(scale = 10),
              prior_het = half_normal(scale = 5),
              iter = 2000, chains = 2, seed = 2026, refresh = 0)
print(fit_re, pars = c("d", "tau"))
#> A random effects NMA with a binomial likelihood (logit link).
#> Inference for Stan model: binomial_1par.
#> 2 chains, each with iter=2000; warmup=1000; thin=1; 
#> post-warmup draws per chain=1000, total post-warmup draws=2000.
#> 
#>                           mean se_mean   sd  2.5%  25%  50%  75% 97.5% n_eff
#> d[Group counselling]      1.11    0.01 0.44  0.30 0.82 1.08 1.39  2.04  1186
#> d[Individual counselling] 0.85    0.01 0.24  0.40 0.69 0.84 1.01  1.33   656
#> d[Self-help]              0.49    0.01 0.40 -0.27 0.23 0.48 0.74  1.28  1012
#> tau                       0.84    0.01 0.18  0.55 0.71 0.81 0.94  1.24   785
#>                           Rhat
#> d[Group counselling]         1
#> d[Individual counselling]    1
#> d[Self-help]                 1
#> tau                          1
#> 
#> Samples were drawn using NUTS(diag_e) at Sat Nov 28 04:27:57 2026.
#> For each parameter, n_eff is a crude measure of effective sample size,
#> and Rhat is the potential scale reduction factor on split chains (at 
#> convergence, Rhat=1).

All \(\hat R\) values are 1.00 and effective sample sizes exceed 600, adequate for the posterior means and 95% intervals reported here. The posterior mean log odds ratios versus no intervention are about 1.09 for group counselling, 0.84 for individual counselling and 0.49 for self-help, corresponding to odds ratios of roughly 3.0, 2.3 and 1.6. These are larger than the frequentist random-effects estimates (2.38, 2.03, 1.49), and the posterior mean of \(\tau\) (about 0.85, 95% credible interval roughly 0.54 to 1.32) is larger than the REML estimate of 0.67. Two features explain the difference: the Bayesian model uses the exact binomial likelihood instead of the normal approximation to log odds ratios with continuity corrections, and it averages over the posterior uncertainty in \(\tau\) rather than plugging in a point estimate. The broad conclusions are unchanged.

relative_effects() returns all pairwise contrasts, not just those against the reference, and its plot() method draws them.

re_all <- relative_effects(fit_re, all_contrasts = TRUE)
re_all
#>                                                  mean   sd  2.5%   25%   50%
#> d[Group counselling vs. No intervention]         1.11 0.44  0.30  0.82  1.08
#> d[Individual counselling vs. No intervention]    0.85 0.24  0.40  0.69  0.84
#> d[Self-help vs. No intervention]                 0.49 0.40 -0.27  0.23  0.48
#> d[Individual counselling vs. Group counselling] -0.26 0.42 -1.09 -0.52 -0.25
#> d[Self-help vs. Group counselling]              -0.61 0.50 -1.59 -0.94 -0.61
#> d[Self-help vs. Individual counselling]         -0.35 0.40 -1.20 -0.60 -0.35
#>                                                   75% 97.5% Bulk_ESS Tail_ESS
#> d[Group counselling vs. No intervention]         1.39  2.04     1241     1279
#> d[Individual counselling vs. No intervention]    1.01  1.33      658      971
#> d[Self-help vs. No intervention]                 0.74  1.28     1045     1027
#> d[Individual counselling vs. Group counselling]  0.01  0.53     1801     1547
#> d[Self-help vs. Group counselling]              -0.28  0.34     1730     1279
#> d[Self-help vs. Individual counselling]         -0.09  0.44     1334     1309
#>                                                 Rhat
#> d[Group counselling vs. No intervention]           1
#> d[Individual counselling vs. No intervention]      1
#> d[Self-help vs. No intervention]                   1
#> d[Individual counselling vs. Group counselling]    1
#> d[Self-help vs. Group counselling]                 1
#> d[Self-help vs. Individual counselling]            1
plot(re_all, ref_line = 0)
Posterior distributions of all pairwise log odds ratios from the Bayesian random-effects NMA (multinma).

Figure 10.4: Posterior distributions of all pairwise log odds ratios from the Bayesian random-effects NMA (multinma).

Among the active interventions, the credible intervals for every pairwise contrast include zero (Figure 10.4): for example, individual versus group counselling has posterior mean of about \(-0.26\) with a 95% interval from about \(-1.1\) to \(0.6\) on the log odds ratio scale. As in the frequentist analysis, the data support “counselling beats no contact” much more firmly than any ordering among active interventions.

Rank probabilities come from posterior_rank_probs(). Because quitting is a good outcome we set lower_better = FALSE. The cumulative probabilities give SUCRA directly.

rp <- posterior_rank_probs(fit_re, lower_better = FALSE)
rp
#>                           p_rank[1] p_rank[2] p_rank[3] p_rank[4]
#> d[No intervention]             0.00      0.00      0.10       0.9
#> d[Group counselling]           0.72      0.21      0.07       0.0
#> d[Individual counselling]      0.23      0.62      0.15       0.0
#> d[Self-help]                   0.05      0.17      0.68       0.1
crp <- posterior_rank_probs(fit_re, lower_better = FALSE, cumulative = TRUE)
cum <- as.matrix(crp$summary[, grep("p_rank", names(crp$summary))])
sucra <- rowMeans(cum[, -ncol(cum)])
names(sucra) <- as.character(crp$summary$.trt)
round(sort(sucra, decreasing = TRUE), 3)
#>      Group counselling Individual counselling              Self-help 
#>                  0.880                  0.694                  0.392 
#>        No intervention 
#>                  0.035

Group counselling has the highest probability of being best (about 0.70) and the largest SUCRA (about 0.88), followed by individual counselling (SUCRA about 0.69), self-help (about 0.39) and no intervention (about 0.04). These values sit very close to the frequentist random-effects P-scores, which is expected because P-scores are the frequentist analogue of SUCRA (Rücker and Schwarzer 2015). The probability that group counselling is the single best option is far from certain, which is the honest message of the analysis.

10.8.2 Checking consistency in multinma

A Bayesian global check compares the consistency model with an unrelated mean effects (UME) model, which estimates a separate relative effect for every directly observed comparison without imposing the consistency equations (Dias et al. 2013). If the UME model fits markedly better, judged by residual deviance or the deviance information criterion (DIC), the network is inconsistent.

fit_ume <- nma(sm_net, consistency = "ume", trt_effects = "random",
               prior_intercept = normal(scale = 100),
               prior_trt = normal(scale = 10),
               prior_het = half_normal(scale = 5),
               iter = 2000, chains = 2, seed = 2026, refresh = 0)
dic(fit_re)
#> Residual deviance: 54.2 (on 50 data points)
#>                pD: 44
#>               DIC: 98.2
dic(fit_ume)
#> Residual deviance: 54 (on 50 data points)
#>                pD: 45.2
#>               DIC: 99.2

The two models are practically indistinguishable: residual deviances are about 54 on 50 data points for both, and the DIC differs by well under the 3 to 5 points usually considered meaningful. The UME model spends extra parameters on unconstrained comparisons without improving fit, so there is no evidence of global inconsistency once heterogeneity is modelled, the same conclusion as the frequentist random-effects design-by-treatment test. multinma also supports node-splitting with consistency = "nodesplit", which fits one model per split comparison.

10.8.3 Bayesian NMA with gemtc

gemtc generates and runs NMA models in JAGS (Valkenhoef et al. 2012) and automates the construction of node-splitting models (Valkenhoef et al. 2015). It ships the same smoking network as an mtc.network object in arm-level format, with treatments labelled A to D as in the original publication. The code below is evaluated only when JAGS is available.

library(gemtc)
gem_env <- new.env()
data("smoking", package = "gemtc", envir = gem_env)
gem_net <- gem_env$smoking
gem_net$treatments
#>   id           description
#> A  A            No Contact
#> B  B             Self-help
#> C  C Individual Counseling
#> D  D      Group Counseling

# mtc.model() draws random initial values, so seed before it
set.seed(2026)
gem_mod <- mtc.model(gem_net, type = "consistency",
                     likelihood = "binom", link = "logit",
                     linearModel = "random", n.chain = 2)
# reproducible JAGS chains: one RNG and seed per chain
gem_seeds <- sample.int(.Machine$integer.max, 2)
gem_mod$inits <- mapply(c, gem_mod$inits, list(
  list(.RNG.name = "base::Mersenne-Twister", .RNG.seed = gem_seeds[1]),
  list(.RNG.name = "base::Wichmann-Hill", .RNG.seed = gem_seeds[2])),
  SIMPLIFY = FALSE)
gem_fit <- mtc.run(gem_mod, n.adapt = 1000, n.iter = 10000, thin = 2)
#> Compiling model graph
#>    Resolving undeclared variables
#>    Allocating nodes
#> Graph information:
#>    Observed stochastic nodes: 50
#>    Unobserved stochastic nodes: 54
#>    Total graph size: 1075
#> 
#> Initializing model
summary(gem_fit)
#> 
#> Results on the Log Odds Ratio scale
#> 
#> Iterations = 1002:11000
#> Thinning interval = 2 
#> Number of chains = 2 
#> Sample size per chain = 5000 
#> 
#> 1. Empirical mean and standard deviation for each variable,
#>    plus standard error of the mean:
#> 
#>        Mean    SD Naive SE Time-series SE
#> d.A.B 0.488 0.399  0.00399        0.00528
#> d.A.C 0.829 0.236  0.00236        0.00407
#> d.A.D 1.091 0.439  0.00439        0.00753
#> sd.d  0.841 0.183  0.00183        0.00475
#> 
#> 2. Quantiles for each variable:
#> 
#>         2.5%   25%   50%   75% 97.5%
#> d.A.B -0.295 0.231 0.483 0.744  1.27
#> d.A.C  0.388 0.672 0.820 0.977  1.32
#> d.A.D  0.243 0.804 1.082 1.373  1.99
#> sd.d   0.550 0.710 0.816 0.946  1.27
#> 
#> -- Model fit (residual deviance):
#> 
#>  Dbar    pD   DIC 
#> 54.34 44.02 98.35 
#> 
#> 50 data points, ratio 1.087, I^2 = 10%
gelman.diag(as.mcmc.list(gem_fit), multivariate = FALSE)
#> Potential scale reduction factors:
#> 
#>       Point est. Upper C.I.
#> d.A.B          1          1
#> d.A.C          1          1
#> d.A.D          1          1
#> sd.d           1          1

mtc.model() builds the JAGS model with a binomial likelihood, logit link, and random effects; by default it uses a uniform prior on the heterogeneity standard deviation and vague normal priors whose scale is derived from the data. mtc.run() adapts and samples; the potential scale reduction factors from gelman.diag() should be close to 1. The basic parameters d.A.B, d.A.C and d.A.D are log odds ratios versus no contact and sd.d is \(\tau\); they should agree with the multinma estimates above to within Monte Carlo error and the small differences implied by the different default priors.

summary(relative.effect(gem_fit, t1 = "B", t2 = c("A", "C", "D")))
#> 
#> Results on the Log Odds Ratio scale
#> 
#> Iterations = 1002:11000
#> Thinning interval = 2 
#> Number of chains = 2 
#> Sample size per chain = 5000 
#> 
#> 1. Empirical mean and standard deviation for each variable,
#>    plus standard error of the mean:
#> 
#>         Mean    SD Naive SE Time-series SE
#> d.B.A -0.488 0.399  0.00399        0.00528
#> d.B.C  0.342 0.408  0.00408        0.00531
#> d.B.D  0.604 0.493  0.00493        0.00712
#> sd.d   0.841 0.183  0.00183        0.00475
#> 
#> 2. Quantiles for each variable:
#> 
#>         2.5%     25%    50%    75% 97.5%
#> d.B.A -1.272 -0.7442 -0.483 -0.231 0.295
#> d.B.C -0.454  0.0748  0.339  0.609 1.168
#> d.B.D -0.352  0.2768  0.595  0.923 1.571
#> sd.d   0.550  0.7104  0.816  0.946 1.267
gem_ranks <- rank.probability(gem_fit, preferredDirection = 1)
gem_ranks
#> Rank probability; preferred direction = 1
#>     [,1]   [,2]   [,3]   [,4]
#> A 0.0000 0.0021 0.1066 0.8913
#> B 0.0560 0.1817 0.6597 0.1026
#> C 0.2388 0.5939 0.1670 0.0003
#> D 0.7052 0.2223 0.0667 0.0058
sucra(gem_ranks)
#>       A       B       C       D 
#> 0.03693 0.39703 0.69040 0.87563

relative.effect() re-expresses the posterior relative to any treatment, here self-help (B). rank.probability() with preferredDirection = 1 treats larger log odds ratios as better, and sucra() returns the SUCRA values. The same workflow extends to node-splitting with mtc.nodesplit(), which fits one model per comparison that can be split and is correspondingly slower.

Which software to choose? netmeta is fast, handles contrast-level data, has excellent tools for inconsistency and component models, and is the natural choice for frequentist work. multinma is the most actively developed Bayesian option, needs no external sampler, and adds population adjustment and network meta-regression with individual data. gemtc is mature and convenient for automated node-splitting but depends on JAGS. For a published analysis, fitting the main model in two frameworks is a cheap and informative sensitivity analysis.

10.9 Population-adjusted indirect comparisons

The models so far assume transitivity: effect modifiers are balanced across comparisons. When they are not, and individual participant data (IPD) are available for some trials but only published summaries for others, population-adjusted indirect comparisons try to remove the imbalance. This situation is routine in health technology appraisal, where a manufacturer holds the IPD of its own trials of treatment B versus A but sees only the publications of a competitor’s trials of C versus A. Phillippo, Ades, et al. (2017) review the methods and the assumptions they need. Two are in common use. Matching-adjusted indirect comparison (MAIC) reweights the IPD so that the weighted means of the chosen covariates equal those reported for the aggregate-data trial, using weights of the form \(w_i = \exp(\mathbf{x}_i^\top \boldsymbol\alpha)\) estimated by the method of moments, which is a propensity-score model for trial membership (Signorovitch et al. 2010). The weighted B versus A effect is then contrasted with the published C versus A effect. Simulated treatment comparison (STC) instead fits an outcome regression with treatment-by-covariate interactions to the IPD and predicts the B versus A effect at the covariate values of the aggregate-data trial.

Phillippo, Ades, et al. (2017) stress three points that are easy to miss. First, a comparison is anchored when the two trials share a common comparator, so that only effect modifiers need to be balanced; an unanchored comparison of single arms, common when one of the trials is uncontrolled, also requires that all prognostic factors be balanced, an assumption they describe as widely regarded as infeasible. Second, MAIC and STC deliver an estimate for the population of the aggregate-data trial, which need not be the population for which the decision is made, and analyses submitted for the same indication can rest on different or even incompatible assumptions. Third, reweighting costs precision: the effective sample size \((\sum_i w_i)^2 / \sum_i w_i^2\) of a MAIC is often a small fraction of the original IPD and should always be reported. Neither method extends naturally beyond two trials. Multilevel network meta-regression (ML-NMR) generalizes population adjustment to networks of any size: it integrates an individual-level regression model over the covariate distribution of each aggregate-data study, so that IPD and aggregate data enter one coherent network meta-regression, and it can produce estimates for any target population with known covariate distribution (Phillippo et al. 2020). ML-NMR is implemented in multinma through set_ipd(), set_agd_arm(), combine_network() and the regression argument of nma(). Because population adjustment rests on the choice of effect modifiers, that choice should be specified in advance from clinical knowledge and supported by evidence, not selected from the data at hand.

10.9.1 A worked MAIC example

MAIC needs nothing beyond base R, so we can write it out in full. We simulate an anchored setting in which the truth is known. A company holds the IPD of an AB trial (1,000 participants, mean age 56, 45% men) and sees only the published summaries of an AC trial (600 participants, mean age 62, 65% men): the means of the two covariates and the log odds ratio of C versus A with its standard error. Age and sex are prognostic, and both modify the effect of B: B works better in older participants and worse in men. The effect of C is not modified. Because the AC population is older but has more men, the B versus A effect in the AC population differs from the one estimated in the AB trial, and the unadjusted (Bucher) indirect comparison of Section 10.1.1 mixes two populations.

set.seed(2026)
sim_trial <- function(n, mean_age, p_male, modified) {
  age <- rnorm(n, mean_age, 8)
  male <- rbinom(n, 1, p_male)
  trt <- rep(0:1, length.out = n)
  effect <- if (modified) -0.6 + 0.08 * (age - 60) - 0.6 * male else -0.4
  lp <- -0.5 + 0.04 * (age - 60) + 0.3 * male + trt * effect
  data.frame(age, male, trt, y = rbinom(n, 1, plogis(lp)))
}
ipd_ab <- sim_trial(1000, 56, 0.45, modified = TRUE)    # B vs A, IPD available
trial_ac <- sim_trial(600, 62, 0.65, modified = FALSE)  # C vs A, summaries only
tab_ac <- table(trial_ac$trt, trial_ac$y)
agd_ac <- list(age = mean(trial_ac$age), male = mean(trial_ac$male),
               logor = log(tab_ac[2, 2] * tab_ac[1, 1] / (tab_ac[2, 1] * tab_ac[1, 2])),
               se = sqrt(sum(1 / tab_ac)))
rm(trial_ac, tab_ac)  # from here on only the published summaries are used
unlist(agd_ac)
#>     age    male   logor      se 
#> 62.1752  0.6733 -0.2542  0.1683

The weights \(w_i = \exp(\mathbf x_i^\top\boldsymbol\alpha)\) must make the weighted covariate means of the IPD equal to the published means \(\bar{\mathbf x}_{AC}\). Signorovitch et al. (2010) showed that after centring the covariates at the target, \(\tilde{\mathbf x}_i = \mathbf x_i - \bar{\mathbf x}_{AC}\), the moment conditions \(\sum_i \tilde{\mathbf x}_i \exp(\tilde{\mathbf x}_i^\top\boldsymbol\alpha) = \mathbf 0\) are the gradient of the convex function \(Q(\boldsymbol\alpha) = \sum_i \exp(\tilde{\mathbf x}_i^\top\boldsymbol\alpha)\), so the weights come from a simple minimisation. The weighted B versus A log odds ratio is then contrasted with the published C versus A one. Its standard error should include the uncertainty in the weights; we use a nonparametric bootstrap that re-estimates the weights in each resample, because the robust sandwich estimator underestimates the variability when the effective sample size is small (Remiro‐Azócar et al. 2021).

maic_weights <- function(X, target) {
  Xc <- sweep(X, 2, target)
  Q <- function(a) sum(exp(Xc %*% a))
  grad <- function(a) colSums(Xc * as.vector(exp(Xc %*% a)))
  alpha <- optim(rep(0, ncol(X)), Q, grad, method = "BFGS")$par
  as.vector(exp(Xc %*% alpha))
}
log_or <- function(y, trt, w = rep(1, length(y))) {
  unname(coef(suppressWarnings(glm(y ~ trt, family = binomial, weights = w)))[2])
}
X <- as.matrix(ipd_ab[, c("age", "male")])
target <- c(agd_ac$age, agd_ac$male)
w <- maic_weights(X, target)
rbind(unweighted = colMeans(X), weighted = colSums(X * w) / sum(w), target = target)
#>              age   male
#> unweighted 56.11 0.4520
#> weighted   62.18 0.6733
#> target     62.18 0.6733
ess <- sum(w)^2 / sum(w^2)
d_ab <- c(unadjusted = log_or(ipd_ab$y, ipd_ab$trt), MAIC = log_or(ipd_ab$y, ipd_ab$trt, w))
boot_ab <- replicate(500, {
  i <- sample(nrow(ipd_ab), replace = TRUE)
  log_or(ipd_ab$y[i], ipd_ab$trt[i], maic_weights(X[i, ], target))
})
se_ab <- c(unadjusted = sqrt(vcov(glm(y ~ trt, family = binomial, data = ipd_ab))[2, 2]),
           MAIC = sd(boot_ab))
d_bc <- d_ab - agd_ac$logor
se_bc <- sqrt(se_ab^2 + agd_ac$se^2)
round(cbind(d_AB = d_ab, d_BC = d_bc, lower = d_bc - 1.96 * se_bc,
            upper = d_bc + 1.96 * se_bc), 3)
#>              d_AB   d_BC  lower  upper
#> unadjusted -0.972 -0.718 -1.162 -0.273
#> MAIC       -0.721 -0.466 -0.986  0.054
round(ess)
#> [1] 474

The weighted means match the target exactly, as the method of moments guarantees. The price is precision: the effective sample size is 474 of the 1000 participants, and the standard error of the B versus A log odds ratio rises from 0.152 (unweighted, model-based) to 0.205 (weighted, bootstrap). Reweighting moves that log odds ratio from -0.97 to -0.72. Because we simulated the data, we can compute the true marginal values from the data-generating model with a very large sample: -0.95 in the AB trial population and -0.67 in the AC trial population. The unadjusted estimate targets the first, MAIC the second, and only the second can be combined with the published C versus A effect. The B versus C log odds ratio is -0.72 without adjustment and -0.47 (95% CI -0.99 to 0.05) with MAIC. The adjustment changes the conclusion: the unadjusted interval excludes zero, the wider MAIC interval does not.

A single data set cannot show bias, so we repeat the simulation 200 times and average the two estimates of the B versus A effect:

set.seed(11)
reps <- t(replicate(200, {
  ipd <- sim_trial(1000, 56, 0.45, modified = TRUE)
  ac <- sim_trial(600, 62, 0.65, modified = FALSE)
  Xr <- as.matrix(ipd[, c("age", "male")])
  wr <- maic_weights(Xr, c(mean(ac$age), mean(ac$male)))
  c(unadjusted = log_or(ipd$y, ipd$trt), MAIC = log_or(ipd$y, ipd$trt, wr))
}))
round(colMeans(reps), 3)
#> unadjusted       MAIC 
#>     -0.946     -0.680

Across replications the unadjusted estimate centres on the B versus A effect in the AB trial population (-0.95, against a true value of -0.95) and MAIC on the effect in the AC trial population (-0.68, against a true value of -0.67). This is the pattern found by Remiro‐Azócar et al. (2021) in a much larger simulation: MAIC was unbiased when its assumptions held, while the unadjusted comparison was biased under covariate imbalance with effect modification. They also showed why the target is the marginal effect: the odds ratio is non-collapsible, so an outcome regression that reports a conditional odds ratio at the mean covariate values, the way STC is often applied, estimates a different quantity from the marginal C versus A effect it is contrasted with. MAIC balances only the covariates that are included, and only their means unless higher moments are added to \(\mathbf x_i\); in this example, as in practice, the result is only as good as the list of effect modifiers.

10.10 Certainty of evidence and reporting

An NMA produces many estimates whose credibility varies: a comparison supported by large, low-risk-of-bias, head-to-head trials deserves more confidence than one inferred through a long chain of small trials. Two frameworks extend GRADE (Chapter 15) to networks. The GRADE Working Group approach rates direct and indirect evidence separately and then rates the network estimate (Puhan et al. 2014). CINeMA (Confidence in Network Meta-Analysis) evaluates each network estimate on six domains: within-study bias, reporting bias, indirectness, imprecision, heterogeneity, and incoherence (Nikolakopoulou et al. 2020). Its distinguishing feature is the use of the contribution matrix, which quantifies how much each direct comparison contributes to each network estimate, so that risk-of-bias judgements about individual trials propagate to the network estimates in proportion to their influence. A free web application implements the framework (Papakonstantinou et al. 2020). Imprecision and heterogeneity are judged against a pre-specified range of clinical equivalence, so the analyst must state what size of effect matters before looking at the results.

Reporting follows the PRISMA extension for network meta-analyses (Hutton et al. 2015), which adds items on the network geometry (a network graph), the assessment of transitivity and inconsistency, the methods used to handle multi-arm trials, and the presentation of rankings. Practical points that reviewers often find missing are: the table of effect modifiers by comparison; the full league table rather than only effects versus placebo; the heterogeneity variance and its prior (in a Bayesian analysis); the results of both global and local inconsistency checks; and sensitivity analyses excluding trials at high risk of bias.

10.11 Threshold analysis: how robust is the decision?

CINeMA and GRADE rate the certainty of each network estimate, but a guideline panel usually needs an answer to a different question: could plausible problems with the evidence change the recommendation? A comparison can be at high risk of bias and still be irrelevant to the decision, while a modest bias in another comparison can overturn it. Threshold analysis answers this directly (Phillippo, Dias, et al. 2017; Phillippo et al. 2019). It asks how much each data point, a single study estimate or the combined evidence on one contrast, would have to change before the treatment recommended by the NMA changes, and which treatment would then be recommended. If the change needed is larger than any plausible bias, the recommendation is robust to that piece of evidence; if it lies within the confidence interval of the estimate, the recommendation is sensitive even to sampling error.

The calculation is linear algebra. In a model with a normal likelihood, the posterior means of the basic parameters are a linear function of the data, \(\hat{\mathbf d} = \mathbf{H}\mathbf{y}\), with influence matrix \(\mathbf{H} = \boldsymbol\Sigma_{d}\mathbf{X}^\top\mathbf{V}^{-1}\), where \(\mathbf{X}\) is the design matrix of the data points, \(\mathbf{V}\) their likelihood covariance matrix and \(\boldsymbol\Sigma_{d}\) the posterior covariance of \(\hat{\mathbf d}\). Adding an adjustment \(\delta\) to data point \(m\) shifts the estimates by \(\delta\,\mathbf{h}_m\), the \(m\)th column of \(\mathbf{H}\). For each competitor \(a\) of the currently best treatment \(k^*\) one can solve for the \(\delta\) at which \(\hat d_{a} - \hat d_{k^*}\) crosses zero (or a minimal clinically important difference); the smallest positive and negative solutions give the decision-invariant bias-adjustment interval for that data point. The nmathresh package implements the method. A contrast-level analysis, which needs only the network estimates and their covariance matrix, reconstructs a likelihood with one independent data point for each contrast with direct evidence such that it reproduces the network posterior. We apply it to the random-effects netmeta fit of the smoking network, in which group counselling ranked first.

library(nmathresh)
trt_th <- c("No contact", "Self-help", "Individual", "Group")   # treatment codes 1 to 4
# basic parameters (log odds ratios versus no contact) and their covariance matrix
d_th <- nm$TE.random[trt_th[-1], "No contact"]
cov_names <- c("No contact:Self-help", "Individual:No contact", "Group:No contact")
sgn <- c(-1, 1, 1)                     # "No contact:Self-help" is no contact versus self-help
V_d <- nm$Cov.random[cov_names, cov_names] * outer(sgn, sgn)
dimnames(V_d) <- list(trt_th[-1], trt_th[-1])
# design matrix for the six contrasts with direct evidence, treatment b versus a
ab <- t(combn(4, 2))
X_th <- t(apply(ab, 1, function(r) {
  x <- numeric(3)
  if (r[1] > 1) x[r[1] - 1] <- -1
  x[r[2] - 1] <- 1
  x
}))
lik_th <- recon_vcov(V_d, prior.prec = 1e-4, X = X_th)   # near-flat prior: frequentist fit
th <- nma_thresh(mean.dk = d_th, lhood = lik_th, post = V_d,
                 nmatype = "fixed", X = X_th, opt.max = TRUE)

new_best <- function(code) trt_th[match(code, as.character(1:4))]
th_tab <- data.frame(
  contrast = paste(trt_th[ab[, 2]], "vs", trt_th[ab[, 1]]),
  direct   = sapply(seq_len(nrow(ab)), function(i)
    nm$TE.direct.random[trt_th[ab[i, 2]], trt_th[ab[i, 1]]]),
  se       = sqrt(diag(as.matrix(lik_th))),
  lower    = th$thresholds$lo, best_if_lower = new_best(th$thresholds$lo.newkstar),
  upper    = th$thresholds$hi, best_if_upper = new_best(th$thresholds$hi.newkstar))
knitr::kable(th_tab, digits = 2, row.names = FALSE,
             caption = "Contrast-level thresholds for the recommendation of group counselling (log odds ratio scale). Lower and upper are the smallest negative and positive adjustments to the combined evidence on each contrast that change the best treatment; the best_if columns give the new best treatment.")
Table 10.1: Contrast-level thresholds for the recommendation of group counselling (log odds ratio scale). Lower and upper are the smallest negative and positive adjustments to the combined evidence on each contrast that change the best treatment; the best_if columns give the new best treatment.
contrast direct se lower best_if_lower upper best_if_upper
Self-help vs No contact 0.32 0.43 -1.15 Individual 1.30 Self-help
Individual vs No contact 0.72 0.21 -1.45 No contact 0.56 Individual
Group vs No contact 0.81 0.88 -1.10 Individual Inf NA
Individual vs Self-help -0.08 0.63 -2.42 Self-help 1.68 Individual
Group vs Self-help 0.62 0.61 -0.68 Individual Inf NA
Group vs Individual -0.08 0.45 -0.26 Individual Inf NA

recon_vcov() reports a Kullback-Leibler divergence of essentially zero, so the reconstructed likelihood reproduces the network estimates exactly, and its standard errors are close to those of the direct random-effects estimates on each contrast (they differ slightly where three-arm trials contribute). The thresholds are adjustments to the combined evidence on each contrast; an infinite threshold means that no change in that direction alters the decision. Figure 10.5 displays the invariant intervals around the direct estimates.

th_tab$ci_lo <- th_tab$direct - qnorm(0.975) * th_tab$se
th_tab$ci_hi <- th_tab$direct + qnorm(0.975) * th_tab$se
thresh_forest(th, direct, ci_lo, ci_hi, label = contrast, data = th_tab,
              label.title = "Contrast", y.title = "log OR", CI.title = "95% CI",
              xlab = "Log odds ratio", xlim = c(-3, 3), refline = 0, digits = 2,
              calcdim = FALSE)
Threshold analysis of the recommendation of group counselling (treatment 4). For each contrast, the direct random-effects estimate with its 95% confidence interval and the decision-invariant interval (shaded). The numbers beside the invariant interval are the treatments that become best at each limit (1 no contact, 2 self-help, 3 individual, 4 group); intervals shaded red at an end, with bold labels, have a threshold inside the confidence interval. NT: no threshold.

Figure 10.5: Threshold analysis of the recommendation of group counselling (treatment 4). For each contrast, the direct random-effects estimate with its 95% confidence interval and the decision-invariant interval (shaded). The numbers beside the invariant interval are the treatments that become best at each limit (1 no contact, 2 self-help, 3 individual, 4 group); intervals shaded red at an end, with bold labels, have a threshold inside the confidence interval. NT: no threshold.

The recommendation of group counselling is most sensitive to the evidence comparing group with individual counselling. Lowering that combined estimate by only 0.26 on the log odds ratio scale, much less than its standard error of 0.45, would make individual counselling the best option. Adjustments of 0.68 to group versus self-help and 1.10 to group versus no contact would do the same, and both also lie inside the confidence intervals of those estimates. The recommendation is therefore not robust even to sampling variation, the same conclusion that the P-scores and the league table suggested less directly. By contrast, the thresholds for self-help versus no contact and individual counselling versus self-help lie well outside their confidence intervals, so the decision tolerates sizeable errors in that evidence. In a guideline, the next step would be to ask whether bias of the size of the smallest thresholds is plausible for the trials behind those contrasts, using their risk-of-bias assessments, and to concentrate the qualitative appraisal on them (Phillippo et al. 2019). Study-level threshold analysis works the same way with the trial-level contrasts and their covariance matrix as data, and for a random-effects model it also needs the joint posterior of the trial-specific random effects; the nmathresh vignette works through both cases.

10.12 Practical recommendations and common pitfalls

Define the nodes carefully. Decide in the protocol which interventions are “the same treatment”. Lumping different doses or delivery formats into one node creates heterogeneity and can create inconsistency; splitting too finely disconnects the network. Component models (Section 10.7) are one principled compromise.

Examine transitivity before modelling. Tabulate the distribution of plausible effect modifiers by comparison. If, for example, the placebo-controlled trials of one drug were done in treatment-resistant patients, no statistical method will rescue the indirect comparisons.

Handle multi-arm trials correctly. Never enter the pairwise contrasts of a multi-arm trial as independent studies. Use arm-level data in a Bayesian model or software that accounts for the correlations, as netmeta does.

Model heterogeneity and report it on the effect scale. In the smoking network, \(\hat\tau = 0.67\) dwarfs most of the differences between active interventions. Prediction intervals (prediction = TRUE in netmeta) are as informative in a network as in pairwise meta-analysis (Chapter 5).

Do not equate “no significant inconsistency” with consistency. Tests have low power, especially in sparse networks and when heterogeneity is large. Global and local checks should be read together, and their conclusions depend on whether heterogeneity is modelled, as the smoking example showed.

Use rankings with restraint. Present relative effects with intervals first. If rankings are reported, show the rank probabilities or rankograms, not only SUCRA or P-scores, and remember that a treatment can rank first merely because it was studied in few, small, optimistic trials.

Think about small-study effects and missing evidence. Publication bias (Chapter 7) can affect some comparisons in a network more than others, which then propagates through indirect paths. Comparison-adjusted funnel plots and network meta-regression on study size are available but have limited power.

10.13 Key takeaways

  • Network meta-analysis combines direct and indirect evidence on several treatments in one model and returns a coherent set of relative effects for every pair of treatments in a connected network.
  • Its validity rests on transitivity: effect modifiers must be similarly distributed across comparisons. Consistency, the agreement of direct and indirect evidence, is the testable consequence, but tests for inconsistency have low power.
  • Contrast-based models preserve within-trial randomization and are the default; arm-based models rely on additional assumptions about absolute outcomes. Multi-arm trials induce correlations that must be modelled.
  • netmeta implements the frequentist graph-theoretical estimator with tools for league tables, P-scores, design-by-treatment decomposition, node-splitting, net heat plots and component NMA. multinma (Stan) and gemtc (JAGS) provide Bayesian models with exact likelihoods, rank probabilities and SUCRA.
  • In the smoking cessation network, all counselling interventions outperform no contact, heterogeneity is large (\(\tau \approx 0.7\) to \(0.85\) on the log odds ratio scale), and the ordering of the active interventions is uncertain. Inconsistency suggested by a common-effect test disappears once heterogeneity is accounted for.
  • Rankings summarize uncertainty and effect size in one number and are easily over-interpreted. Report relative effects first.
  • The credibility of each network estimate should be rated (CINeMA or GRADE for NMA) and the analysis reported following PRISMA-NMA. Threshold analysis complements these ratings by showing how much the evidence would have to change before the recommended treatment changes; in the smoking network, an adjustment smaller than one standard error would overturn the recommendation of group counselling.

10.14 Further reading

Dias et al. (2018) is the most complete treatment of Bayesian NMA for decision making, building on the NICE Decision Support Unit technical documents (Dias et al. 2012, 2013). The Cochrane Handbook chapter by Chaimani et al. (2019) is a concise guide to planning and conducting a network meta-analysis within a systematic review. Salanti (2012) and Cipriani et al. (2013) discuss the conceptual assumptions and the main controversies. For the frequentist theory, read Rücker (2012) and the netmeta software paper by Balduzzi et al. (2023); for multi-arm trials, Rücker and Schwarzer (2014). Inconsistency models are covered by Higgins et al. (2012), White et al. (2012) and Dias et al. (2010). White et al. (2019) compares contrast-based and arm-based models. Component NMA is introduced by Welton et al. (2009) and Rücker et al. (2019). Population-adjusted comparisons with individual data are developed in Phillippo et al. (2020), and Remiro‐Azócar et al. (2021) compare MAIC, STC, and unadjusted comparisons by simulation. For certainty of evidence and reporting, see Nikolakopoulou et al. (2020), Puhan et al. (2014) and Hutton et al. (2015).