Why Inspect Heterogeneity?
A pooled dose-response estimate can summarize evidence across Phase 2 trials, but the summary may conceal meaningful differences between trials. If the estimated effect at a dose is similar across studies, a common summary may be useful. If effects vary substantially, the pooled mean may describe no particular trial well, and a single dose recommendation may not transfer reliably across settings.
The target of this tutorial is between-trial heterogeneity in a dose-response effect. Before assessing it, define the effect being compared: for example, the estimated change from a reference dose to a specified dose at a specified treatment duration, on a common endpoint scale. Trial estimates must refer to a sufficiently aligned estimand and be oriented in the same direction. Differences in endpoint, time point, population, dose contrast, or analysis can create apparent variation that is not simply random variation around one shared effect.
A common random-effects model represents the underlying effect in trial \(i\) by \(\theta_i\):
This model assumes that trial estimates are independent, their sampling variances are adequately estimated, and the trial-specific effects are draws from a distribution with mean \(\mu\) and variance \(\tau^2\). It also assumes that the effects being pooled are meaningfully comparable. The model does not explain why effects differ, and the normal distribution for trial effects may be an imperfect approximation, particularly when there are few trials.
The marginal model is \(y_i\sim N(\mu,v_i+\tau^2)\). The fixed-effect model is the special case \(\tau^2=0\): every trial is assumed to share one underlying effect, with observed differences attributed to sampling error. Neither assumption should be selected merely because it produces a narrower interval.
Quantifying Variation
A useful first diagnostic is Cochran’s \(Q\), which measures weighted dispersion around the fixed-effect pooled estimate. Define \(w_i=1/v_i\) and \(\bar{y}_w=\sum_i w_i y_i/\sum_i w_i\). Under independent, approximately normal estimates with known sampling variances and a common underlying effect, \(Q\) has approximately a chi-square distribution with \(k-1\) degrees of freedom.
A small p-value for \(Q\) is evidence against the common-effect assumption, not a measure of how large or clinically important the variation is. With few trials, the test can have low power; a non-significant result does not establish homogeneity.
The \(I^2\) statistic expresses the estimated share of observed dispersion that is attributed to heterogeneity rather than sampling error. For \(Q>0\), use the usual formula below; when \(Q=0\), define \(I^2=0\), so the statistic is defined in every case.
This is a descriptive, scale-free measure; it is not the percentage of trials that differ, nor does it report the size of the variation in endpoint units. For that, estimate \(\tau^2\) or \(\tau\).
One widely used moment estimator is the DerSimonian–Laird estimate. It compares observed \(Q\) with the amount expected under a common effect, then divides the excess by a weight-based factor. The estimate is truncated at zero because a variance cannot be negative.
The expression for \(C\) matters: the numerator in its second term is \(\sum_i w_i^2\), not \((\sum_i w_i)^2\). For equal sampling variances and \(k\) trials, each \(w_i=w\), so \(C=kw-kw^2/(kw)=(k-1)w\), which is positive when \(k>1\).
Why the Moment Estimator Has This Form
The estimator follows from matching the expected value of \(Q\) to its value under a random-effects model. With fixed weights \(w_i=1/v_i\), the weighted mean removes one degree of freedom. Sampling variation therefore contributes \(k-1\) to \(E(Q)\). Variation in the underlying effects contributes \(\tau^2 C\). In outline, the weighted residual sum of squares can be written as
For independent trial effects with variance \(\tau^2\), the extra contribution to the expectation of the first term is \(\tau^2\sum_i w_i\). The extra contribution to the subtracted term is \(\tau^2\sum_i w_i^2/\sum_i w_i\). Their difference is \(\tau^2 C\). Thus \(E(Q)=(k-1)+\tau^2C\). Equating this expectation to the observed \(Q\) gives the untruncated moment estimate \([Q-(k-1)]/C\); taking the maximum with zero yields the stated estimator.
Worked Example: Identical Estimates and the Zero Case
Suppose three hypothetical trials estimate the same dose-response effect: \(y_i=4\) points in each trial, with standard error \(s_i=1\) point. The effect refers to the same dose contrast and endpoint in all trials. The estimates are independent and their standard errors are treated as known for this calculation.
Each \(v_i=1\) point² and \(w_i=1\) per point². The fixed-effect mean is \(\bar{y}_w=(4+4+4)/3=4\) points. Every residual is zero, so \(Q=0\), with \(df=3-1=2\). By the stated convention, \(I^2=0\). Also, \(C=3-(1+1+1)/3=2\), and \(\hat{\tau}^{\,2}_{DL}=\max(0,(0-2)/2)=0\) point².
The random-effects weights are then also 1 per point². The pooled estimate is 4 points and its estimated standard error is \(\sqrt{1/3}=0.5774\) points. A normal-approximation 95% confidence interval is \(4\pm1.96(0.5774)\), or approximately 2.868 to 5.132 points. This result says that the observed estimates show no dispersion in this small hypothetical set; it does not prove that the underlying effects are identical in all relevant trials.
Pooling Under a Random-Effects Model
Once \(\tau^2\) is estimated, random-effects weights give less relative weight to highly precise trials than fixed-effect weights do, because each trial’s total variance includes both sampling variance and between-trial variance. The pooled estimate and its plug-in standard error are
The estimate describes the mean of the assumed distribution of trial-specific effects, not necessarily the effect in every trial. The usual normal-approximation confidence interval, \(\hat{\mu}_{RE}\pm1.96\,SE(\hat{\mu}_{RE})\), quantifies uncertainty about that mean under the fitted model. It is not a range intended to contain most trial-specific effects. The plug-in standard error treats the estimated \(\tau^2\) as if it were known, an approximation that can understate uncertainty when \(k\) is small.
Worked Example: Estimating Substantial Heterogeneity
Consider four hypothetical trials with effects of 1, 2, 3, and 6 points. Each has a standard error of 1 point, and all estimates address the same effect. Under the common-effect calculation, the pooled estimate is \((1+2+3+6)/4=3\) points. The residuals are \(-2,-1,0,3\) points, so \(Q=4+1+0+9=14\), with \(df=3\).
Here \(C=4-(1+1+1+1)/4=3\). Therefore \(\hat{\tau}^{\,2}_{DL}=\max(0,(14-3)/3)=11/3=3.667\) point², and \(\hat{\tau}=1.915\) points. Since \(Q>0\), \(I^2=(14-3)/14\times100\%=78.57\%\). Under the chi-square approximation with 3 degrees of freedom, \(Q=14\) gives a p-value of about 0.0029. The test and descriptive measures both flag variation, while \(\hat{\tau}\) expresses its estimated size on the effect scale.
Each random-effects weight is \(1/(1+11/3)=3/14\) per point². Because these weights are equal, the pooled estimate remains 3 points. The standard error is \(\sqrt{1/(4\times3/14)}=\sqrt{7/6}=1.080\) points. The normal-approximation 95% confidence interval for the mean effect is \(3\pm1.96\sqrt{7/6}\), or approximately 0.883 to 5.117 points.
An approximate prediction interval for the underlying effect in a new, exchangeable trial is \(\hat{\mu}_{RE}\pm1.96\sqrt{\hat{\tau}^2+SE(\hat{\mu}_{RE})^2}\). Here this is \(3\pm1.96\sqrt{11/3+7/6}\), or approximately \(-1.309\) to 7.309 points. It is much wider than the confidence interval for the mean because it includes between-trial variation. This simple interval ignores uncertainty in \(\hat{\tau}^2\), so with only four trials it should be treated as an approximation, not a precise forecast.
Influence, Diagnostics, and Decision Relevance
A heterogeneity statistic alone does not show whether variation is broadly shared or driven by one unusual trial. Inspect the trial estimates and their uncertainty in a forest plot, then repeat the pooled analysis after omitting each trial in turn. Compare the pooled mean, \(\hat{\tau}^2\), and the resulting dose implication. A large change identifies sensitivity to that trial; it does not establish that the trial is erroneous or should be excluded.
Worked Example: Leave-One-Out Influence
Suppose four hypothetical trials estimate effects of 0, 2, 3, and 5 points, each with standard error 1 point. With equal fixed-effect weights, the mean is 2.5 points. The residuals are \(-2.5,-0.5,0.5,2.5\), giving \(Q=6.25+0.25+0.25+6.25=13\), \(df=3\), and \(C=3\). Thus \(\hat{\tau}^{\,2}_{DL}=(13-3)/3=10/3\) point². Equal random-effects weights leave the pooled mean at 2.5 points; its standard error is \(\sqrt{1/(4\times3/13)}=\sqrt{13/12}=1.041\) points.
Now omit the trial with an estimate of 5 points and refit. The remaining mean is \((0+2+3)/3=5/3=1.667\) points. Their residuals from that mean are \(-5/3,1/3,4/3\), so \(Q=25/9+1/9+16/9=14/3\), with \(df=2\). Here \(C=3-3/3=2\), giving \(\hat{\tau}^{\,2}_{DL}=\max(0,(14/3-2)/2)=4/3\) point². The leave-one-out pooled mean is 1.667 points, a shift of \(-0.833\) points from the full estimate. The omitted trial materially affects both the mean and estimated heterogeneity. The appropriate next step is to understand differences in estimand, population, conduct, or data—not to discard the result automatically.
A common mistake is to treat a non-significant \(Q\) test as proof that a common dose recommendation is justified. The test can miss heterogeneity when only a few trials are available. Another mistake is to interpret a large \(I^2\) as necessarily important in clinical terms: \(I^2\) depends on both heterogeneity and sampling precision, whereas \(\tau\) is expressed in effect units. Inspect both the size of \(\tau\) and the range of effects compatible with the evidence.
The main alternative is a fixed-effect analysis, which answers a different question: it estimates one common effect under the assumption \(\tau^2=0\). A random-effects analysis allows trial effects to vary and targets their mean. Neither method repairs differences in estimands. If trials differ systematically in a way that can be represented and justified, a stratified or covariate-based analysis may be more informative than a single pooled summary; with few trials, such analyses are fragile and should be interpreted cautiously. A common recommendation is more defensible when the estimands align, the pooled result is not dominated by one trial, and plausible trial-specific effects support the same practical choice. If those conditions fail, report the pooled result with its limitations and qualify the recommendation rather than treating the average as universal.
Diagnostics should also look for unusual standard errors, inconsistent effect direction, and a relationship between trial characteristics and estimated effects. A forest plot can reveal these patterns, but neither visual overlap of confidence intervals nor a single heterogeneity statistic is a complete diagnostic. The number of trials is often too small to identify the cause of variation reliably. Sensitivity analyses can show how conclusions depend on assumptions; they cannot by themselves distinguish genuine effect modification from design or measurement differences.
Check Your Understanding
Answer each question, then compare your reasoning with the solutions.
- Three independent trials have identical effect estimates and positive, known sampling variances. What are \(Q\) and \(I^2\), and what can you conclude about heterogeneity?
- For four trials, \(Q=10\). Calculate \(df\) and \(I^2\).
- In a random-effects model, why can the confidence interval for the mean be much narrower than a prediction interval for a new trial?
- A leave-one-out analysis changes the pooled effect substantially when one trial is omitted. Does this establish that the trial should be excluded? What should be examined?
Solutions. (1) Identical estimates have zero residuals from their weighted mean, so \(Q=0\); by convention \(I^2=0\). This describes the observed estimates, but does not prove that all underlying trial effects are identical. (2) \(df=k-1=3\), and \(I^2=(10-3)/10\times100\%=70\%\). (3) The confidence interval describes uncertainty about the mean effect, while the prediction interval also includes between-trial variance \(\tau^2\), so it is generally wider. (4) No. The change signals influence, not invalidity. Check whether the trial’s estimand, population, design, endpoint, or data differ, and report how the conclusion depends on including it.