Why a Pooled Prediction Can Mislead
A polygenic score may predict a phenotype in a sample that contains multiple ancestry groups. That pooled association can arise in two distinct ways: people with higher scores may tend to have higher phenotypes within ancestry groups, or groups with higher average scores may also have higher average phenotypes. The second pattern can make a score look predictive even when it has little or no association with the phenotype within any group.
This distinction matters when interpreting prediction. A pooled association can be useful for describing prediction in the particular mixture of groups studied, but it does not by itself show that the score has the same predictive relationship within groups or in another population. Here, \(A\) denotes an ancestry group, \(S\) a polygenic score, and \(Y\) a phenotype. These are statistical variables; group membership is not a biological cause established by the decomposition.
The Covariance Decomposition
Suppose \(S\) and \(Y\) have finite variances, and \(A\) identifies the group for each observation. Write \(\mu_{S,a}=E[S\mid A=a]\) and \(\mu_{Y,a}=E[Y\mid A=a]\) for the group-specific means. The law of total covariance gives:
The first term averages the within-group covariances, weighting each group by its proportion in the pooled population. The second term is the covariance, across groups, of their mean scores and mean phenotypes. It is positive when groups with higher mean scores also tend to have higher mean phenotypes, negative when the mean differences tend to run in opposite directions, and zero when there is no such covariance.
The decomposition has a direct counterpart for the pooled linear regression slope. Provided \(\operatorname{Var}(S)>0\), the population slope from the linear regression of \(Y\) on \(S\) with an intercept is \(\operatorname{Cov}(S,Y)/\operatorname{Var}(S)\). Total variance decomposes in the same way:
Consequently, the pooled slope is
This expression is not generally an average of group-specific slopes: its numerator and denominator each contain a between-group term. If the within-group slope is a common value \(\beta_W\) in every group, then \(\operatorname{Cov}(S,Y\mid A=a)=\beta_W\operatorname{Var}(S\mid A=a)\). The pooled slope is therefore
Even under this common-within-slope condition, the pooled slope can differ from \(\beta_W\). The between-group covariance adds to or subtracts from the pooled numerator, while between-group score differences also add to the denominator.
Why the Decomposition Holds
Add and subtract the conditional means inside each deviation from the overall mean:
Multiply these expressions and take expectations. The product of the two within-group deviations contributes \(E[\operatorname{Cov}(S,Y\mid A)]\). Each cross-product has expectation zero: conditional on \(A\), the within-group deviation has mean zero, while the group-mean deviation is fixed. The product of the two group-mean deviations contributes \(\operatorname{Cov}(E[S\mid A],E[Y\mid A])\). Adding the nonzero terms yields the stated covariance decomposition. This argument requires finite second moments, but does not require a linear model or a causal interpretation.
Worked Example: Apparent Prediction With No Within-Group Association
Consider a hypothetical population with two equally common ancestry groups and eight equally weighted score–phenotype pairs. In group A, the pairs \((S,Y)\) are \((-1,8),(-1,12),(1,8),(1,12)\). In group B, they are \((1,12),(1,16),(3,12),(3,16)\). The values are illustrative, not observations from a real study.
In group A, the means are \(\mu_{S,A}=0\) and \(\mu_{Y,A}=10\); in group B, they are \(\mu_{S,B}=2\) and \(\mu_{Y,B}=14\). Within each group, the score deviations and phenotype deviations have products that sum to zero. Thus both within-group covariances are zero, and the within-group component is zero.
The overall means are \(\bar{S}=1\) and \(\bar{Y}=12\). The between-group covariance is
Therefore the pooled covariance is \(0+2=2\). The within-group score variance is 1 in each group, and the variance of the group mean scores is 1, so the pooled score variance is \(1+1=2\). The pooled regression slope is \(2/2=1\) phenotype unit per score unit, despite a zero covariance within each group. For reference, the pooled phenotype variance is \(4+4=8\), giving a pooled correlation of \(2/\sqrt{2\times 8}=0.500\) and a simple-regression \(R^2\) of \(0.250\). In this constructed example, the entire pooled linear association comes from differences between group means.
How Allele Frequencies Can Shift Mean Scores
For an additive score \(S=\sum_{j=1}^{m}w_jG_j\), let \(G_j\) be the allele dosage at variant \(j\), coded as 0, 1, or 2 copies of the allele used in the score, and let \(w_j\) be its fixed score weight. If the frequency of that allele in group \(a\) is \(p_{ja}\), then \(E[G_j\mid A=a]=2p_{ja}\). Linearity of expectation gives the group mean score:
This identity does not require variants to be independent. It shows that differences in allele frequencies can shift the expected score between groups. For a score to be predictively associated with the phenotype in a pooled sample, however, a score difference alone is not enough: the group mean phenotypes must also differ in a way that produces nonzero between-group covariance, or there must be within-group association.
Worked Example: Frequency Differences and Group Mean Scores
Suppose a hypothetical score has two additive terms, \(S=G_1+2G_2\). The allele frequencies are \(p_{1A}=0.10\) and \(p_{2A}=0.20\) in group A, and \(p_{1B}=0.40\) and \(p_{2B}=0.50\) in group B. The expected scores are
Assume, for illustration, that the groups are equally common, their mean phenotypes are 5 and 9.5 units, and there is no within-group score–phenotype covariance. The between-group covariance is
Thus the pooled covariance is 2.025 score–phenotype units, entirely between groups in this illustration. The frequency differences explain a difference in expected scores; they do not establish that the score causes the phenotype difference. Group mean phenotype differences can reflect many factors, including environmental, social, demographic, or measurement differences.
When Within- and Between-Group Signals Coexist
The pooled slope is especially easy to misread when a score has a genuine within-group association and the group means are also aligned. The next example calculates both components, rather than treating all pooled signal as either valid or spurious.
Worked Example: A Pooled Slope Larger Than the Within-Group Slope
Use two equally common groups. In group A, four hypothetical pairs are \((-1,9.5),(-1,9.5),(1,10.5),(1,10.5)\). In group B, they are \((1,13.5),(1,13.5),(3,14.5),(3,14.5)\). Each group has score variance 1. Within either group, score deviations from its mean are \((-1,-1,1,1)\), and phenotype deviations from its mean are \((-0.5,-0.5,0.5,0.5)\). Their products average to 0.5, so each group has covariance 0.5 and within-group slope \(0.5/1=0.5\) phenotype units per score unit.
The group means are \((0,10)\) and \((2,14)\). The between-group covariance is
The average within-group covariance is 0.5, so the total covariance is \(0.5+2=2.5\). The within-group score variance is 1, and the variance of group mean scores is also 1, giving total score variance 2. The pooled slope is therefore \(2.5/2=1.25\), compared with a within-group slope of 0.5. The extra pooled association comes from aligned group mean differences; it should not be described as evidence that the within-group score–phenotype relationship is 1.25.
Interpretation and a Common Pitfall
“Signal contamination” describes the risk of interpreting pooled prediction as though it were entirely a within-ancestry genetic relationship. It does not mean that every between-group component is meaningless or that a pooled score cannot predict in a specified mixed population. If the target population has the same group composition and group-specific means as the evaluation sample, between-group differences may contribute to prediction in that target. The concern is that the contribution can change when the group mixture, group means, or within-group relationships change.
A common mistake is to reason: “The pooled score predicts the phenotype, so higher scores must predict higher phenotypes within each ancestry group.” The conclusion does not follow. As the first example showed, pooled covariance can be nonzero when every within-group covariance is zero. The correction is to separate the within-group and between-group components before interpreting the pooled result. A related mistake is to treat a frequency-derived difference in mean scores as proof of a causal genetic effect on the phenotype. The mean-score identity describes score distributions; it does not identify the cause of group phenotype differences.
The decomposition is a statement about covariance in a defined population, not a procedure for deciding which ancestry groups should be compared or for establishing causal effects. It is useful because it makes explicit what a pooled association combines. Any claim about performance in a particular setting must be tied to that setting and its population composition.
Check Your Understanding
Use the decomposition and the examples above to answer the following questions.
- If all within-group score–phenotype covariances are zero, what condition on group means is needed for the pooled covariance to be nonzero?
- Why can differences in allele frequencies shift the expected mean of an additive polygenic score across groups?
- In the first worked example, which component produced the pooled covariance of 2?
- When within-group slopes are equal, why can the pooled slope still differ from that common slope?
- Does a nonzero between-group covariance establish that the score causally changes the phenotype? Explain.