Tutorials › Statistical Genetics › LD, Precision, and Conditional Power

Conditional and Joint Association · Tutorial 607 of 989

LD, Precision, and Conditional Power

See how LD reduces the genotype information available for a conditional effect, widens its confidence interval, and lowers power to detect an additional association signal.

Advanced 10 min read

What You'll Learn

  • Relate the residual variation in a tested genotype to its conditional standard error
  • Derive the two-variant LD inflation factor and extend it to multiple covariates
  • Interpret how LD affects confidence-interval width without changing the model’s target effect
  • Calculate approximate power and sample size for a conditional association test
  • Distinguish a weak conditional signal from a poorly estimated one
  • Recognize assumptions and common errors in interpreting LD-related precision

Why LD Affects Conditional Precision

At a locus, two variants can be correlated because of linkage disequilibrium (LD). If the variants are included together in a regression model, the coefficient for one variant describes its association with the outcome conditional on the other included variants. When the tested genotype is strongly predictable from the other genotypes, little of its variation remains to distinguish its conditional effect. The consequence is less information, a larger standard error, a wider confidence interval, and often lower power to detect an additional signal.

This is a precision issue, not a rule that the conditional effect must be smaller than the marginal effect. The conditional coefficient is the model’s estimate of a different quantity. Its value depends on the joint association structure, while its standard error also depends on how much variation in the tested genotype remains after adjustment.

Definition: In a joint regression, the conditional standard error of a variant’s coefficient measures its sampling uncertainty after accounting for the other modeled genotypes and covariates. The conditional information for that coefficient is proportional to the sum of squared deviations in the tested genotype that remain after those other predictors are accounted for. High LD often reduces this residual genotype variation and therefore reduces conditional information.

Model and Precision Formula

Consider a quantitative outcome measured on \(n\) individuals. Let \(G_2\) be the tested genotype, \(G_1\) another genotype included in the model, and \(C\) the other covariates. A linear regression model is

$$ Y_i=\beta_0+\beta_2G_{2i}+\beta_1G_{1i}+C_i^\mathsf{T}\gamma+\varepsilon_i. $$

Here, \(\beta_2\) is the conditional mean difference in outcome per unit increase in \(G_2\), holding \(G_1\) and \(C\) fixed. For the usual standard-error formula, assume the mean model is correctly specified, observations are independent, and errors have mean zero, common variance \(\sigma^2\), and are uncorrelated with the predictors. For the exact variance conditional on the observed design matrix, also assume this homoskedastic linear model. In practice, robust standard errors or other models may be appropriate when these assumptions do not hold.

To see the role of LD, regress \(G_2\) on the intercept, \(G_1\), and \(C\), and let \(\widetilde G_{2i}\) be the resulting residual for individual \(i\). The Frisch–Waugh–Lovell result expresses the coefficient for \(G_2\) as the regression of the outcome residualized on the other predictors on \(\widetilde G_2\). Its conditional variance, given the predictors, is

$$ \operatorname{Var}(\hat\beta_2\mid G_1,G_2,C) =\frac{\sigma^2}{\sum_{i=1}^{n}\widetilde G_{2i}^{\,2}}, \qquad SE(\hat\beta_2)=\frac{\hat\sigma}{\sqrt{\sum_{i=1}^{n}\widetilde G_{2i}^{\,2}}}. $$

Thus, a genotype with little residual variation after adjustment has a larger standard error. In a random-design approximation, if \(G_2\) has variance \(v_2\) and its multiple \(R^2\) from regression on the other predictors is \(R^2_{G_2\mid\text{others}}\), then

$$ SE(\hat\beta_2)\ \approx\ \frac{\sigma}{\sqrt{n v_2(1-R^2_{G_2\mid\text{others}})}}. $$

For just two genotypes, each standardized to variance 1, with correlation \(r\) and no additional covariates, the regression \(R^2\) is \(r^2\). The conditional standard error is therefore inflated relative to the unadjusted standard error by the factor \(1/\sqrt{1-r^2}\). The variance inflation factor is \(1/(1-r^2)\). This factor depends on the magnitude of \(r\), not its sign.

A Short Derivation of the Two-Variant Result

Assume the two genotype columns are centered and standardized, so their sums of squares are \(n\) and their cross-product is \(nr\). Regressing \(G_2\) on \(G_1\) gives slope \(r\), so the residualized genotype is \(\widetilde G_2=G_2-rG_1\). Its sum of squares is

