Author-reviewedEvidence: highv1.0.0

Random Effects Model

A random effects model represents variation in a parameter across defined units or settings by treating their unit-specific effects as draws from a shared distribution.

Status
Published, version 1.0.0
Last reviewed
25 Sep 2026, by Dr Darrin Baines
Report a problem
Tell us if something is wrong or out of date

Concept Architecture

Random Effects Model: Concept Architecture

Orientation and learning roadmap

The page first separates variation in underlying effects from sampling error in their estimates. It then shows the hierarchical model and its weighting in a health evidence synthesis, works through a small numerical example, and explains why a pooled mean, heterogeneity estimate, and prediction for another setting answer different questions.

Why effects can differ across studies

A treatment's effect need not be identical in every eligible study population or care setting. Differences in case mix, delivery, comparator, follow-up, and measurement can contribute to genuine variation, while each study's estimate also varies because it was calculated from a finite sample. A random effects synthesis models both layers rather than treating every observed difference as sampling noise.

Before fitting such a model, check whether the studies are similar enough in question and design for a distribution of underlying effects to be meaningful. Random effects do not repair biased studies, incompatible endpoints, or a poorly specified comparison. The distribution assumed for effects is a modeling choice to examine, not a guarantee that all included contexts are exchangeable.

In a common normal approximation for an effect measured on a consistent analysis scale:

yi∣θi∼N(θi,si2),θi∼N(μ,τ2).y_i\mid\theta_i\sim N(\theta_i,s_i^2),\qquad \theta_i\sim N(\mu,\tau^2).

Here yiy_i is study ii's observed effect estimate, si2s_i^2 its within-study sampling variance, θi\theta_i its underlying effect, μ\mu the mean of the modeled distribution of effects, and τ2\tau^2 the between-study variance. For ratios such as odds ratios or hazard ratios, synthesis is commonly performed on an appropriate transformed scale, such as the log scale, then interpreted back on the original scale as needed.

How the pooled estimate is weighted

In a conventional inverse-variance random effects meta-analysis, the amount of between-study variation enters each study's weight in addition to its sampling variance. When τ2\tau^2 is large relative to within-study variances, the weights become more similar than in a common-effect analysis. A smaller study may therefore receive a larger relative share of the pooled weight, which makes assessment of small-study bias especially relevant.

For a chosen estimate τ^2\widehat{\tau}^2 of between-study variance, an illustrative pooled estimator is:

wi=1si2+τ^2,μ^=∑iwiyi∑iwi.w_i=\frac{1}{s_i^2+\widehat{\tau}^2},\qquad \widehat{\mu}=\frac{\sum_i w_i y_i}{\sum_i w_i}.

The formula alone does not specify how τ2\tau^2 is estimated or how uncertainty in it is reflected in the interval for μ\mu. Methods such as restricted maximum likelihood and different interval procedures can produce different results, particularly with few studies. State the estimator and interval method rather than reporting only the phrase “random effects.”

A worked two-study calculation

The numbers below illustrate weighting only; two studies are too few to establish a reliable heterogeneity distribution. Suppose effects on a common additive scale are 0.20 and 0.50, with standard errors 0.10 and 0.20, and suppose a between-study variance of 0.01 is given for the exercise. The random effects weights are 1/(0.102+0.01)=501/(0.10^2+0.01)=50 and 1/(0.202+0.01)=201/(0.20^2+0.01)=20.

μ^=50(0.20)+20(0.50)50+20=2070≈0.286.\widehat{\mu}=\frac{50(0.20)+20(0.50)}{50+20}=\frac{20}{70}\approx0.286.

StudyEffect estimateSampling varianceIllustrative random effects weight
10.200.0150
20.500.0420

For comparison, weights that omit the between-study variance are 100 and 25, giving (100(0.20)+25(0.50))/125=0.26(100(0.20)+25(0.50))/125=0.26. The change in the illustrative mean reflects different weighting, not evidence that the underlying effect in either study changed. A real analysis must estimate heterogeneity from the studies and account for substantial uncertainty in that estimate; the assumed 0.01 here should not be presented as an empirical result.

Mean effect, heterogeneity, and prediction

A confidence interval for μ\mu expresses uncertainty about the mean of the modeled distribution of effects. A prediction interval instead asks about a plausible underlying effect in another comparable study or setting and incorporates between-study variation as well as uncertainty in the mean. It is generally wider and can reveal that a positive mean does not imply a benefit in every setting.

The between-study standard deviation τ\tau has the same units as the effect measure on the analysis scale, while τ2\tau^2 is its variance. The statistic I2I^2 describes a proportion of observed variability attributed to between-study heterogeneity under its definition, but does not replace the magnitude of τ2\tau^2 or a clinically meaningful assessment of effect differences. Small numbers of studies can make all of these quantities uncertain.

