Tutorials › Statistical Genetics › Variance Decomposition for Quantitative Family Traits

Variance Components and Family QTLs · Tutorial 280 of 989

Variance Decomposition for Quantitative Family Traits

Learn to decompose quantitative-trait variation into genetic, environmental, and residual sources, and determine which sources contribute covariance between relatives.

Advanced 10 min read

What You'll Learn

  • Define additive polygenic, quantitative-locus, shared-environmental, and residual variance components
  • Distinguish total trait variance from covariance between two relatives
  • Use pedigree relationship and locus-specific identity-by-descent sharing to describe genetic covariance
  • Calculate covariance contributions under a family variance-components model
  • Identify assumptions needed to add variance components
  • Recognize when shared environment or overlapping genetic definitions distort interpretation

Why Decompose Variation in Family Traits?

When relatives resemble one another in a quantitative trait, their resemblance may have several sources. They can share alleles across the genome, share alleles at a particular quantitative locus, or experience a common household or other family-level environment. In addition, each individual has influences that are not shared with relatives under the model. A variance decomposition separates these sources so that similarity between relatives is not automatically attributed to a single cause.

The central distinction is between variance within an individual and covariance between individuals. Each variance component contributes to an individual's total trait variance. Its contribution to covariance between a pair depends on whether, and how, that source is shared by the pair. The model below is a framework for describing these contributions; it does not by itself establish that a particular component has been estimated accurately or that an association is causal.

A Four-Component Model

Let \(Y_i\) be the quantitative trait for individual \(i\), and let \(\mu_i\) denote the individual's mean given specified fixed effects, such as age or sex. Write the trait after accounting for that mean as a sum of four random contributions:

$$ Y_i=\mu_i+A_i+Q_i+C_i+E_i. $$

Here \(A_i\) is the additive polygenic contribution from many genetic effects across the genome, excluding the focal quantitative locus represented separately by \(Q_i\). The term \(C_i\) is a shared-environmental contribution, such as the effect of a common household in a model with one family-level environmental effect. The residual \(E_i\) collects individual-specific variation not represented by the other terms, including measurement error under this model.

Definition: The four variance components are \(\sigma_A^2=\operatorname{Var}(A_i)\), the additive polygenic variance; \(\sigma_Q^2=\operatorname{Var}(Q_i)\), the variance attributable to the focal quantitative locus; \(\sigma_C^2=\operatorname{Var}(C_i)\), the shared-environmental variance; and \(\sigma_E^2=\operatorname{Var}(E_i)\), the residual variance. Each component is measured in squared trait units.

For the basic decomposition, assume the random contributions have mean zero, the stated variances are the same across individuals, and distinct components are uncorrelated with one another. Assume also that the residuals of different individuals are uncorrelated. These assumptions make the decomposition additive. If, for example, genetic effects and environments are correlated, extra covariance terms are needed and the simple sums below do not describe the full variance or covariance.

$$ \operatorname{Var}(Y_i\mid\mu_i) =\sigma_A^2+\sigma_Q^2+\sigma_C^2+\sigma_E^2. $$

The left side is the variance around the specified mean, not the variance of the fixed mean itself. If all components are measured in units of the trait, their variances are in squared units. For example, if the trait is height in centimetres, the variance components are in square centimetres.

How Each Component Creates Covariance

For two distinct individuals \(i\) and \(j\), the covariance of their traits is the sum of the covariances contributed by the four components, provided that different components are uncorrelated. The components do not all contribute in the same way.

Definition: Let \(r_{ij}\) be the pedigree relationship coefficient for additive genetic effects: the expected proportion of alleles shared identical by descent (IBD) across the genome, under the pedigree model. For non-inbred individuals, \(r_{ii}=1\); parent–offspring pairs and full siblings have expected \(r_{ij}=1/2\). Let \(\pi_{ij}\) be the proportion of the two alleles at the focal locus that the pair shares IBD. In the additive model, the four covariance contributions are \(r_{ij}\sigma_A^2\), \(\pi_{ij}\sigma_Q^2\), a shared-environment contribution when the pair shares the modeled environment, and zero residual covariance for distinct individuals.

