Introduction
Meta-analysis combines results from multiple studies to estimate an overall treatment effect, association, diagnostic accuracy measure, or other summary parameter.
One of the most important decisions in a meta-analysis is the statistical model used to combine the studies.
The two principal approaches are the fixed-effect model and the random-effects model.
Although the names sound similar, the models answer different scientific questions and make different assumptions about the relationship among the underlying study effects.
The Central Question
The most useful way to distinguish the two models is to ask:
or
$$ \text{Do the studies represent a distribution of potentially different true effects?} $$The first question corresponds to the fixed-effect perspective.
The second corresponds to the random-effects perspective.
Fixed-Effect Meta-Analysis
Under a fixed-effect model, there is assumed to be one common underlying effect, usually denoted by:
Each study provides an estimate of this same quantity.
For study \(i\):
where:
- \(y_i\) = observed effect estimate from study \(i\)
- \(\theta\) = common true effect
- \(\varepsilon_i\) = sampling error
The only source of variation among studies in the basic fixed-effect model is therefore sampling error.
Random-Effects Meta-Analysis
A random-effects model assumes that the true effect itself can vary between studies.
A common formulation is:
where:
Here:
- \(\mu\) = mean of the distribution of true effects
- \(u_i\) = study-specific deviation from the mean true effect
- \(\varepsilon_i\) = within-study sampling error
Typically:
where \(\tau^2\) is the between-study variance.
Fixed-Effect vs. Random-Effects: Side-by-Side
| Feature | Fixed Effect | Random Effects |
|---|---|---|
| Underlying effect | One common true effect | Distribution of true effects |
| Between-study variation | Sampling error only | Sampling error + true-effect heterogeneity |
| Between-study variance | Assumed 0 | Estimated as \(\tau^2\) |
| Study weights | \(1/v_i\) | \(1/(v_i+\tau^2)\) |
| Interpretation | Common effect | Mean effect across a distribution of effects |
| Prediction interval | Not generally applicable in the same way | Important when heterogeneity exists |
| Large studies | Can dominate strongly | Usually receive relatively less dominance when \(\tau^2>0\) |
What Does "Effect" Mean?
The effect measure depends on the research question.
Examples include:
- Mean difference
- Standardized mean difference
- Risk ratio
- Odds ratio
- Hazard ratio
- Risk difference
- Log odds ratio
- Log risk ratio
For ratio measures such as odds ratios, risk ratios, and hazard ratios, meta-analysis is usually performed on the logarithmic scale.
For example:
After pooling, the result can be transformed back:
Why Log Transformation Matters
Suppose three studies report hazard ratios:
| Study | Hazard Ratio |
|---|---|
| Study 1 | 0.70 |
| Study 2 | 0.82 |
| Study 3 | 0.95 |
Because hazard ratios are ratios, their logarithms are more suitable for standard inverse-variance pooling:
The pooled estimate is then exponentiated for clinical interpretation.
Inverse-Variance Weighting
Both fixed-effect and random-effects meta-analysis generally use inverse-variance weighting.
The key difference is the variance used in the denominator.
Fixed-Effect Weight
For study \(i\), let \(v_i\) be its within-study variance.
The fixed-effect weight is:
Studies with smaller variance receive larger weights.
Random-Effects Weight
Under a random-effects model:
The additional term \(\tau^2\) represents between-study variance.
Calculating a Fixed-Effect Pooled Estimate
Suppose there are \(k\) studies.
The fixed-effect pooled estimate is:
where:
Variance of the Fixed-Effect Pooled Estimate
The variance is:
and the standard error is:
A conventional large-sample confidence interval is then:
Calculating a Random-Effects Pooled Estimate
Once \(\tau^2\) has been estimated, random-effects weights are:
The pooled estimate is:
The model therefore combines information about:
- Within-study uncertainty
- Between-study heterogeneity
Where Does \(\tau^2\) Come From?
The between-study variance \(\tau^2\) is not usually known. It must be estimated from the observed study results.
Several estimators are available.
Common approaches include:
- DerSimonian-Laird
- Restricted maximum likelihood (REML)
- Maximum likelihood
- Paule-Mandel
The choice of estimator can affect the pooled estimate, confidence interval, and prediction interval, particularly when the number of studies is small.
DerSimonian-Laird Estimation
A traditional method for estimating \(\tau^2\) is the DerSimonian-Laird estimator.
Define:
and:
Then:
The maximum with zero prevents a negative variance estimate.
Restricted Maximum Likelihood
REML estimates \(\tau^2\) using a likelihood-based approach that accounts for the estimation of the overall mean effect.
REML is frequently preferred for modern meta-analysis because it generally has better statistical properties than the traditional DerSimonian-Laird estimator in many settings.
However, the appropriate estimator depends on the analysis objective, number of studies, effect measure, and inferential method.
Cochran's Q Statistic
Cochran's \(Q\) assesses whether the observed variation among study estimates is greater than would be expected from sampling error under a common-effect model.
The statistic is:
Under the usual assumptions, \(Q\) is approximately chi-square distributed with:
A large \(Q\) relative to its degrees of freedom provides evidence that the study estimates are more heterogeneous than expected from sampling error alone.
I-Squared: Quantifying Relative Heterogeneity
\(I^2\) is commonly reported as a percentage.
A standard formulation is:
It describes the proportion of observed variation that is attributed to between-study heterogeneity rather than sampling error, under the model and assumptions used for the calculation.
Common Interpretive Benchmarks for \(I^2\)
| \(I^2\) | Common Description |
|---|---|
| 0% | No observed excess heterogeneity under the statistic |
| 25% | Low heterogeneity |
| 50% | Moderate heterogeneity |
| 75% | High heterogeneity |
\(I^2\) and \(\tau^2\) Are Not the Same Thing
These two measures answer different questions.
| Measure | Question |
|---|---|
| \(I^2\) | What proportion of observed variation is attributed to heterogeneity? |
| \(\tau^2\) | How much absolute between-study variance is estimated? |
| \(\tau\) | What is the between-study standard deviation? |
Because \(I^2\) is relative to total observed variation, it depends on within-study precision.
Two meta-analyses can therefore have similar \(\tau^2\) but different \(I^2\), or similar \(I^2\) but different \(\tau^2\).
Why \(\tau\) Can Be Clinically Useful
The quantity:
is the between-study standard deviation on the analysis scale.
For a log hazard ratio, for example, \(\tau\) describes variability in the log-hazard-ratio scale.
This can be transformed into clinically interpretable limits when constructing a prediction interval.
Prediction Interval
One of the most useful differences between modern random-effects meta-analysis and a simple pooled-effect interpretation is the prediction interval.
A confidence interval answers:
A prediction interval asks:
A simplified large-sample prediction interval is:
More refined approaches may use a \(t\)-distribution and account for the uncertainty in estimating \(\tau^2\).
An Example: Five Studies
Consider a hypothetical meta-analysis of five randomized clinical trials. The effect measure is log hazard ratio.
| Study | Effect \(y_i\) | SE | Variance \(v_i\) |
|---|---|---|---|
| Study A | −0.35 | 0.12 | 0.0144 |
| Study B | −0.18 | 0.20 | 0.0400 |
| Study C | −0.05 | 0.15 | 0.0225 |
| Study D | +0.08 | 0.18 | 0.0324 |
| Study E | +0.22 | 0.25 | 0.0625 |
The studies do not all estimate exactly the same effect.
The important question is whether this variation should be interpreted as sampling error around one common effect or as evidence that true effects differ.
Fixed-Effect Weights in the Example
For Study A:
For Study E:
Study A therefore receives more than four times the raw inverse-variance weight of Study E.
Why Large Studies Can Dominate a Fixed-Effect Analysis
Suppose one study is extremely precise because it has a very large sample size. Its variance may be very small.
Under a fixed-effect model:
so its weight can become very large.
This is appropriate if the scientific question truly concerns one common underlying effect.
If the studies represent meaningfully different clinical settings, however, the assumption of one common effect may not be appropriate.
Random-Effects Weights in the Example
Suppose the estimated between-study variance is:
Then Study A receives:
Study E receives:
The difference between their weights has become much smaller.
Interactive Forest Plot: Model Comparison
The following simulated forest plot illustrates how the pooled estimate can change when the same studies are analyzed under fixed-effect and random-effects assumptions.
This figure is illustrative rather than a software-generated analysis output. The purpose is to visualize how adding between-study variance changes study weights and the pooled estimate.
Why the Random-Effects Pooled Estimate Can Move Toward Smaller Studies
Under the fixed-effect model, very precise studies can dominate the pooled estimate.
When \(\tau^2\) is positive, the random-effects weights become:
As \(\tau^2\) becomes large relative to \(v_i\), differences in the study sampling variances become less influential.
Consequently, smaller studies can receive substantially more relative weight under the random-effects model.
When the Two Models Give Similar Results
The fixed-effect and random-effects estimates may be quite similar when:
- Between-study heterogeneity is small.
- \(\hat{\tau}^2\) is close to zero.
- The study estimates are relatively homogeneous.
- The study variances are not dramatically different.
When:
the random-effects weights approach:
and the pooled estimates can become nearly identical.
When the Models Can Differ Substantially
The difference becomes more pronounced when:
- Study estimates vary considerably.
- Between-study heterogeneity is substantial.
- Study sizes vary greatly.
- Some small studies have effects very different from large studies.
In these circumstances, the model choice can affect:
- The pooled point estimate
- The standard error
- The confidence interval
- The prediction interval
- The relative influence of individual studies
The Scientific Meaning of a Fixed-Effect Estimate
A fixed-effect pooled estimate is best interpreted as an estimate of the common effect under the model's assumption.
It does not necessarily represent the average effect of a broad population of possible studies.
For example, if the included studies are treated as a fixed collection of studies and the scientific question concerns the common effect represented by those studies, a fixed-effect framework may be appropriate.
The Scientific Meaning of a Random-Effects Estimate
A random-effects pooled estimate is commonly interpreted as the mean of a distribution of true study effects.
This interpretation is particularly relevant when studies differ in ways that could plausibly modify the treatment effect.
Examples include:
- Different patient populations
- Different geographic regions
- Different treatment settings
- Different follow-up durations
- Different intervention implementations
- Different comparator standards
- Different disease severity
Clinical Heterogeneity vs. Statistical Heterogeneity
Heterogeneity should not be treated as purely mathematical.
Clinical heterogeneity refers to meaningful differences among the populations, interventions, comparators, outcomes, or settings.
Methodological heterogeneity can arise from differences in study design or risk of bias.
Statistical heterogeneity refers to variation in observed effect estimates beyond what would be expected from sampling error alone.
Why "I² > 50%, Therefore Random Effects" Is Too Simple
A common rule of thumb is:
This is an oversimplification.
The choice of model should not be reduced to a single heterogeneity threshold.
A meta-analysis can have a low \(I^2\) but still have clinically important differences between studies.
Conversely, a high \(I^2\) may arise partly because studies are extremely precise, even when the absolute differences between effects are modest.
Study Context Should Come First
Before calculating the pooled estimate, ask:
Forest Plots
A forest plot is the standard graphical display for many meta-analyses.
It typically shows:
- The effect estimate from each study
- The confidence interval for each study
- The relative study weight
- The pooled effect
- A reference line representing no effect
For a hazard ratio or risk ratio, the no-effect value is:
For a mean difference or log ratio measure, the no-effect value is:
Forest Plot: What the Diamond Means
The pooled effect is often represented by a diamond.
The center of the diamond is the pooled point estimate.
The horizontal width represents the confidence interval.
Under a random-effects analysis, the pooled diamond summarizes the estimated mean of the distribution of true effects.
Confidence Interval vs. Prediction Interval
| Interval | Primary Question |
|---|---|
| Study confidence interval | How precisely is this individual study's effect estimated? |
| Pooled confidence interval | How precisely is the average/common pooled effect estimated? |
| Prediction interval | Where might the true effect of a new comparable study lie? |
Example of a Wide Prediction Interval
Suppose a random-effects meta-analysis estimates:
with:
and:
The pooled mean may be estimated relatively precisely while the prediction interval remains wide because between-study variation is substantial.
This is clinically important.
It means the evidence may support a beneficial average effect while still allowing considerable uncertainty about the direction or magnitude of the effect in a new setting.
Back-Transformation for Hazard Ratios
Suppose the random-effects pooled estimate is:
Then:
Thus, the estimated average hazard ratio is approximately 0.78.
A value below 1 indicates lower hazard in the treatment group relative to the reference group, assuming the effect was defined in that direction.
Random Effects Does Not Automatically Mean "More Conservative"
Another common misconception is:
This is not generally true.
Random-effects analysis can produce:
- A larger standard error
- A wider confidence interval
- A pooled estimate shifted toward smaller studies
- A different clinical conclusion
But none of these outcomes is guaranteed.
The direction and magnitude of the change depend on the study estimates, within-study variances, and estimated heterogeneity.
Random Effects Does Not Automatically Mean Better
Likewise:
is also too simplistic.
A random-effects model is appropriate when its scientific assumptions fit the question.
If all studies genuinely estimate a single common effect, a fixed-effect model may be more directly aligned with that scientific question.
What Happens When \(\tau^2=0\)?
If:
then:
The random-effects and fixed-effect pooled estimates therefore coincide under the usual inverse-variance framework.
Their reported uncertainty can still differ depending on the inferential method used.
Hartung-Knapp Adjustment
For random-effects meta-analysis, particularly when the number of studies is small, the usual normal approximation can underestimate uncertainty.
The Hartung-Knapp-Sidik-Jonkman approach provides an alternative inference procedure for the pooled effect.
Conceptually, it replaces a simple normal-based uncertainty calculation with an approach that incorporates uncertainty associated with between-study variation.
The resulting interval can be wider than the conventional random-effects interval, particularly with few studies.
Small Number of Studies
Random-effects meta-analysis becomes particularly challenging when only a few studies are available.
Potential problems include:
- Unstable estimates of \(\tau^2\)
- Wide uncertainty around the heterogeneity estimate
- Low power for heterogeneity tests
- Sensitivity to the chosen variance estimator
- Potentially wide prediction intervals
Therefore, a small \(k\) does not justify assuming heterogeneity is absent.
Large Number of Studies
With many studies, estimation of the between-study variance generally becomes more stable, although substantial methodological and clinical heterogeneity can still make interpretation difficult.
Large meta-analyses should therefore not rely solely on \(I^2\).
Investigators should also examine:
- The magnitude of \(\tau^2\)
- The prediction interval
- Study-level effect estimates
- Clinical differences among studies
- Risk of bias
- Potential effect modifiers
Subgroup Analysis
If heterogeneity appears related to a known characteristic, subgroup analysis may be informative.
Examples include:
- Geographic region
- Disease stage
- Comparator type
- Patient age
- Treatment dose
- Follow-up duration
For example:
could motivate a subgroup or meta-regression analysis.
Meta-Regression
Meta-regression extends the random-effects framework by modeling study effects as a function of study-level covariates.
For example:
where:
- \(\beta_0\) = intercept
- \(\beta_1\) = association between the study-level moderator and effect
- \(X_i\) = study-level characteristic
- \(u_i\) = residual between-study heterogeneity
This can help investigate why effects differ between studies.
Ecological Interpretation Warning
Study-level meta-regression does not automatically establish individual-level relationships.
For example, if studies with older populations show smaller treatment effects, this does not prove that older individual patients necessarily have smaller treatment effects.
This is an ecological inference issue.
Heterogeneity Should Be Investigated
When meaningful heterogeneity exists, simply reporting:
is usually not enough.
The investigator should ask:
- Why might the studies differ?
- Are there clinically meaningful population differences?
- Are outcome definitions different?
- Are treatment regimens different?
- Are study designs different?
- Is risk of bias unevenly distributed?
Fixed-Effect Model: Appropriate Situations
A fixed-effect model can be appropriate when the scientific objective is to estimate a common effect and the studies are sufficiently comparable for that assumption to be credible.
Examples may include:
- Highly standardized experiments
- Very similar trial protocols
- Studies conducted under essentially identical conditions
- Analyses focused specifically on the common effect represented by the included studies
The exact justification depends on the research question.
Random-Effects Model: Appropriate Situations
A random-effects model is often appropriate when it is scientifically plausible that true effects vary among studies.
This is common in clinical research because studies frequently differ in:
- Patient populations
- Clinical settings
- Treatment implementation
- Follow-up
- Comparator characteristics
The key is not that studies are "different" in any superficial sense, but that those differences could plausibly produce different true effects.
Three Different Questions
Meta-analysis becomes clearer when the scientific target is explicitly defined.
| Question | Relevant Perspective |
|---|---|
| What common effect is represented by these studies? | Fixed-effect framework may be appropriate |
| What is the average effect across a distribution of similar studies? | Random-effects framework |
| What effect might occur in a new similar setting? | Random-effects prediction interval |
Fixed-Effect and Random-Effects Weighting
The plotted weights are normalized within each model for visual comparison. They illustrate the weighting principle rather than a specific meta-analysis.
Normalized Study Weights
For presentation, weights are often converted into percentages:
This makes it easier to see how much influence each study has on the pooled estimate.
The normalized weights sum to:
Why Weight Is Not the Same as Sample Size
A common mistake is to assume:
This is not generally correct.
Meta-analysis weights depend on the variance of the effect estimate.
Sample size affects precision, but so do:
- Event rates
- Outcome variability
- Allocation ratios
- Study design
- Effect-measure calculation
Therefore, a study with twice the sample size does not necessarily receive twice the meta-analysis weight.
Common-Effect vs. Fixed-Effect Terminology
Modern meta-analysis literature often uses common-effect rather than fixed-effect to emphasize the underlying assumption.
The term "fixed effect" can be misunderstood as meaning that the estimated effect is literally fixed or that the analysis contains no uncertainty.
Neither is true.
There is still sampling uncertainty in the pooled estimate.
Random Effects Does Not Mean Randomized Studies
The phrase "random effects" can also be confusing.
It does not refer to randomization of patients to treatment.
It refers to modeling the true study effects as realizations from a distribution.
Odds Ratios and Random Effects
Suppose studies report odds ratios.
The usual analysis uses:
with variance:
The random-effects pooled estimate is calculated on the log scale and then exponentiated.
Risk Ratios
Similarly:
and:
The same conceptual distinction between fixed effect and random effects applies.
Mean Differences
For continuous outcomes measured on the same scale, a mean difference may be used directly.
For example:
The no-effect value is:
Standardized Mean Differences
When studies use different measurement scales for the same construct, standardized mean differences may be used.
The study-specific estimate is typically standardized using a pooled or appropriate within-study standard deviation.
Meta-analysis can then pool the standardized effects using the same general fixed-effect or random-effects principles.
Clinical Interpretation of Heterogeneity
Suppose a meta-analysis reports:
with a 95% confidence interval:
and:
The result suggests a beneficial average effect, but the substantial heterogeneity means the average may not adequately describe every setting.
The prediction interval is therefore particularly informative.
Why a Significant Pooled Effect Can Coexist With Uncertainty
It is entirely possible for:
while:
This means the evidence can support a beneficial average effect while still allowing the true effect in a new setting to be little different from no effect, or potentially even in the opposite direction.
Leave-One-Out Analysis
A useful sensitivity analysis is to repeat the meta-analysis after removing each study one at a time.
This can reveal whether:
- One study dominates the pooled result
- One outlier drives heterogeneity
- The pooled estimate is robust
In R, this can be implemented using functions available in the
metafor package.
Influence Diagnostics
Random-effects meta-analysis can be sensitive to individual studies, particularly when the number of studies is small.
Influence diagnostics can examine:
- Cook's distance
- Studentized residuals
- Hat values
- Changes in \(\tau^2\)
- Changes in the pooled effect
These diagnostics should identify potentially influential observations, not automatically justify deleting them.
Outliers Are Not Automatically Errors
An unusually large or small study estimate may reflect:
- A data error
- A methodological problem
- A genuinely different population
- A treatment-effect modifier
- Random sampling variation
Removing an outlier solely because it changes the pooled result can introduce bias.
Sensitivity Analysis
A robust meta-analysis often examines whether conclusions change under reasonable alternative assumptions.
Possible sensitivity analyses include:
- Fixed-effect vs. random-effects
- REML vs. alternative \(\tau^2\) estimators
- Hartung-Knapp vs. conventional inference
- Exclusion of high-risk-of-bias studies
- Exclusion of influential studies
- Alternative effect definitions
Publication Bias Is a Separate Issue
The choice between fixed-effect and random-effects models does not solve publication bias.
Potential tools include:
- Funnel plots
- Small-study effect assessments
- Egger-type regression methods
- Selection-model approaches
These methods answer different questions from heterogeneity analysis.
Forest Plot vs. Funnel Plot
| Plot | Primary Purpose |
|---|---|
| Forest plot | Display study effects, confidence intervals, and pooled effect |
| Funnel plot | Explore study size/precision versus effect and possible small-study effects |
R Implementation With metafor
The metafor package provides a flexible framework
for fixed-effect and random-effects meta-analysis.
install.packages("metafor")
library(metafor)
Example Dataset
dat <- data.frame(
study = c(
"Study A",
"Study B",
"Study C",
"Study D",
"Study E"
),
yi = c(
-0.35,
-0.18,
-0.05,
0.08,
0.22
),
sei = c(
0.12,
0.20,
0.15,
0.18,
0.25
)
)
Fixed-Effect Analysis in R
fit_fe <- rma( yi = yi, sei = sei, data = dat, method = "FE" ) summary(fit_fe)
The model estimates a common underlying effect.
Random-Effects Analysis Using REML
fit_re <- rma( yi = yi, sei = sei, data = dat, method = "REML" ) summary(fit_re)
The model estimates:
- The pooled mean effect
- Between-study variance \(\tau^2\)
- \(I^2\)
- Heterogeneity statistics
- Confidence interval for the pooled mean
Forest Plot in R
forest( fit_re, slab = dat$study, xlab = "Log Hazard Ratio" )
For a hazard-ratio analysis, the forest plot can be displayed on the original ratio scale.
forest( fit_re, slab = dat$study, atransf = exp, xlab = "Hazard Ratio" )
Prediction Interval in R
For a random-effects model:
predict( fit_re, transf = exp )
The output can provide a prediction interval for the effect in a future comparable study.
Estimating Tau-Squared With Different Methods
It is often useful to examine how the estimated heterogeneity changes under alternative estimators.
fit_re_reml <- rma( yi, sei = sei, data = dat, method = "REML" ) fit_re_dl <- rma( yi, sei = sei, data = dat, method = "DL" ) fit_re_pm <- rma( yi, sei = sei, data = dat, method = "PM" ) fit_re_reml$tau2 fit_re_dl$tau2 fit_re_pm$tau2
Hartung-Knapp-Type Inference in R
The metafor framework supports alternative
inference choices for random-effects models.
For example, one commonly used approach is:
fit_hk <- rma( yi, sei = sei, data = dat, method = "REML", test = "knha" ) summary(fit_hk)
The resulting interval may differ from the conventional normal-based interval, particularly with few studies.
Manual Fixed-Effect Calculation in R
The fixed-effect calculation can be implemented directly to understand the underlying mathematics.
dat$vi <- dat$sei^2 dat$w_fe <- 1 / dat$vi theta_fe <- sum( dat$w_fe * dat$yi ) / sum(dat$w_fe) se_fe <- sqrt( 1 / sum(dat$w_fe) ) ci_fe <- c( theta_fe - 1.96 * se_fe, theta_fe + 1.96 * se_fe ) theta_fe se_fe ci_fe
Manual Random-Effects Weighting
Suppose, for illustration, that:
tau2 <- 0.04
Then:
dat$w_re <- 1 / ( dat$vi + tau2 ) theta_re <- sum( dat$w_re * dat$yi ) / sum(dat$w_re) se_re <- sqrt( 1 / sum(dat$w_re) ) theta_re
This example illustrates the weighting equation directly.
In a real analysis, \(\tau^2\) should generally be estimated using the prespecified meta-analysis method rather than inserted arbitrarily.
Calculating Normalized Weights
dat$weight_fe_pct <- 100 * dat$w_fe / sum(dat$w_fe) dat$weight_re_pct <- 100 * dat$w_re / sum(dat$w_re) dat[, c( "study", "weight_fe_pct", "weight_re_pct" )]
Calculating Cochran's Q Manually
Q <- sum( dat$w_fe * (dat$yi - theta_fe)^2 ) df <- nrow(dat) - 1 p_Q <- pchisq( Q, df = df, lower.tail = FALSE ) Q df p_Q
Calculating I-Squared
I2 <- max( 0, (Q - df) / Q ) * 100 I2
The resulting value should be interpreted as a descriptive measure of heterogeneity rather than as an automatic model-selection switch.
Data Structure for a Meta-Analysis
A practical analysis dataset might contain:
| Variable | Description |
|---|---|
| STUDYID | Unique study identifier |
| yi | Effect estimate on the analysis scale |
| sei | Standard error of the effect estimate |
| vi | Variance of the effect estimate |
| n | Total sample size or relevant study size |
| TE | Treatment effect |
| EVENT_T | Events in treatment group |
| EVENT_C | Events in control group |
| RISK_BIAS | Study-level risk-of-bias assessment |
| MODERATOR | Potential effect modifier |
Data Preparation Workflow
Common Mistake: Choosing the Model After Seeing the Result
Suppose the analyst first calculates the fixed-effect result.
Then the analyst calculates the random-effects result.
If the random-effects result is statistically significant, the analyst chooses it.
If it is not statistically significant, the analyst chooses fixed effect.
This is poor practice because the model has effectively been selected based on the desired conclusion.
Common Mistake: Using Fixed Effect Because I² Is Low
A low \(I^2\) does not automatically prove that all studies share one true effect.
For example, with only three studies:
may simply reflect limited statistical power to detect heterogeneity.
Common Mistake: Using Random Effects Because "Clinical Studies Are Always Different"
The opposite rule is also too simplistic.
The fact that studies differ in some superficial way does not necessarily mean that their true effects differ.
The relevant question is whether those differences are capable of modifying the underlying effect being estimated.
Common Mistake: Reporting Only I²
A complete heterogeneity assessment should not normally consist only of:
The report should ideally provide enough information to understand the heterogeneity, including:
- \(Q\)
- \(I^2\)
- \(\tau^2\)
- \(\tau\), where useful
- Prediction interval
- Study-level effect estimates
Common Mistake: Treating Q as a Perfect Heterogeneity Test
Cochran's \(Q\) has limitations.
With few studies, it can have low power.
With many studies, it can become highly sensitive to relatively small differences.
Therefore, \(Q\) should be interpreted together with the magnitude of the effects and other heterogeneity measures.
Common Mistake: Treating \(\tau^2=0\) as Proof of Homogeneity
A variance estimate of zero does not prove that the underlying true effects are identical.
It may occur because:
- The true heterogeneity is small.
- The number of studies is limited.
- The estimator produces a boundary estimate.
- The study estimates happen to be relatively similar.
Common Mistake: Ignoring the Effect Scale
An \(I^2\) value does not tell you whether heterogeneity is clinically large.
For example, an \(I^2\) of 70% for one outcome may correspond to modest differences in clinically interpretable effects, whereas the same \(I^2\) for another outcome could correspond to major differences.
Always examine the actual effect estimates.
Common Mistake: Interpreting the Pooled Effect as Universal
A random-effects pooled estimate is an average across a distribution of effects.
It should not automatically be interpreted as the effect that every future study or every patient will experience.
The prediction interval is useful precisely because it communicates the potential variation in effects across settings.
Fixed-Effect vs. Random-Effects Decision Framework
Example Reporting Language: Fixed Effect
Example Reporting Language: Random Effects
Example Results Table
| Analysis | Estimate | 95% CI | \(I^2\) | \(\tau^2\) |
|---|---|---|---|---|
| Fixed effect | −0.18 | −0.25 to −0.11 | — | — |
| Random effects | −0.14 | −0.28 to 0.00 | 62% | 0.03 |
The example illustrates how the random-effects confidence interval can be wider when heterogeneity is incorporated into the model.
Back-Transforming the Example
If the effect is a log hazard ratio:
for the fixed-effect estimate, and:
for the random-effects estimate.
The two estimates are not necessarily contradictory.
They correspond to different assumptions about the underlying effects.
Why Model Choice Can Change the Clinical Conclusion
Suppose the fixed-effect confidence interval excludes the null but the random-effects confidence interval includes it.
This does not mean one model is "correct because it is significant."
It means that the inference depends materially on how between-study heterogeneity is modeled.
The appropriate response is to examine:
- The scientific assumptions
- The study differences
- The heterogeneity estimate
- The prediction interval
- Sensitivity analyses
- The robustness of the clinical conclusion
What If the Studies Are Extremely Heterogeneous?
A random-effects model does not make fundamentally incompatible studies comparable.
If the studies address different clinical questions, populations, interventions, or outcomes, simply applying a random-effects model does not solve the problem.
When Meta-Analysis May Not Be Appropriate
Pooling may be inappropriate when:
- The interventions are fundamentally different.
- The populations are clinically incompatible.
- The outcomes represent different constructs.
- The effect measures cannot be meaningfully aligned.
- Study designs produce fundamentally different estimands.
- There is no scientifically defensible common target population.
In such cases, a structured qualitative synthesis may be preferable.
Common-Effect Model and Generalizability
A common-effect estimate can be very precise while having limited generalizability outside the included studies.
Precision and transportability are different concepts.
A narrow confidence interval answers a precision question.
It does not automatically answer whether the estimate applies to another population or healthcare setting.
Random-Effects Models and Generalizability
A random-effects model explicitly acknowledges variation across studies.
However, the ability to generalize depends on the studies included in the meta-analysis.
If the included studies do not represent the population of interest, a random-effects model does not automatically solve the transportability problem.
Bayesian Random-Effects Meta-Analysis
The random-effects framework can also be implemented using Bayesian methods.
A Bayesian model may specify:
with prior distributions assigned to \(\mu\) and \(\tau\).
The analysis then produces posterior distributions rather than relying only on point estimates and confidence intervals.
Bayesian methods can be particularly useful when prior information about heterogeneity is available or when uncertainty in \(\tau\) is important.
Frequentist vs. Bayesian Random Effects
| Feature | Frequentist | Bayesian |
|---|---|---|
| Between-study variance | Estimated | Posterior distribution |
| Prior information | Not specified as a prior | Can be incorporated explicitly |
| Inference | Confidence intervals/tests | Posterior probabilities/credible intervals |
| Prediction | Prediction interval | Posterior predictive distribution |
Meta-Analysis Quality-Control Checklist
Forest Plot Quality Control
- Every eligible study appears exactly once.
- Study labels are correct.
- Effect estimates match the analysis dataset.
- Confidence intervals match the statistical output.
- The no-effect reference line is correct.
- The pooled estimate is correct.
- The pooled confidence interval is correct.
- Study weights are correct.
- The effect scale is correctly labeled.
- Ratio measures are back-transformed correctly.
- Fixed-effect and random-effects outputs are not accidentally interchanged.
Comparing the Models: A Practical Example
Imagine six trials of a new oncology treatment.
Three studies suggest substantial benefit, two show modest benefit, and one shows little or no benefit.
Under a fixed-effect model, the largest trial may dominate the pooled estimate.
Under a random-effects model, between-study variation may reduce the dominance of that trial.
The random-effects estimate may therefore move toward the average of the observed study effects.
This difference can be scientifically meaningful if the studies represent different clinical settings.
How to Read the Forest Plot in Practice
A useful sequence is:
- Identify the no-effect line.
- Examine the direction of each study effect.
- Compare the confidence intervals.
- Look for obvious heterogeneity.
- Examine the study weights.
- Inspect the pooled effect.
- Compare the pooled confidence interval with the no-effect line.
- Examine \(I^2\), \(\tau^2\), and the prediction interval.
Do Not Judge Heterogeneity by Eye Alone
A forest plot can reveal substantial variation, but visual inspection is not a replacement for statistical and clinical assessment.
Two studies can have apparently different point estimates while their confidence intervals overlap substantially.
Conversely, overlapping confidence intervals do not prove that the true effects are identical.
Overlapping Confidence Intervals Are Not a Heterogeneity Test
A common misconception is:
This implication is false.
Formal heterogeneity assessment and clinical interpretation should be used instead.
Fixed-Effect vs. Random-Effects Summary
| Question | Fixed Effect | Random Effects |
|---|---|---|
| One true effect? | Yes | No |
| True effects vary? | No | Yes |
| Between-study variance? | 0 by assumption | \(\tau^2\) estimated |
| Weight | \(1/v_i\) | \(1/(v_i+\tau^2)\) |
| Large studies dominate? | Potentially strongly | Less strongly when heterogeneity exists |
| Prediction interval? | Not a central feature | Highly informative |
| Scientific target | Common effect | Mean of true-effect distribution |
Practical Recommendations
Use Fixed Effect When
A common underlying effect is scientifically defensible and is the target of the analysis. The studies are sufficiently comparable that differences in observed estimates can reasonably be attributed primarily to sampling error.
Use Random Effects When
True effects are expected to vary across studies and the target is an average effect across that distribution. Report the heterogeneity and consider a prediction interval.
Recommended Reporting Strategy
For a modern clinical meta-analysis, a transparent report should generally state:
- The effect measure
- The analysis scale
- The primary model
- The weighting method
- The \(\tau^2\) estimator if random effects is used
- The confidence-interval method
- The pooled estimate
- The heterogeneity statistics
- The prediction interval when appropriate
- The sensitivity analyses
Example Complete Results Statement
What the Results Statement Communicates
The example communicates four distinct ideas:
- The estimated average treatment effect.
- The precision of that average.
- The magnitude of between-study heterogeneity.
- The potential range of effects in a new setting.
That is much more informative than reporting only:
Fixed-Effect vs. Random-Effects: The Core Concept
The most important distinction can be summarized mathematically.
Fixed effect:
Random effects:
with:
The random-effects model therefore contains an additional source of variation: between-study variation in the true effects.
The Most Important Weighting Difference
versus:
That one additional term:
is responsible for much of the practical difference between the models.
The Most Important Interpretation Difference
Fixed-effect:
Random-effects:
The Most Important Clinical Difference
A fixed-effect result can be highly precise while being narrowly tied to the common-effect assumption.
A random-effects result acknowledges that different settings may have different true effects.
The prediction interval then communicates how much those effects may vary.
Quick Reference Formula Sheet
| Quantity | Formula |
|---|---|
| Fixed-effect weight | \(w_i=1/v_i\) |
| Fixed-effect pooled estimate | \(\hat{\theta}_{FE}=\sum w_i y_i/\sum w_i\) |
| Random-effects weight | \(w_i=1/(v_i+\tau^2)\) |
| Random-effects pooled estimate | \(\hat{\mu}=\sum w_i y_i/\sum w_i\) |
| Cochran's Q | \(Q=\sum w_i(y_i-\hat{\theta}_{FE})^2\) |
| I-squared | \(I^2=\max[0,(Q-df)/Q]\times100\%\) |
| Between-study SD | \(\tau=\sqrt{\tau^2}\) |
| Random-effects prediction interval | \(\hat{\mu}\pm z\sqrt{SE(\hat{\mu})^2+\tau^2}\) |
Final Checklist
References
Borenstein, M., Hedges, L.V., Higgins, J.P.T., & Rothstein, H.R. (2009). Introduction to Meta-Analysis.
John Wiley & Sons.
Higgins, J.P.T., Thompson, S.G., Deeks, J.J., & Altman, D.G. (2003). Measuring inconsistency in meta-analyses. BMJ, 327, 557–560.
Higgins, J.P.T. & Thompson, S.G. (2002). Quantifying heterogeneity in a meta-analysis. Statistics in Medicine, 21, 1539–1558.
DerSimonian, R. & Laird, N. (1986). Meta-analysis in clinical trials. Controlled Clinical Trials, 7, 177–188.
Viechtbauer, W. (2005). Bias and efficiency of meta-analytic variance estimators in the
random-effects model. Journal of Educational and Behavioral Statistics, 30, 261–293.
Viechtbauer, W. (2010). Conducting meta-analyses in R with the metafor package. Journal of Statistical Software, 36(3), 1–48.
Veroniki, A.A., Jackson, D., Viechtbauer, W., et al. (2016). Methods to estimate the between-study variance and its uncertainty in
meta-analysis. Research Synthesis Methods, 7, 55–79.
Harter, C., Kuss, O., & others. The choice of variance estimator and
small-sample inference should be considered when conducting random-effects
meta-analysis.