For health technology assessment, the effect needed by a decision model may apply to a particular population or practice setting rather than to an abstract cross-study mean. Examine effect modifiers, transportability, baseline risks, and whether the pooled relative measure can be applied consistently to the target population. Propagate treatment-effect and heterogeneity uncertainty into decision analysis without assuming every study estimate is a separate independent model input.

How to choose, report, and challenge the model

The choice between a common-effect and random effects synthesis should be justified by the scientific question and plausible heterogeneity, not selected after seeing which result is significant. Explore likely sources of variation through prespecified subgroup analysis or meta-regression when enough data and appropriate covariates exist. A random effects model summarizes variation; it does not explain its causes.

  1. Align the studies. Confirm comparators, populations, outcomes, time points, and effect scales before pooling.
  2. Inspect individual results. Show study estimates, precision, risk of bias, and clinically relevant differences.
  3. Specify the model. Report the effect distribution, heterogeneity estimator, weighting, interval method, and software.
  4. Assess heterogeneity and bias. Examine τ2\tau^2, prediction where defensible, small-study effects, and plausible effect modifiers.
  5. Test decision sensitivity. Compare defensible synthesis choices and carry resulting uncertainty through the health economic model.

The term random effects model also appears in broader multilevel or mixed effects regression, where random intercepts or slopes describe clustering of patients within hospitals, clinicians, or other groups. The hierarchical idea is shared, but the unit of variation, likelihood, and target parameter may differ from a study-level meta-analysis. The structure here is the meta-analysis case; it should not be copied unchanged into every clustered-data problem.

Evidence used for this explanation

Cochrane guidance supports the distinction between within-study error and between-study heterogeneity, the weighting approach, and interpretation of prediction intervals. NICE evidence-synthesis guidance emphasizes justification of model choice and examination of heterogeneity for decision making.

Library

Publications

8
  • BookFeatured

    Network Meta-Analysis for Decision Making — Dias, Ades, Welton, Jansen & Sutton, 1st Edition ed., 2018 (John Wiley & Sons)

    The definitive text on network meta-analysis (mixed treatment comparisons) for decision making, presenting a coherent Bayesian framework (implemented in WinBUGS) for synthesising evidence across multiple treatments, including inconsistency, bias adjustment, and use in cost-effectiveness models.

  • Book

    Introduction to Meta-Analysis — Borenstein, Hedges, Higgins & Rothstein, 2nd Edition ed., 2021 (John Wiley & Sons)

    A clear, applied introduction to meta-analysis — computing effect sizes, fixed- and random-effects models, heterogeneity, subgroup analysis, meta-regression, and publication bias — written for readers across disciplines.

  • Guidance

    NICE DSU Technical Support Document 1: Introduction to Evidence Synthesis for Decision Making — Dias, Welton, Sutton & Ades, TSD 1 ed., 2011 (NICE Decision Support Unit (University of Sheffield))

    The introductory document of the NICE DSU evidence-synthesis series, setting out the overall analytic approach — separating baseline (natural history) and relative treatment-effect models — for synthesising evidence to inform cost-effectiveness decisions.

  • Guidance

    NICE DSU Technical Support Document 2: A General Linear Modelling Framework for Pairwise and Network Meta-Analysis of Randomised Controlled Trials — Dias, Welton, Sutton & Ades, TSD 2 ed., 2011 (NICE Decision Support Unit (University of Sheffield))

    The core methods document for pairwise and network meta-analysis in NICE submissions — a generalised linear modelling framework with fixed- and random-effects models for binomial, Poisson, normal and other outcome types, implemented in WinBUGS.

  • Guidance

    NICE DSU Technical Support Document 4: Inconsistency in Networks of Evidence Based on Randomised Controlled Trials — Dias, Welton, Sutton, Caldwell, Lu & Ades, TSD 4 ed., 2011 (NICE Decision Support Unit (University of Sheffield))

    Guidance on assessing and handling inconsistency — conflict between direct and indirect evidence — in network meta-analysis, a key validity check for mixed treatment comparisons.

  • Guidance

    NICE DSU Technical Support Document 7: Evidence Synthesis of Treatment Efficacy in Decision Making — A Reviewer’s Checklist — Ades, Caldwell, Reken, Welton, Sutton & Dias, TSD 7 ed., 2011 (NICE Decision Support Unit (University of Sheffield))

    A reviewer’s checklist for appraising evidence syntheses of treatment efficacy used in decision making, covering the assumptions and reporting expected of pairwise and network meta-analyses submitted to NICE.

  • Guidance

    NICE DSU Technical Support Document 20: Multivariate Meta-Analysis of Summary Data for Combining Treatment Effects on Correlated Outcomes and Evaluating Surrogate Endpoints — Bujkiewicz, Achana, Papanikos, Riley & Abrams, TSD 20 ed., 2019 (NICE Decision Support Unit (University of Sheffield))

    Guidance on multivariate and network meta-analysis of correlated outcomes and on the evaluation of surrogate endpoints, extending standard synthesis methods to jointly model multiple related treatment effects.

  • Guidance

    NICE DSU Technical Support Document 25: Evidence Synthesis of Diagnostic Test Accuracy for Decision Making — Dias, Ren, Bujkiewicz, et al., TSD 25 ed., 2024 (NICE Decision Support Unit (University of Sheffield))

    Guidance on synthesising diagnostic test accuracy evidence (sensitivity and specificity) for use in decision models, including bivariate and hierarchical meta-analysis methods.