The polygenic term uses genome-wide pedigree relatedness. The QTL term instead depends on IBD sharing at the particular locus. For a pair with uncertain locus-specific sharing, the formula describes covariance conditional on the specified \(\pi_{ij}\); averaging across possible inheritance states replaces \(\pi_{ij}\) by its expectation. At an individual's own locus, \(\pi_{ii}=1\), so the QTL contribution to that individual's variance is \(\sigma_Q^2\).

For a simple shared-environment model, let \(H_{ij}=1\) if individuals \(i\) and \(j\) share the modeled environment, and \(H_{ij}=0\) otherwise. The same environmental effect applies to both members of a sharing pair, so their covariance contribution is \(\sigma_C^2 H_{ij}\). This term is not determined by genetic relatedness: siblings raised apart need not share this effect, while unrelated people in the same household may share it. The residual contributes \(\sigma_E^2\) to an individual's variance but, under the independent-residual assumption, contributes no covariance between distinct individuals.

$$ \operatorname{Cov}(Y_i,Y_j\mid\mu_i,\mu_j) =r_{ij}\sigma_A^2+\pi_{ij}\sigma_Q^2 +H_{ij}\sigma_C^2,\qquad i\ne j. $$

This formula is for a model that separates the focal locus from the remaining additive polygenic effects. It also assumes there are no additional covariance sources, such as a modeled shared effect beyond \(C_i\), dominance, or correlated residuals. The covariance is not the same as the correlation: for individuals with equal trait variance \(V\), the correlation is the covariance divided by \(V\); with unequal variances, it is divided by the square root of their variance product.

ComponentContribution to an individual's varianceContribution to covariance between two distinct individuals
Additive polygenic\(\sigma_A^2\)\(r_{ij}\sigma_A^2\), based on pedigree relationship
Quantitative locus\(\sigma_Q^2\)\(\pi_{ij}\sigma_Q^2\), based on locus-specific IBD sharing
Shared environment\(\sigma_C^2\)\(H_{ij}\sigma_C^2\) in the one-environment model
Residual\(\sigma_E^2\)Zero under independent residuals

Worked Variance and Covariance Calculations

Worked Example: Total Variance of a Hypothetical Trait

Suppose a hypothetical quantitative trait is measured in millimetres, and a model assigns the following variance components: \(\sigma_A^2=9\), \(\sigma_Q^2=4\), \(\sigma_C^2=2\), and \(\sigma_E^2=5\), all in square millimetres. Assume the four components are uncorrelated as specified by the model.

The total variance around the fixed mean is

$$ \operatorname{Var}(Y_i\mid\mu_i) =\sigma_A^2+\sigma_Q^2+\sigma_C^2+\sigma_E^2 =9+4+2+5=20\ \text{mm}^2. $$

The corresponding standard deviation is \(\sqrt{20}=4.472\) mm. This standard deviation describes variation among individuals around their modeled means. It does not say that any one component is responsible for all observed variation; the four listed components sum to the total under the assumptions.

Worked Example: Covariance for Parent and Child

Use the same hypothetical variance components. Consider a parent and child who share the modeled household environment. Their pedigree relationship coefficient is \(r_{ij}=0.5\). At the focal locus, a parent and child share one of the two alleles IBD, so \(\pi_{ij}=0.5\). For this example, set \(H_{ij}=1\).

The additive polygenic covariance contribution is

$$ r_{ij}\sigma_A^2=0.5(9)=4.5\ \text{mm}^2. $$

The QTL covariance contribution is

$$ \pi_{ij}\sigma_Q^2=0.5(4)=2\ \text{mm}^2. $$

The shared-environment contribution is \(H_{ij}\sigma_C^2=1(2)=2\ \text{mm}^2\), and the residual contribution is zero because the individuals are distinct and residuals are independent. Thus,

$$ \operatorname{Cov}(Y_i,Y_j\mid\mu_i,\mu_j) =4.5+2+2=8.5\ \text{mm}^2. $$

The result is a modeled covariance, not a causal effect of being related. It combines the three specified sources of pairwise resemblance.

Worked Example: A Pair With Greater Sharing at the Locus

