Tutorials › High-Dimensional Genomic Data Analysis › Worked Example of Trans-Ancestry Meta-Analysis

Ancestry-Aware Association and Cross-Population Portability · Tutorial 311 of 795

Worked Example of Trans-Ancestry Meta-Analysis

Work through ancestry-specific association results to calculate pooled effects and heterogeneity, then interpret what the models do—and do not—say about cross-population effects.

Advanced 11 min read

What You'll Learn

  • Calculate a fixed-effect pooled estimate and its standard error from ancestry-specific results.
  • Calculate Cochran’s \(Q\), its degrees of freedom, and \(I^2\).
  • Estimate between-ancestry variance with the DerSimonian–Laird method.
  • Compare fixed- and random-effects pooled estimates and intervals.
  • Explain how allele-frequency differences can contribute to unequal precision.
  • Identify assumptions, diagnostics, and limitations of a two-ancestry meta-analysis.

From Ancestry-Specific Results to a Pooled Estimate

A trans-ancestry meta-analysis combines association estimates from studies in different ancestry groups. Its appeal is practical: pooling can increase precision, while comparing the group-specific results can reveal whether a single common effect is a reasonable summary. But the pooled number depends on the model and on each result’s precision. It is not automatically an effect that applies equally to every population.

The worked calculations below use hypothetical results for one genetic variant and a binary outcome. The effect allele is harmonized across groups, and each estimate is a log odds ratio per additional copy of that allele, adjusted for the study’s stated covariates. The allele frequency is 0.30 in ancestry group A and 0.08 in group B. The lower frequency in group B may contribute to less information, along with sample size and other study features; the standard errors, rather than allele frequencies alone, determine the inverse-variance weights used here.

Definition: Let \(\hat{\beta}_i\) be the estimated association effect in ancestry group \(i\), with standard error \(SE_i\), for \(i=1,\ldots,k\). In a fixed-effect model, all groups estimate one common effect \(\beta\), and the pooled estimate is an inverse-variance weighted mean. In a random-effects model, group-specific true effects vary around a mean effect, with between-group variance \(\tau^2\). The quantity \(\tau\) is the between-group standard deviation on the effect scale.

Before pooling, check that the effect alleles and effect scales match, that the estimates are suitable for approximately normal inference, and that the groups’ estimates are independent or that their covariance is accounted for. Here we assume independent ancestry-specific samples, valid within-group association analyses, and reported standard errors that adequately represent sampling uncertainty. If samples overlap, the ordinary inverse-variance formulas below do not account for that dependence.

Worked Example: Fixed- and Random-Effects Estimates

Worked Example: Fixed- and Random-Effects Estimates

Suppose the hypothetical results are \(\hat{\beta}_A=0.20\), \(SE_A=0.05\), and \(\hat{\beta}_B=0.05\), \(SE_B=0.10\). Both are log odds ratios per additional copy of the same harmonized effect allele. Calculate the fixed-effect estimate, assess heterogeneity, and calculate a DerSimonian–Laird random-effects estimate.

Fixed-effect weights and pooled estimate. The inverse-variance weight for group \(i\) is \(w_i=1/SE_i^2\). Thus \(w_A=1/0.05^2=400\), and \(w_B=1/0.10^2=100\). The total weight is 500, so

$$ \hat{\beta}_{FE} =\frac{400(0.20)+100(0.05)}{400+100} =\frac{85}{500} =0.170. $$

The standard error is \(SE_{FE}=\sqrt{1/500}=0.04472\). A normal-approximation 95% confidence interval is \(0.170\pm1.96(0.04472)=(0.0824,0.2576)\). The test statistic is \(z=0.170/0.04472=3.801\), giving a two-sided \(p\)-value of about 0.00014. Under the common-effect model, this is evidence against a zero common log odds ratio. The interval is for that common effect under the model; it is not a 95% probability statement about a fixed parameter.

Heterogeneity. Cochran’s statistic is the weighted sum of squared deviations from the fixed-effect estimate:

$$ Q=\sum_i w_i(\hat{\beta}_i-\hat{\beta}_{FE})^2 =400(0.20-0.17)^2+100(0.05-0.17)^2 =0.36+1.44=1.80. $$

With \(k=2\) groups, \(df=k-1=1\). Comparing \(Q=1.80\) with a chi-squared distribution on 1 degree of freedom gives \(p\approx0.180\). The usual descriptive estimate \(I^2=\max\{0,(Q-df)/Q\}\times100\%\) is \(44.4\%\). Neither number proves that effects are identical or different: with only two groups, a heterogeneity test can have low power, and \(I^2\) is an imprecise summary.