$$ \sum_i(G_{2i}-rG_{1i})^2 =\sum_iG_{2i}^2-2r\sum_iG_{1i}G_{2i}+r^2\sum_iG_{1i}^2 =n-2nr^2+nr^2 =n(1-r^2). $$

Substituting this residual sum of squares into the conditional variance formula gives \(\sigma^2/[n(1-r^2)]\). Without \(G_1\) in the model, the corresponding variance is \(\sigma^2/n\). The ratio is therefore \(1/(1-r^2)\), and taking square roots gives the standard-error inflation factor \(1/\sqrt{1-r^2}\). As \(|r|\) approaches 1, the residualized genotype variation approaches zero and the conditional coefficient becomes very imprecise; at perfect collinearity, the two coefficients cannot be separately estimated.

Worked Example: LD, a Conditional Standard Error, and a Confidence Interval

Consider a hypothetical study with \(n=1{,}000\) unrelated individuals. The two centered genotypes are standardized to variance 1, their correlation is \(r=0.80\), and the residual standard deviation of the quantitative outcome is estimated as \(\hat\sigma=0.80\) outcome units. Suppose the joint regression estimates \(\hat\beta_2=0.12\) outcome units per one-standard-deviation increase in \(G_2\). Use the two-genotype approximation to calculate its standard error and 95% confidence interval.

The residual genotype variance is \(1-r^2=1-0.80^2=0.36\). Thus, the approximate conditional standard error is

$$ SE(\hat\beta_2)\approx \frac{0.80}{\sqrt{1{,}000(1-0.80^2)}} =\frac{0.80}{\sqrt{360}} =\frac{0.80}{18.974} \approx 0.04216. $$

A normal-approximation 95% confidence interval is \(\hat\beta_2\pm1.96SE(\hat\beta_2)\):

$$ 0.12\pm1.96(0.04216) =0.12\pm0.08263 =(0.03737,\ 0.2026) \quad\text{outcome units per genotype standard deviation}. $$

Under the model assumptions, this interval procedure would cover the conditional coefficient in 95% of repeated samples. Here, the interval is relatively wide because \(G_2\) is strongly correlated with \(G_1\), leaving only 36% of its standardized variance after adjustment. This calculation treats the stated residual standard deviation and genotype correlation as applicable to the regression; it does not establish that the model assumptions hold in an actual study.

Conditional Power for an Additional Signal

Power is the probability that a specified test rejects \(H_0\) when a particular alternative is true. For a two-sided Wald test of \(H_0:\beta_2=0\) at significance level \(\alpha\), an approximate calculation uses the standard normal distribution. If the standard error is approximately constant under the alternative, the test statistic has approximate distribution \(N(\delta,1)\), where \(\delta=\beta_2/SE(\hat\beta_2)\) is the noncentrality parameter. For two standardized genotypes and one other genotype with correlation \(r\), this gives

$$ \delta\approx \frac{\beta_2\sqrt{n(1-r^2)}}{\sigma}, \qquad \operatorname{Power}\approx \Phi(\delta-z_{1-\alpha/2})+\Phi(-\delta-z_{1-\alpha/2}). $$

The first probability is the chance that the statistic exceeds the positive critical value; the second is the chance it falls below the negative critical value. This is an approximation based on the normal model, the stated effect size, and the assumed residual variance and genotype distribution. It is not a probability that the null hypothesis is true.

Solving the approximation for sample size at target power \(1-\beta\) gives

$$ n\approx \frac{(z_{1-\alpha/2}+z_{1-\beta})^2\sigma^2} {\beta_2^2v_2(1-R^2_{G_2\mid\text{others}})}. $$

For two standardized genotypes, \(v_2=1\) and \(R^2_{G_2\mid\text{others}}=r^2\). Holding effect size, residual variance, and target power fixed, stronger LD increases the approximate sample size by \(1/(1-r^2)\) compared with no genotype correlation.

Worked Example: Approximate Sample Size at Moderate LD

In a hypothetical quantitative-trait study, suppose the target conditional effect is \(\beta_2=0.08\) outcome units per genotype standard deviation, the residual standard deviation is \(\sigma=1\) outcome unit, and the tested genotype has variance 1. Its correlation with the genotype already in the model is \(r=0.50\). Find an approximate sample size for a two-sided test with \(\alpha=0.05\) and 80% power.