Now consider two hypothetical full siblings from the same household, using the same variance components. Full siblings have expected genome-wide relationship coefficient \(r_{ij}=0.5\). Suppose their locus-specific sharing is \(\pi_{ij}=1\), meaning both alleles at the focal locus are shared IBD. They also share the modeled environment, so \(H_{ij}=1\).

Their covariance contributions are \(0.5(9)=4.5\ \text{mm}^2\) from additive polygenic effects, \(1(4)=4\ \text{mm}^2\) from the QTL, and \(1(2)=2\ \text{mm}^2\) from the shared environment. Therefore,

$$ \operatorname{Cov}(Y_i,Y_j\mid\mu_i,\mu_j) =4.5+4+2=10.5\ \text{mm}^2. $$

If both siblings have the same total variance of \(20\ \text{mm}^2\), their modeled correlation is \(10.5/20=0.525\). The calculation conditions on the stated locus-specific sharing. It should not be read as the expected covariance for all full-sibling pairs: their sharing at the locus varies, even though their expected sharing is one half.

Why the Decomposition Matters

The decomposition clarifies what family resemblance can and cannot tell us. Pedigree relatedness predicts a polygenic covariance contribution, but common environments can also make relatives similar. A focal QTL can contribute covariance in proportion to locus-specific IBD sharing, which may vary among pairs with the same pedigree relationship. Separating these sources gives a model a way to describe those distinct patterns rather than treating all family resemblance as interchangeable.

The variance components also depend on the model's definitions. In this tutorial, \(\sigma_A^2\) excludes the focal QTL so that its contribution can be represented separately by \(\sigma_Q^2\). If the polygenic component were defined to include that locus, adding \(\sigma_Q^2\) again would count some genetic variance twice. Similarly, the shared-environment component represents only the environmental sharing encoded by \(H_{ij}\); it is not a general label for every resemblance that remains unexplained.

A Short Justification of the Addition Rules

The variance and covariance formulas follow from the algebra of sums and the assumption that distinct components are uncorrelated. For an individual, subtract its fixed mean to obtain \(A_i+Q_i+C_i+E_i\). Expanding the variance gives the four component variances plus twice each pairwise cross-covariance. Each cross-covariance is zero by assumption, leaving the sum of four variances.

For two individuals, expand the covariance of their component sums. The model assumes cross-covariances between different component types vanish. The remaining same-component terms are \(\operatorname{Cov}(A_i,A_j)=r_{ij}\sigma_A^2\), \(\operatorname{Cov}(Q_i,Q_j)=\pi_{ij}\sigma_Q^2\), and \(\operatorname{Cov}(C_i,C_j)=H_{ij}\sigma_C^2\). Independent residuals give \(\operatorname{Cov}(E_i,E_j)=0\) for \(i\ne j\). Adding these surviving terms yields the stated pairwise covariance.

Common Pitfall

A common error is to see that two siblings resemble one another and attribute their entire covariance to genetic sharing. That reasoning omits the possibility of a common environment. The correction is to identify each modeled source and calculate its contribution separately: genetic terms depend on pedigree or locus-specific sharing, whereas the shared-environment term depends on whether the pair shares the specified environment. Another error is to treat the residual variance as covariance between relatives; under the independent-residual assumption it contributes to each individual's variance, not to pairwise covariance.

Key takeaway: Total trait variance is the sum of the four variance components under the model's uncorrelated-component assumptions. Pairwise covariance is different: additive polygenic effects scale with pedigree relationship, QTL effects with locus-specific IBD sharing, shared environment with environmental sharing, and independent residuals contribute no covariance between distinct individuals.

Check Your Understanding

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

  1. If the four variance components are 6, 3, 1, and 4 in squared trait units, what is the total variance under the uncorrelated-component model?
  2. Which relationship quantity scales the additive polygenic covariance, and which quantity scales the QTL covariance?
  3. Two unrelated people share a modeled household. Which covariance component can arise from that sharing under the stated model?
  4. Why does independent residual variation contribute to an individual's variance but not to covariance between distinct siblings?
  5. What modeling mistake occurs if the focal QTL is included in the additive polygenic component and then added again as a separate component?
Clinical Biostats