Why a Single-SNP Estimate Can Depend on Covariate Adjustment
A single-SNP regression estimates the association between an allele dosage and a quantitative phenotype. But an estimated dosage coefficient can reflect more than the dosage–phenotype relationship represented by the model. If an omitted covariate is related to dosage and also predicts the phenotype, the unadjusted coefficient can absorb part of that covariate’s association with the phenotype. This is omitted-variable bias.
In genomic analyses, a covariate might represent ancestry, age, a technical batch, or another measured feature. The key issue is not whether a variable is labelled a “covariate”; it is whether the model has omitted a relevant predictor whose distribution varies with genotype. The coefficient change after adding a covariate is informative only when both models, their assumptions, and their target associations are understood.
The Bias Formula and Its Conditions
First consider one covariate. Suppose the conditional mean is correctly represented by
Here \(\beta_G\) is the dosage coefficient conditional on \(C\), and \(\gamma\) is the covariate’s conditional effect on the mean of \(Y\). The mean-zero condition implies that the error has zero covariance with \(G\). The unadjusted regression of \(Y\) on an intercept and \(G\) has population slope \(\operatorname{Cov}(G,Y)/\operatorname{Var}(G)\), provided \(\operatorname{Var}(G)>0\). Substituting the model gives
The intercept contributes zero covariance, and \(E(\varepsilon\mid G,C)=0\) gives \(\operatorname{Cov}(G,\varepsilon)=0\). Thus the unadjusted population slope equals the conditional dosage effect plus a bias term:
The formula has two requirements for nonzero bias: \(C\) must affect the conditional phenotype mean (\(\gamma\ne 0\)), and \(C\) must covary with dosage. If either factor is zero, this particular bias term is zero. With multiple omitted covariates collected in a vector \(\mathbf C\), and corresponding coefficient vector \(\boldsymbol{\gamma}\), the same argument gives \(\beta_G^{\mathrm{unadjusted}}=\beta_G+\boldsymbol{\gamma}^{T}\operatorname{Cov}(\mathbf C,G)/\operatorname{Var}(G)\).
This is a population relationship under the specified linear conditional-mean model, not a guarantee that estimates in a finite sample will equal their population values. The model assumes a correctly coded dosage, a linear additive dosage effect, an appropriate linear covariate effect, and no omitted features of the mean that invalidate the stated model. For interpreting an adjusted coefficient as a conditional association, the covariate model must be adequate and the included predictors must not be perfectly collinear. No causal interpretation follows from this algebra alone.
Worked Example: Positive Bias From a Positively Associated Covariate
Consider four hypothetical observations with \(G=(0,0,1,1)\), \(C=(0,2,1,3)\), and \(Y=(1,5,3.4,7.4)\). Suppose these values follow \(Y=1+0.4G+2C\) exactly. The phenotype is measured in arbitrary units, and \(C\) is in its recorded units.
The conditional dosage effect is \(\beta_G=0.4\) phenotype units per additional effect allele, and the covariate effect is \(\gamma=2\) phenotype units per unit of \(C\). The sample means are \(\bar{G}=0.5\) and \(\bar{C}=1.5\). Using denominator \(n=4\) for both variance and covariance,
Therefore the unadjusted population-slope calculation for these observations is
This matches the direct calculation: the mean phenotype is \(3\) for \(G=0\) and \(5.4\) for \(G=1\), a difference of \(5.4-3=2.4\). The unadjusted coefficient is larger than the conditional coefficient because \(C\) is positively associated with dosage and has a positive conditional effect on \(Y\). Since the data follow the specified model exactly, including \(C\) recovers the dosage coefficient \(0.4\).
Direction, Magnitude, and Sign Reversal
The sign of the bias is the sign of the product \(\gamma\operatorname{Cov}(G,C)\), since \(\operatorname{Var}(G)\) is positive. A covariate can be positively associated with the phenotype but negatively associated with dosage; in that case, it shifts the unadjusted coefficient downward. If the shift is large enough, the unadjusted and conditional coefficients can even have opposite signs. This is not a mathematical contradiction: the regressions describe different associations.
Worked Example: A Sign Reversal
In a second hypothetical data set, take \(G=(0,0,1,1)\), \(C=(2,4,0,2)\), and define \(Y=5+1G+2C\). The resulting phenotype values are \(Y=(9,13,6,10)\). The adjusted dosage coefficient is \(1\) phenotype unit per allele.
Here \(\bar G=0.5\), \(\bar C=2\), and \(\operatorname{Var}(G)=0.25\). The covariance is
The bias term is \(2(-0.5/0.25)=-4\) phenotype units per allele. Thus the unadjusted slope is \(1-4=-3\) phenotype units per allele. Directly, the mean \(Y\) is \(11\) when \(G=0\), and \(8\) when \(G=1\); their difference is \(8-11=-3\). Adjustment recovers \(1\) in this exact model. The negative unadjusted slope is not evidence that the conditional dosage association is negative: it combines the positive conditional dosage effect with the negative dosage–covariate relationship and the positive effect of \(C\).
In an actual analysis, the two estimates will usually not be exact population quantities. They vary because of sampling, measurement error, and model misspecification. A changed coefficient is therefore a clue to investigate, not by itself a diagnosis that a particular covariate caused bias.
Comparing Adjusted and Unadjusted Estimates
A useful comparison fits both models to the same individuals, using the same dosage coding and phenotype scale. The unadjusted model includes an intercept and \(G\); the adjusted model adds the covariate or covariates justified by the analysis. Compare the dosage coefficients, their standard errors, and the sample sizes. If missing covariate values cause different observations to be used, an apparent coefficient change can reflect the changed sample as well as adjustment.
For a comparison to diagnose the bias described by the formula, the covariate should be associated with dosage and have a conditional relationship with phenotype under the model. Check these relationships in the analysis sample, but do not treat separate marginal associations as proof of the full model assumptions. Also check whether the covariate is coded appropriately, whether important nonlinearities or interactions are plausible, and whether adding it creates severe collinearity. These checks help determine whether the adjusted coefficient is a credible conditional association.
Worked Example: When Adjustment Does Not Shift the Coefficient
Suppose a third hypothetical data set has \(G=(0,0,1,1)\), \(C=(0,2,0,2)\), and \(Y=3+0.5G+2C\), giving \(Y=(3,7,3.5,7.5)\). The covariate predicts the phenotype, with a conditional effect of \(2\) phenotype units per unit of \(C\), but \(C\) has the same mean at both dosage values.
The dosage variance is \(0.25\), while the covariance is
Consequently the bias term is \(2(0/0.25)=0\), and the unadjusted slope is \(0.5\) phenotype units per allele. Directly, the mean phenotype is \(5\) for \(G=0\) and \(5.5\) for \(G=1\), also giving \(0.5\). The adjusted model recovers \(0.5\) as well. Here adjustment does not remove this source of bias because the covariate is not associated with dosage. The estimates’ standard errors could still differ: including a predictor can affect precision even when it does not shift the population dosage coefficient.
Diagnostics, Alternatives, and Limitations
A practical comparison can be organized as follows.
State whether the aim is an unadjusted dosage association or a conditional association given specified covariates. They are not automatically the same quantity.
Use the same phenotype, dosage coding, individuals, and scale; add covariates to the adjusted model and record the sample size for each fit.
Check whether dosage and covariates are associated, whether the covariates relate to phenotype under the model, and whether coding, collinearity, or sample changes could explain the result.
Describe the adjusted and unadjusted estimates with units and the covariates used. Do not infer causation or declare one model correct solely because its coefficient is larger or more statistically significant.
Adjustment is the usual approach when covariates are measured and the desired model is conditional on them. Regression residualization, introduced in the earlier material on covariate adjustment by residualization, is an equivalent way to obtain the dosage coefficient when it uses the same linear model and covariate space. Stratifying by a covariate can also reveal within-group patterns, but may be inefficient or impossible when groups are small, and it does not automatically handle continuous covariates. Each approach depends on choosing an appropriate covariate model.
There are important limits. A covariate may be measured poorly, omitted, or represented with an inadequate functional form. Adding many correlated covariates can make estimates unstable. Furthermore, adjustment changes the coefficient’s interpretation to a conditional association; it is not always desirable to adjust for every available variable. In particular, whether a variable should be adjusted for depends on the scientific target and how it relates to the variables in the model. The omitted-variable formula describes a linear projection under explicit assumptions; it does not settle that scientific choice.
A common mistake is: “The adjusted coefficient differs from the unadjusted coefficient, so the unadjusted estimate was biased and the adjusted one is correct.” The correction is to check the model, sample, coding, and target first. A difference is consistent with omitted-variable bias, but can also reflect sampling variability, a changed analysis sample, or a misspecified adjusted model. Conversely, similar coefficients do not prove that confounding is absent; omitted effects can be small, poorly measured, or offset one another.
Check Your Understanding
Answer each question, then compare with the solutions below.
- If \(\gamma=3\), \(\operatorname{Cov}(G,C)=0.2\), and \(\operatorname{Var}(G)=0.5\), what is the bias term? State its units relative to the dosage coefficient.
- If the covariate affects the phenotype but has zero covariance with dosage, what does the formula say about this source of omitted-variable bias?
- A covariate has a negative relationship with dosage and a negative conditional effect on phenotype. What is the expected direction of the bias term?
- Why should adjusted and unadjusted estimates be compared using the same analysis sample when possible?
Solutions. (1) The term is \(3(0.2/0.5)=1.2\), in phenotype units per one-unit dosage increase; it shifts the unadjusted coefficient upward by \(1.2\). (2) The term is \(\gamma(0)/\operatorname{Var}(G)=0\), so this covariate contributes no bias of this form, though it may affect precision. (3) The product of the negative covariate effect and negative dosage–covariate covariance is positive, so the bias is upward. (4) If the samples differ, the coefficient change can arise partly from which observations were included, not only from adding the covariate.