Why the LD Reference Matters
Bayesian polygenic-score methods use GWAS summary statistics together with a model of linkage disequilibrium (LD) to estimate joint variant effects. The LD matrix describes correlations among genotypes: when two variants are correlated, a marginal association at one can partly reflect an effect at the other. This is why marginal effects and joint effects are not interchangeable.
The LD used in the calculation is often estimated from a reference panel rather than from the GWAS participants themselves. If that panel differs from the GWAS population in ancestry, has too few individuals, or does not include the relevant variants, its LD matrix may poorly represent the correlations that generated the summary statistics. Bayesian shrinkage can limit extreme estimates, but it cannot make an incorrect LD model correct.
The discussion below isolates LD mismatch by treating the true joint effects as the same in the target and reference populations. That is a simplifying condition, not a guarantee in real applications: effects themselves can differ across populations for biological, environmental, or measurement reasons. The effects and marginal associations here are on standardized scales, so the matrix calculations have a clear interpretation without mixing variant units.
Marginal Effects and the Assumed LD Model
Let \(\boldsymbol{\beta}\) be the vector of true joint effects in a region, and let \(\hat{\boldsymbol{b}}\) be the vector of estimated marginal GWAS effects. Under a linear model with standardized genotypes and phenotype, the expected marginal effects are approximately \(R_{\text{target}}\boldsymbol{\beta}\). In words, each marginal effect combines the joint effects of variants correlated with that variant. Sampling error adds noise to these expectations.
A useful simplified Bayesian summary-statistic model assumes \(\hat{\boldsymbol{b}}\mid\boldsymbol{\beta}\sim N(R_{\text{ref}}\boldsymbol{\beta},\,\sigma^2 R_{\text{ref}}/n)\) and an independent prior \(\boldsymbol{\beta}\sim N(\boldsymbol{0},\tau^2 I)\). Here \(n\) is the GWAS sample size, \(\sigma^2\) is residual variance on the chosen standardized scale, and \(\tau^2\) is the prior variance of a joint effect. This model assumes that the reference LD is the LD that generated the summary statistics; mismatch is precisely a violation of that assumption. Real Bayesian methods can use different likelihoods and priors, but the same issue remains: the LD information supplied to the model matters.
The formula makes two distinct sources of uncertainty visible. The GWAS sample size affects \(\lambda\): with the other quantities fixed, a smaller \(n\) means more shrinkage toward the prior mean of zero. The quality of \(R_{\text{ref}}\) affects the transformation of the marginal effects into joint effects. Strong shrinkage can reduce the size of unstable estimates, but it does not eliminate bias from using the wrong correlation pattern.
Worked Example: A Reference Correlation That Is Too High
Worked Example: A Reference Correlation That Is Too High
Suppose there are two standardized variants. The true joint effects are \(\boldsymbol{\beta}=(0.20,0)\), and their correlation in the GWAS population is \(0.20\). For this calculation, ignore sampling noise, so the marginal effects equal their expectations. A reference panel instead has correlation \(0.80\). Let \(\lambda=0.20\).
The target LD matrix and expected marginal effects are \(R_{\text{target}}=\begin{pmatrix}1&0.20\\0.20&1\end{pmatrix}\) and \(\boldsymbol{b}=R_{\text{target}}\boldsymbol{\beta}=(0.20,0.04)\). The second variant has a nonzero marginal effect because it is correlated with the first.
The reference matrix plus the shrinkage term is \(R_{\text{ref}}+\lambda I=\begin{pmatrix}1.20&0.80\\0.80&1.20\end{pmatrix}\). Its determinant is \(1.20(1.20)-0.80(0.80)=0.80\), so its inverse is \(\frac{1}{0.80}\begin{pmatrix}1.20&-0.80\\-0.80&1.20\end{pmatrix}\). Therefore, \[ \hat{\boldsymbol{\beta}}_{\text{post}} =\frac{1}{0.80} \begin{pmatrix}1.20&-0.80\\-0.80&1.20\end{pmatrix} \begin{pmatrix}0.20\\0.04\end{pmatrix} =\begin{pmatrix}0.260\\-0.140\end{pmatrix}. \]
The posterior mean assigns a positive effect of 0.260 to the first variant and a negative effect of \(-0.140\) to the second, even though the stipulated true effects are 0.20 and 0. The wrong, overly high reference correlation leads the model to subtract too much shared signal. These are estimates on the standardized effect scale used in the example; they are not statements that the second variant has a causal effect.
A Short Derivation of Mismatch Bias
The posterior-mean formula also shows how a fixed mismatch shifts the expected estimate. Conditional on the true effects, suppose the target summary statistics satisfy \(E(\hat{\boldsymbol{b}}\mid\boldsymbol{\beta})=R_{\text{target}}\boldsymbol{\beta}\). The analysis nevertheless applies the reference-panel transformation. Taking the conditional expectation of its posterior mean gives
This expression is the complete justification for the mismatch comparison: if the reference matrix is the target matrix, the transformation uses the intended LD model; if the matrices differ, the expected posterior mean is generally not the true effect vector. In particular, it is not enough to say that the reference and target variants are “in the same region.” Their correlations must also be sufficiently well represented for the model being used.
Worked Example: A Reference Correlation That Is Too Low
Worked Example: A Reference Correlation That Is Too Low
Keep the same true joint effects, \((0.20,0)\), but let the target correlation be \(0.80\) and the reference correlation be \(0.20\). Continue to ignore sampling noise and use \(\lambda=0.20\). The target marginal effects are \(\boldsymbol{b}=(0.20,0.16)\).
Now \(R_{\text{ref}}+\lambda I=\begin{pmatrix}1.20&0.20\\0.20&1.20\end{pmatrix}\), whose determinant is \(1.20(1.20)-0.20(0.20)=1.40\). Its inverse is \(\frac{1}{1.40}\begin{pmatrix}1.20&-0.20\\-0.20&1.20\end{pmatrix}\). Thus, \[ \hat{\boldsymbol{\beta}}_{\text{post}} =\frac{1}{1.40} \begin{pmatrix}1.20&-0.20\\-0.20&1.20\end{pmatrix} \begin{pmatrix}0.20\\0.16\end{pmatrix} =\begin{pmatrix}0.1486\\0.1086\end{pmatrix}. \]
Compared with the true vector \((0.20,0)\), the first estimate is pulled downward and the second is assigned a positive effect. With LD stronger in the GWAS population than in the reference, the model fails to account for as much shared signal as it should. Together, the two examples show that the direction and size of distortion depend on how the correlations differ; “mismatched LD” does not imply one universal direction of bias.
Sample Size: GWAS Noise and Reference-Panel Noise
GWAS sample size and reference-panel sample size have different roles. In the simplified posterior formula, the GWAS sample size enters through \(\lambda=\sigma^2/(n\tau^2)\). A larger GWAS usually gives more precise marginal effects and, under this model, less shrinkage. But more precise \(\hat{\boldsymbol{b}}\) does not fix a wrong \(R_{\text{ref}}\). If the reference matrix is mismatched, reducing noise can make the distorted transformation more clearly visible rather than remove its bias.
Reference-panel size affects how accurately the correlations themselves are estimated. A small panel can produce a noisy or poorly conditioned estimate of \(R_{\text{ref}}\), even when its ancestry is appropriate. For independent observations from a bivariate normal distribution, a rough large-sample standard error for an estimated correlation \(\hat r\) is \((1-r^2)/\sqrt{m-1}\), where \(m\) is the number of reference individuals. This is an approximation, not a guarantee for genotype data with related individuals or other departures from the model.
Worked Example: Larger Reference Panels Reduce Correlation Noise
Suppose the underlying correlation between two variants is \(r=0.60\), and compare hypothetical reference panels with \(m=25\) and \(m=100\) independent individuals. The approximate standard error is \((1-r^2)/\sqrt{m-1}\).
For \(m=25\), the calculation is \((1-0.60^2)/\sqrt{24}=0.64/4.899=0.131\). For \(m=100\), it is \(0.64/\sqrt{99}=0.64/9.950=0.0643\).
The larger panel has a smaller approximate standard error for this correlation. That improves precision, but does not address ancestry mismatch: a very large panel from a population with a different LD pattern may estimate the wrong population’s correlation very precisely. Both representativeness and size matter.
Variant Coverage and the Meaning of the Estimated Weights
A reference panel needs to cover the variants and relationships relevant to the summary statistics. If variants are missing, the supplied matrix can describe only the retained set, or the method may need to use a proxy. Either way, a reduced set changes the model: the omitted variants’ contributions to marginal effects do not disappear simply because they are absent from the reference. Their signals can be left unexplained or attributed to correlated variants that remain.
Worked Example: Missing a Variant Can Shift Signal to a Proxy
Suppose the target LD matrix for two variants is \(R_{\text{target}}=\begin{pmatrix}1&0.60\\0.60&1\end{pmatrix}\), and the true joint effects are \((0,0.20)\). Ignoring sampling noise, the marginal effects are \[ \boldsymbol{b}=R_{\text{target}}\boldsymbol{\beta} =\begin{pmatrix}1&0.60\\0.60&1\end{pmatrix} \begin{pmatrix}0\\0.20\end{pmatrix} =\begin{pmatrix}0.12\\0.20\end{pmatrix}. \]
If both variants are available and the reference matrix matches the target, take \(\lambda=0.20\). The posterior mean is \[ \frac{1}{1.08} \begin{pmatrix}1.20&-0.60\\-0.60&1.20\end{pmatrix} \begin{pmatrix}0.12\\0.20\end{pmatrix} =\begin{pmatrix}0.0222\\0.1556\end{pmatrix}, \] because the determinant of \(R_{\text{target}}+0.20I\) is \(1.20(1.20)-0.60^2=1.08\). Shrinkage moves the estimates toward zero, while the two-variant model can use their correlation to separate the signals.
If the second variant is absent and the analysis uses only the first, the one-variant LD matrix is \((1)\). The posterior mean for that retained variant is \(0.12/(1+0.20)=0.100\). It is not the true joint effect of variant 1, which is zero. It is a shrunken estimate based on a marginal association that includes signal from the omitted variant. A score made from the retained variant alone can still be predictive, but its weight should not be interpreted as the omitted variant’s effect or as a correctly separated joint effect.
Practical Interpretation and Common Pitfalls
An LD reference mismatch is most consequential when the score method relies on LD to distinguish correlated signals, when relevant variants are missing, or when the reference LD estimates are noisy. The resulting weights may be redistributed among correlated variants: an estimated weight can be too large, too small, or even have the opposite sign to a true joint effect. A change in weights does not by itself show that underlying biological effects differ; the LD model, sampling error, coverage, and effect differences are separate possible explanations.
When investigating a suspected mismatch, check that the reference panel is relevant to the GWAS population, that the same variants and allele coding are represented, and that the panel is large enough to estimate local correlations reliably. Compare LD patterns in regions driving the score when suitable data are available. These checks diagnose inputs to the construction; they do not establish that effects are identical across populations or guarantee a particular prediction performance.
- Pitfall: assuming a larger GWAS repairs the reference. A wrong argument is, “The association estimates are precise, so the joint weights must be accurate.” The correction is that precision of \(\hat{\boldsymbol{b}}\) and correctness of \(R_{\text{ref}}\) are different requirements. The expected estimate still depends on \((R_{\text{ref}}+\lambda I)^{-1}R_{\text{target}}\).
- Pitfall: treating a missing variant as having no effect on the remaining weights. Its marginal signal can remain in the summary statistics and be attributed to a correlated variant that is covered.
- Pitfall: interpreting a weight as a causal effect. Bayesian score weights are model-based prediction weights. Correlation, shrinkage, missing variants, and other model choices affect them; they do not establish causation.
Check Your Understanding
Answer each question using the model and distinctions developed above.
- In the two-variant examples, why can a variant with a true joint effect of zero have a nonzero marginal effect?
- What happens to \(\lambda=\sigma^2/(n\tau^2)\) when \(n\) increases, holding the other quantities fixed? Does that change correct a mismatched reference matrix?
- In the example where the reference correlation was 0.80 but the target correlation was 0.20, why did the posterior mean for the second variant become negative?
- How does a small reference panel differ from an ancestry-mismatched panel as a source of LD error?
- Why can omitting a variant cause a retained variant’s estimated weight to reflect signal from the omitted variant?