Using \(z_{0.975}=1.960\) and \(z_{0.80}=0.8416\), the squared sum is approximately \(7.849\). The effect-to-residual-variance ratio is \(\beta_2^2v_2/\sigma^2=0.08^2(1)/1^2=0.0064\), and the residual genotype-variance fraction is \(1-r^2=1-0.50^2=0.75\). Therefore,

$$ n\approx\frac{7.849}{0.0064(0.75)} =\frac{7.849}{0.0048} \approx 1{,}635.2, $$

or about 1,635 observations under this normal approximation. The calculation illustrates the precision cost of LD: the effective genotype variance is reduced from 1 to 0.75. This is an approximate planning result, not an exact guarantee of 80% power for a finite sample; exact integer sample-size planning should use unrounded quantiles and a model-appropriate power calculation.

Worked Example: Comparing Power at Different LD Levels

Suppose a hypothetical study has \(n=2{,}000\), a conditional effect of \(0.08\) outcome units per genotype standard deviation, residual standard deviation 1, standardized genotype variance 1, and a two-sided \(\alpha=0.05\). Compare approximate power when the correlation with the other modeled genotype is \(r=0.75\) versus \(r=0\).

At \(r=0.75\), the residual genotype-variance fraction is \(1-0.75^2=0.4375\). The noncentrality parameter is

$$ \delta_{0.75} =\frac{0.08\sqrt{2{,}000(0.4375)}}{1} =0.08\sqrt{875} \approx 2.366. $$

With a two-sided critical value of 1.960, the approximate power is

$$ \Phi(2.366-1.960)+\Phi(-2.366-1.960) =\Phi(0.406)+\Phi(-4.326) \approx 0.658. $$

At \(r=0\), all of the standardized genotype variance remains after adjustment, and

$$ \delta_0=0.08\sqrt{2{,}000}\approx3.578, \qquad \operatorname{Power}\approx \Phi(3.578-1.960)+\Phi(-3.578-1.960) \approx0.947. $$

Under these assumptions, power is about 65.8% at \(r=0.75\), compared with about 94.7% when the genotypes are uncorrelated. The conditional effect size was held fixed in both calculations; the difference arises from the information available to estimate it.

Interpreting Precision and Power Carefully

The relationship between LD and conditional precision matters when asking whether a variant contributes an additional association signal beyond variants already in the model. A large conditional standard error can make a confidence interval include zero and a test have low power even if the conditional effect is not zero. Conversely, strong evidence from a conditional test depends on both the estimated effect and its uncertainty. The size of \(r\) alone does not determine whether an additional signal exists.

In real locus models, the relevant quantity is generally the multiple \(R^2\) for the tested genotype after regression on all other modeled predictors, not just its pairwise correlation with one variant. Genotype variance also matters: a less variable genotype provides less information even without LD. For example, allele frequency affects genotype variance under common genetic coding, so equal effect sizes do not necessarily imply equal standard errors across variants. The simple two-variant factor is a useful interpretation, not a substitute for calculating precision under the fitted design.

Key takeaway: Conditional precision is governed by the variation in a tested genotype that remains after adjustment. In the two-standardized-genotype case, that fraction is \(1-r^2\), so the standard error is multiplied by \(1/\sqrt{1-r^2}\), while approximate sample size for fixed power is multiplied by \(1/(1-r^2)\).

Common Mistake

Wrong reasoning: “The genotypes have high LD, so the conditional effect must be small, and a nonsignificant test shows there is no additional signal.” This confuses the estimated effect with its precision. LD can inflate the standard error without forcing the coefficient toward zero; a nonsignificant result may reflect low power.

Correction: Interpret the conditional coefficient and its uncertainty together. Report the effect in its stated units, the standard error or confidence interval, and the conditional test result. Assess whether the genotype retains enough variation after adjustment to estimate its effect precisely. A wide interval that includes zero is compatible with a range of conditional effects and is not proof of no additional association.

Check Your Understanding

Use the model assumptions and formulas in this tutorial to answer the following questions.

  1. For two standardized genotypes with \(r=0.60\), what fraction of the tested genotype’s variance remains after adjustment for the other genotype?
  2. If that residual variance fraction is 0.25, by what factor is the conditional standard error inflated relative to the unadjusted standard error?
  3. Why can a conditional test have low power even when the true conditional effect is nonzero?
  4. What additional quantity, beyond pairwise \(r\), is relevant when several genotypes and covariates are in the model?
  5. Explain why a confidence interval that includes zero does not establish that the conditional effect is exactly zero.
Clinical Biostats