Media

1
  • Other

    Introduction to Network Meta-Analysis (ISPOR Statistical Methods SIG) — Emma Hawe & Sofia Dias, 2-part webinar ed., 2023 (ISPOR)

    A two-part ISPOR Special Interest Group webinar: an introduction to network meta-analysis by Emma Hawe, followed by special topics in NMA by Sofia Dias — core methods for indirect and mixed treatment comparison.

Frequently Asked Questions (7)

  • What is a random effects model?

    A meta-analysis model allowing genuine variation in the true treatment effect across studies, adding a between-study variance parameter to the estimate.

    Source: DerSimonian R, Laird N. Meta-analysis in clinical trials. Controlled Clinical Trials. 1986;7(3):177-188. doi:10.1016/0197-2456(86)90046-2.

  • What is a random-effects model?

    A random-effects model is a meta-analysis model that allows the true treatment effect to vary genuinely across studies, rather than assuming a single common effect, by adding a between-study variance parameter to the analysis. Under this model, each study estimates its own true effect drawn from a distribution, and the meta-analysis estimates the mean of that distribution along with the between-study variance. The random-effects model gives relatively more weight to smaller studies and wider confidence intervals when heterogeneity is present. So a random-effects model synthesises studies while allowing for real variation in their true effects.

    Source: DerSimonian & Laird 1986

  • Why does a random-effects model treat each study's true effect as different?

    A random-effects model treats the studies in a meta-analysis as each estimating its own true effect, drawn from a distribution of effects rather than a single common value. It does this because studies differ in patients, settings, and methods in ways that plausibly change how a treatment works, so assuming one identical effect would be unrealistic. By estimating both the average effect and its spread, it produces a wider, more cautious interval and gives smaller studies relatively more weight. Allowing the true effect to vary is its premise. Borenstein and colleagues (2009) describe this model.

    Source: Borenstein et al. 2009

  • What assumption underlies the random-effects model?

    The random-effects model assumes that the true treatment effects vary across studies, following a distribution, so that each study estimates a different underlying effect, and the observed variation reflects both this genuine between-study variation and sampling error. This contrasts with the fixed-effect model, which assumes a single common effect. The random-effects assumption is appropriate when the studies differ clinically or methodologically in ways that could genuinely change the effect. So the random-effects model rests on the assumption that the true effect is not the same in every study but varies, which is captured by the between-study variance parameter.

    Source: DerSimonian & Laird 1986

  • How does the random-effects model weight studies?

    The random-effects model weights studies using both their within-study precision and the between-study variance, so that, compared with the fixed-effect model, it gives relatively more weight to smaller studies and less dominance to the largest ones. As heterogeneity increases, the weights become more similar across studies. This weighting reflects that each study estimates a different true effect. So the random-effects model combines studies with weights that incorporate the between-study variation, producing a pooled estimate of the mean effect and a wider confidence interval than the fixed-effect model when heterogeneity is present, reflecting the additional uncertainty from the variation in true effects.

    Source: Higgins et al. 2003

  • When is a random-effects model appropriate?

    A random-effects model is appropriate when the studies differ in ways that could genuinely cause the true effect to vary, such as differences in populations, interventions, or settings, so that assuming a single common effect is unrealistic, and when heterogeneity is present. It accounts for this variation and gives a pooled estimate of the mean effect with appropriately wider uncertainty. Where the studies are homogeneous and a common effect is plausible, a fixed-effect model may suffice. So a random-effects model is appropriate under genuine heterogeneity, and the diversity of the studies and the assessed heterogeneity guide its use over the fixed-effect model.

    Source: DerSimonian & Laird 1986

  • How does the random-effects model differ from the fixed-effect model?

    The random-effects model assumes the true effects vary across studies and includes a between-study variance, giving relatively more weight to smaller studies and wider confidence intervals under heterogeneity, while the fixed-effect model assumes a single common effect, attributes variation to chance, and weights purely by precision. The random-effects model suits heterogeneous studies and estimates a mean effect, whereas the fixed-effect model suits homogeneous studies and estimates the common effect. So the two differ in whether they allow the true effect to vary, which affects the weighting, the width of the interval, and the interpretation of the pooled estimate.

    Source: DerSimonian & Laird 1986

Trust Record

Verified by Dr Darrin Baines

British health economist

Professional identity: darrinbaines.org

Verification date: 25 Sep 2026

Content version: 1.0.0

Canonical Identity

Term code
HE-ES-ESM-049
Wikidata
Q1826427

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