Random-effects calculation. The DerSimonian–Laird moment estimate uses \(C=\sum_i w_i-\sum_i w_i^2/\sum_i w_i\). Here \(C=500-(400^2+100^2)/500=160\), so

$$ \hat{\tau}^2 =\max\left\{0,\frac{Q-(k-1)}{C}\right\} =\max\left\{0,\frac{1.80-1}{160}\right\} =0.005. $$

The random-effects weights are \(w_i^*=1/(SE_i^2+\hat{\tau}^2)\). They are \(1/(0.0025+0.005)=133.33\) for A and \(1/(0.01+0.005)=66.67\) for B. Therefore,

$$ \hat{\beta}_{RE} =\frac{133.33(0.20)+66.67(0.05)}{200} =0.150,\qquad SE_{RE}=\sqrt{\frac{1}{200}}=0.07071. $$

The normal-approximation 95% interval is \(0.150\pm1.96(0.07071)=(0.0114,0.2886)\); the corresponding \(z\)-statistic is 2.121 and the two-sided \(p\)-value is about 0.034. The random-effects mean is less dominated by the more precise group than the fixed-effect estimate, and its standard error is larger. Both pooled estimates are positive, but the point estimates and intervals answer model-dependent questions.

Exponentiating the estimates gives pooled odds ratios of \(\exp(0.170)=1.185\) and \(\exp(0.150)=1.162\) per effect allele for the fixed- and random-effects summaries, respectively. These are not automatically causal effects; they summarize the specified association scale and model.

Why the Formulas Work

Under the fixed-effect model, suppose the estimates are independent and approximately normally distributed with common true effect \(\beta\) and known sampling variances \(SE_i^2\). The weighted squared distance from a candidate pooled value \(b\) is \(S(b)=\sum_i w_i(\hat{\beta}_i-b)^2\). Differentiating and setting the derivative to zero gives

$$ \frac{dS(b)}{db}=-2\sum_i w_i(\hat{\beta}_i-b)=0 \quad\Longrightarrow\quad b=\frac{\sum_i w_i\hat{\beta}_i}{\sum_i w_i}. $$

Because the estimates are independent, the variance of this weighted mean is \(\sum_i w_i^2SE_i^2/(\sum_i w_i)^2=1/\sum_i w_i\), since \(w_i=1/SE_i^2\). This gives the fixed-effect standard error used above. The statistic \(Q=\sum_i w_i(\hat{\beta}_i-\hat{\beta}_{FE})^2\) measures dispersion around that weighted mean; under the common-effect model and the stated normal assumptions, it has approximately a chi-squared distribution with \(k-1\) degrees of freedom.

The DerSimonian–Laird estimate is a method-of-moments estimate: it compares observed dispersion \(Q\) with its expected value under a common effect. Under the random-effects model, that expectation is approximately \((k-1)+\tau^2 C\), where \(C=\sum_i w_i-\sum_i w_i^2/\sum_i w_i\). Solving for \(\tau^2\) gives \([Q-(k-1)]/C\); truncating at zero prevents a negative variance estimate. Random-effects weights then include both sampling variance and estimated between-group variance. When \(\hat{\tau}^2\) is substantial, this added variance reduces the relative dominance of the most precise group.

Precision, Allele Frequency, and Model Choice

Ancestry groups need not contribute equally. In the first example, group A has four times the fixed-effect weight of group B because its standard error is half as large. Allele-frequency differences can help explain such precision differences: a less frequent allele may yield less genotype variation and less information, all else equal. But sample size, phenotype variability, imputation quality, study design, and adjustment also matter. A frequency difference alone does not determine the weight, and a larger weight means greater statistical precision—not greater biological importance.

Worked Example: Unequal Precision Shapes the Pooled Estimate

Consider another hypothetical pair of harmonized log odds ratio estimates: \(\hat{\beta}_A=0.10\), \(SE_A=0.04\), and \(\hat{\beta}_B=0.30\), \(SE_B=0.12\). Suppose the effect allele frequencies are 0.35 and 0.06, respectively. Under a fixed-effect model, the weights are \(1/0.04^2=625\) and \(1/0.12^2=69.44\). The pooled estimate is

$$ \hat{\beta}_{FE} =\frac{625(0.10)+69.44(0.30)}{625+69.44} =\frac{83.33}{694.44} =0.120. $$

Group A supplies \(625/694.44=90.0\%\) of the total weight. The pooled estimate is consequently much nearer 0.10 than 0.30. Its standard error is \(\sqrt{1/694.44}=0.03795\). Heterogeneity is \(Q=625(0.10-0.12)^2+69.44(0.30-0.12)^2=0.25+2.25=2.50\), with \(df=1\), \(p\approx0.114\), and \(I^2=60.0\%\). These results do not establish equal effects. They show how a precise group can largely determine a fixed-effect pooled value even when the other estimate is farther away. The frequency difference is context, not a substitute for the reported standard errors or a cause inferred from these calculations.

