Why Heterogeneity Matters
A pharmacogenomic association can be replicated in several cohorts without having exactly the same estimated effect in each. Differences may reflect sampling error, but they can also arise because the cohorts studied different doses, defined response differently, included different ancestry groups, or followed different prescribing practices. Meta-analysis must therefore address two questions: what overall effect is supported by the estimates, and how much do the underlying cohort effects vary?
The analysis below assumes each cohort reports an estimate of the same type of effect—for example, a log odds ratio for an adverse drug reaction per specified genotype contrast—and its standard error. Effects and outcomes must be oriented consistently: an estimate above zero should represent the same direction of association in every cohort. Estimates with different units or incompatible phenotype definitions cannot be made comparable simply by averaging them.
Common-Effect Pooling and Cochran’s Q
A common-effect model assumes every cohort shares one true effect, \(\theta\), and that differences among estimates arise from sampling error. Assuming independent, approximately normally distributed estimates with valid standard errors, the inverse-variance weight for cohort \(i\) is \(w_i=1/s_i^2\). The pooled estimate is the weighted mean, and its standard error follows from the sum of the weights.
Cochran’s \(Q\) measures weighted dispersion around that pooled estimate. Under the common-effect model, independent normal estimates, and correctly specified standard errors, \(Q\) approximately follows a chi-square distribution with \(k-1\) degrees of freedom. Its upper-tail p-value assesses whether the observed dispersion is unusually large under those assumptions. A non-small p-value does not establish that all true effects are identical; with few or imprecise cohorts, the test may have limited power.
The degrees of freedom arise because the \(k\) weighted deviations are constrained by the fitted weighted mean: their weighted sum is zero. In the normal common-effect model, the residual variation after estimating one mean therefore has \(k-1\) independent components, giving the chi-square reference distribution for \(Q\).
Worked Example: Common-Effect Pooling and Q
Suppose four hypothetical cohorts estimate the same genotype association with an adverse drug reaction. Each reports a log odds ratio and its standard error: \(0.20\) with \(0.10\), \(0.50\) with \(0.20\), \(0.40\) with \(0.20\), and \(0.90\) with \(0.30\). Assume the genotype contrast, outcome definition, and effect direction are comparable, and the cohort estimates are independent.
The inverse-variance weights are \(100\), \(25\), \(25\), and \(11.111\). Thus the common-effect estimate is
Its standard error is \(\sqrt{1/161.111}=0.07879\). A normal-approximation 95% confidence interval is \(0.3259\pm1.96(0.07879)=(0.1714,0.4803)\), in log odds ratio units. Exponentiating gives a pooled odds ratio of \(e^{0.3259}=1.385\), with interval \((e^{0.1714},e^{0.4803})=(1.187,1.617)\). This interval describes uncertainty about the common effect under the model; it is not an interval expected to contain 95% of cohort-specific effects.
Using the pooled estimate, \(Q\) is approximately \(6.142\), with \(df=3\). The chi-square upper-tail p-value is approximately \(0.105\). The data do not provide strong evidence against the common-effect model by this test, but that result does not prove that the cohorts have identical underlying effects.
Quantifying Dispersion With I²
The statistic \(I^2\) expresses the fraction of the observed weighted dispersion that is estimated to exceed sampling-error variation. It is commonly reported as a percentage. It is a descriptive measure, not the percentage of patients, genes, or causal effect explained by a particular moderator. It can be imprecise, and its value depends partly on the precision of the cohort estimates.
In the preceding example, \(I^2=(6.142-3)/6.142\times100\%=51.2\%\). This indicates estimated excess dispersion relative to sampling error, despite a non-small \(Q\)-test p-value. The two summaries answer different questions: the p-value tests a model-based null, whereas \(I^2\) describes the estimated proportion of dispersion beyond sampling error. Neither identifies why cohorts differ.
Random-Effects Pooling
A random-effects model allows cohort-specific true effects to vary around a mean effect. Write \(\theta_i=\mu+u_i\), where \(u_i\) has mean zero and variance \(\tau^2\); the sampling model is \(y_i\mid\theta_i\) with standard error \(s_i\). The model assumes independent cohorts and, in its usual form, normally distributed between-cohort effects. Here \(\mu\) is the mean of the distribution of cohort effects, and \(\tau^2\) is their between-cohort variance.
Because the true effects vary, random-effects weights include both sampling variance and estimated between-cohort variance. Consequently, less precise cohorts often receive relatively more weight than under common-effect pooling. The pooled estimate targets the mean of the modeled distribution of cohort effects, not a single effect guaranteed to apply to every setting.
One conventional method-of-moments estimator is the DerSimonian–Laird estimator. It estimates excess dispersion from \(Q\), truncating at zero because a variance cannot be negative. Define \(C=\sum_iw_i-\sum_iw_i^2/\sum_iw_i\).
This is one estimator, not a universal requirement: other approaches, including restricted maximum likelihood, are also used. The random-effects confidence interval based on the displayed standard error is a normal-approximation interval for the mean effect and treats the estimated variance in a simplified way. With few cohorts, uncertainty in \(\hat{\tau}^2\) can make such intervals too narrow; small-sample adjustments such as Hartung–Knapp methods may be appropriate. A confidence interval for the mean effect is also not a prediction interval for the true effect in a new cohort.
Worked Example: Random-Effects Pooling
Three hypothetical cohorts report log odds ratios \(0.10\), \(0.40\), and \(0.70\), each with standard error \(0.10\), for a harmonized genotype association with the same adverse drug reaction. The common-effect estimate is \(0.40\), so \(Q=100[(0.10-0.40)^2+(0.40-0.40)^2+(0.70-0.40)^2]=18\), not \(9\). This value reflects two deviations of \(0.30\), each squared and multiplied by weight \(100\). With \(df=2\), the upper-tail p-value is \(e^{-18/2}=0.0001234\), evidence of excess dispersion under the common-effect assumptions.
For the DerSimonian–Laird estimate, \(C=300-30000/300=200\), giving \(\hat{\tau}^2=(18-2)/200=0.0800\). Each random-effects weight is \(1/(0.0100+0.0800)=11.111\). The pooled mean remains \(0.400\), because the weights are equal, and its conventional standard error is \(\sqrt{1/(3\times11.111)}=0.1732\). The normal-approximation 95% interval is \(0.400\pm1.96(0.1732)=(0.0605,0.7395)\) log odds ratio units, or an odds ratio of \(1.492\) with interval \((1.062,2.095)\). This interval concerns the mean effect under the random-effects model; the estimated \(\tau^2\) indicates that cohort effects vary around that mean.
Investigating Dose and Other Cohort Differences
Heterogeneity is a diagnostic signal, not an explanation. Before fitting moderators, inspect whether the cohort estimates actually refer to comparable effects. Pharmacogenomic differences that deserve attention include:
- Dose and regimen: cohorts may differ in starting dose, titration, duration, adherence, or whether dose was genotype-guided. A genotype association with response can change across exposure levels.
- Phenotype definition: response thresholds, follow-up windows, adverse-event adjudication, and handling of competing events may differ. A harmonized label does not guarantee identical measurement.
- Ancestry: allele frequencies, linkage disequilibrium, environmental context, and care patterns can differ across ancestry groups. A cohort-level ancestry label alone may not capture individual-level effect modification.
- Prescribing and clinical context: co-medications, indication, dose selection, monitoring, and treatment changes may affect both exposure and observed outcome. In observational data, confounding by indication and related prescribing processes also matter.
Useful checks include reviewing cohort protocols and effect coding, tabulating estimates by clinically meaningful features, and repeating analyses after a defensible harmonization of genotype contrast and outcome. Subgroup analyses or meta-regression can describe whether an observed cohort characteristic tracks with effect estimates. They do not by themselves show that the characteristic caused the differences: moderators are often correlated, measured only at cohort level, and represented by few cohorts.
For a continuous cohort characteristic \(x_i\), such as a standardized summary of dose intensity, a meta-regression models the cohort estimates as
Here \(\beta_1\) describes the change in the mean cohort effect per unit of \(x_i\), conditional on the model. This is an ecological association across cohorts, not an individual-level dose-response estimate. In particular, a positive slope cannot establish that increasing an individual patient’s dose would change that patient’s genotype effect.
Worked Example: Exploring Dose-Related Heterogeneity
Consider four hypothetical cohorts with equal standard errors of \(0.10\). Their log odds ratio estimates are \(0.10\), \(0.25\), \(0.50\), and \(0.65\), and their cohort-level dose-intensity scores are \(0\), \(1\), \(2\), and \(3\), respectively. Assume the estimates use the same genotype contrast and phenotype definition. This small example illustrates a descriptive meta-regression, not a basis for a clinical dosing recommendation.
Since the standard errors are equal, weighted least squares gives the ordinary least-squares slope. The mean dose score is \(1.5\), the mean estimate is \(0.375\), and the slope is
log odds ratio units per dose-intensity unit. The intercept is \(0.375-0.190(1.5)=0.090\). The fitted estimates are \(0.09\), \(0.28\), \(0.47\), and \(0.66\); the residuals are \(0.01\), \(-0.03\), \(0.03\), and \(-0.01\). Their weighted residual sum of squares is \(Q_{\mathrm{res}}=100(0.01^2+0.03^2+0.03^2+0.01^2)=0.200\), with \(4-2=2\) residual degrees of freedom.
The estimates show a positive cohort-level trend in this hypothetical data, but four cohorts cannot reliably separate dose from ancestry, phenotype, or prescribing differences that may travel with dose. The slope is therefore a signal to investigate with better-harmonized data and an appropriate design, not evidence that dose caused the trend. A zero or small residual heterogeneity estimate would likewise not prove that all relevant cohort differences have been explained.
Common Mistakes and Practical Interpretation
- Treating a non-significant Q test as proof of homogeneity. The test can have low power when there are few cohorts. Report the estimates, their precision, and a heterogeneity summary rather than declaring effects identical.
- Reading I² as a causal percentage. An \(I^2\) of 50% does not mean that a measured factor caused half the variation. It summarizes excess dispersion relative to sampling error and does not identify its source.
- Switching to random effects as a cure for incompatibility. Random-effects weights accommodate variation in underlying effects; they do not repair inconsistent outcome definitions, effect directions, or genotype contrasts.
- Interpreting meta-regression causally. A cohort-level relationship may be confounded by other cohort characteristics and cannot be assumed to describe individual patients.
- Reporting only a pooled result. Include cohort estimates and standard errors, the model used, the heterogeneity method and estimate, and a contextual interpretation. If effects vary substantially, the pooled mean may not summarize any particular clinical setting well.
The choice between common-effect and random-effects pooling should follow the scientific question and assumptions, not whichever model produces a preferred p-value. When heterogeneity is present, investigate plausible differences in dose, phenotype, ancestry, and prescribing, and state what the available cohort-level data can and cannot distinguish.
Check Your Understanding
Answer each question using the model assumptions and interpretations described above.
- What does the common-effect model assume about the true effects across cohorts?
- Why can a non-significant \(Q\)-test result fail to rule out meaningful heterogeneity?
- If \(Q=0\), what is the defined value of \(I^2\), and why is a boundary convention needed?
- In a random-effects model, what does \(\mu\) represent, and how does \(\tau^2\) affect cohort weights?
- Why does an association between cohort-level dose intensity and effect estimates not establish an individual-level dose-response relationship?