Worked Example: When the Random-Effects Variance Is Zero

Suppose a third hypothetical analysis has \(\hat{\beta}_A=0.12\) and \(\hat{\beta}_B=0.08\), with \(SE_A=SE_B=0.08\). Both weights are \(1/0.08^2=156.25\), so \(\hat{\beta}_{FE}=(0.12+0.08)/2=0.10\), and \(SE_{FE}=\sqrt{1/312.5}=0.05657\). The heterogeneity statistic is \(Q=156.25(0.02)^2+156.25(-0.02)^2=0.125\). Since \(Q<df=1\), the DerSimonian–Laird estimate is \(\hat{\tau}^2=\max\{0,(0.125-1)/C\}=0\), where \(C=312.5-(2(156.25^2)/312.5)=156.25\). Thus the random-effects weights equal the fixed-effect weights and the two pooled estimates coincide. A zero estimate of \(\tau^2\) is a boundary result from this estimator, not proof that true effects cannot vary.

Diagnostics, Alternatives, and Limitations

A useful review begins before calculating a pooled value. Confirm allele alignment, effect direction, units, and effect scale; check that standard errors and estimates refer to comparable analyses; and establish whether study samples overlap. Then inspect the ancestry-specific estimates and confidence intervals alongside \(Q\), rather than treating a heterogeneity \(p\)-value as a pass/fail decision. A surprisingly large \(Q\), a high \(I^2\), or estimates with opposing directions calls for investigation of harmonization, phenotype definitions, model adjustment, and genuine effect differences. A non-significant \(Q\) with only two groups is weak evidence against heterogeneity, not reassurance that none exists.

The fixed-effect model is appropriate when the scientific target is one common effect and that assumption is credible. The random-effects model targets a mean across a distribution of group-specific effects, but a mean does not imply that every group has an effect near it. With few groups, \(\hat{\tau}^2\) is unstable, and the usual random-effects confidence interval can understate uncertainty in the estimated mean. Neither model corrects confounding, allele misalignment, or incompatible effect scales.

ApproachWhat it summarizesMain caution
Fixed-effect meta-analysisOne common effect, weighted by sampling precisionCan mislead if effects truly vary across groups
Random-effects meta-analysisMean of a distribution of group-specific effectsBetween-group variance is difficult to estimate with few groups
Report ancestry-specific resultsEach group’s estimate and uncertainty directlyDoes not alone provide a single pooled summary

A common mistake is to interpret a non-significant heterogeneity test as evidence that the effect is identical across ancestries, then report the fixed-effect estimate as universally applicable. The correction is to distinguish “no statistically clear heterogeneity in these data” from “effects are equal,” show the group-specific estimates, and state which model defines the pooled target. In cross-population work, frequency, linkage disequilibrium, effect scale, and study design can all shape observed associations; a pooled association does not by itself identify why group estimates differ.

Key takeaway: Meta-analysis combines estimates according to a stated model. Report the ancestry-specific results, pooled estimate, uncertainty, and heterogeneity together; interpret the pooled effect only for the target and assumptions of that model.

Check Your Understanding

Answer each question, then compare with the worked solutions.

  1. Two independent groups report \(\hat{\beta}_1=0.20\), \(SE_1=0.10\), and \(\hat{\beta}_2=-0.10\), \(SE_2=0.10\). Calculate the fixed-effect estimate and \(Q\).
  2. Two groups report \(\hat{\beta}_1=0.04\), \(SE_1=0.05\), and \(\hat{\beta}_2=0.14\), \(SE_2=0.10\). Calculate the fixed-effect pooled estimate.
  3. Why should a group with a rarer effect allele not automatically be assigned a smaller meta-analysis weight?
  4. What does a zero DerSimonian–Laird estimate of \(\tau^2\) mean, and what does it not mean?

Solutions. (1) Both weights are 100, so \(\hat{\beta}_{FE}=[100(0.20)+100(-0.10)]/200=0.05\). Then \(Q=100(0.20-0.05)^2+100(-0.10-0.05)^2=2.25+2.25=4.50\), with \(df=1\). (2) The weights are 400 and 100, giving \(\hat{\beta}_{FE}=[400(0.04)+100(0.14)]/500=30/500=0.060\). (3) The weight is determined by the standard error, not allele frequency alone; sample size, imputation, outcome variation, and design also affect precision. (4) It means this moment estimator truncated the estimated between-group variance at its zero boundary. It does not prove that the true effects are identical or that other studies would show no heterogeneity.

Clinical Biostats