Tutorials › Statistical Genetics › Dependence and Variance in Family-Based Scores

Family-Based Association Tests · Tutorial 273 of 989

Dependence and Variance in Family-Based Scores

Derive family-based score variances that retain within-family covariance, and identify when treating offspring as independent is justified.

Intermediate 10 min read

What You'll Learn

  • Define a family score as a sum of conditionally centered offspring contributions
  • Derive its variance from marginal variances and pairwise covariances
  • Distinguish independent sibling transmissions from dependence induced by shared pedigree information
  • Calculate how covariance changes a family score variance
  • Combine family variances only when the families are conditionally independent
  • Recognize why a child-level independence calculation can miscalibrate a test

Why Dependence Matters for a Family-Based Score

A family-based association test combines evidence from transmissions within families. The score may be written as a sum of offspring contributions, but that does not make the contributions independent. Relatives can share transmission events or uncertainty about the pedigree’s inherited alleles. When this creates covariance between score contributions, the variance of their sum includes more than the individual variances.

The distinction is important for inference: a score is judged relative to its null variance. If positive covariance is omitted, the calculated variance is too small and the standardized score can appear more extreme than it should. If covariance is negative, omitting it can instead overstate the variance. The required calculation is at the level of the joint conditional transmission distribution, not by assuming that every child contributes an independent observation.

Definition: For family \(f\), let \(X_{fj}\) be the offspring genotype or transmission quantity used for child \(j\), and let \(C_f\) denote the conditioning information used by the test. Write \(m_{fj}=E(X_{fj}\mid C_f)\). If \(w_{fj}\) is a fixed phenotype-dependent weight, the centered contribution is \(T_{fj}=w_{fj}(X_{fj}-m_{fj})\), and the family score is \(S_f=\sum_j T_{fj}\). Under the conditional null, the centering makes \(E(S_f\mid C_f)=0\).

For example, in a transmission test for an affected child, a weight can represent that child’s fixed affection status relative to the null mean. The weight and the conditional expected transmission are specified by the test; the point here is how to calculate the variance after defining the score. All expectations and covariances below are conditional on the family information \(C_f\). This conditioning matters: the relevant dependence is dependence that remains in the transmission distribution after conditioning, not a vague claim that relatives are “similar.”

The Family-Level Variance Formula

The variance of a sum contains a variance term for each contribution and a covariance term for each distinct pair. For a family with \(r_f\) contributing offspring, the conditional score variance is

$$ \operatorname{Var}(S_f\mid C_f) = \sum_{j=1}^{r_f}\operatorname{Var}(T_{fj}\mid C_f) + 2\sum_{1\leq j<k\leq r_f}\operatorname{Cov}(T_{fj},T_{fk}\mid C_f). $$

Since the weights are fixed given \(C_f\), this can also be written directly in terms of the genotype or transmission quantities:

$$ \operatorname{Var}(S_f\mid C_f) = \sum_{j=1}^{r_f}w_{fj}^{\,2}\operatorname{Var}(X_{fj}\mid C_f) + 2\sum_{1\leq j<k\leq r_f} w_{fj}w_{fk}\operatorname{Cov}(X_{fj},X_{fk}\mid C_f). $$

The factor of 2 appears because expanding the square of a sum includes both the \(j,k\) and \(k,j\) terms. A positive covariance raises the variance when the two weights have the same sign; a negative covariance lowers it. If the weights have opposite signs, the effect reverses. Thus covariance cannot be treated as automatically positive or automatically an inflation.

Worked Example: Independent Transmissions From a Heterozygous Parent

Suppose a hypothetical family has two affected children. For each child, let \(X_j=1\) if a heterozygous parent transmits the allele of interest and \(X_j=0\) otherwise. Assume the parents’ genotypes are known, the parent’s two alleles are transmitted with equal probability, and the two distinct meioses are conditionally independent. Use weight \(w_j=1\) for each child.

For each child, \(m_j=E(X_j\mid C)=0.5\). The score contribution is \(T_j=X_j-0.5\), so \(T_j\) is \(0.5\) or \(-0.5\), each with probability \(0.5\). Therefore,

$$ \operatorname{Var}(T_j\mid C) =0.5(0.5^2)+0.5((-0.5)^2)=0.25. $$

The two transmissions are independent under the stated model, so \(\operatorname{Cov}(T_1,T_2\mid C)=0\). Hence,

$$ \operatorname{Var}(S\mid C)=0.25+0.25+2(0)=0.50. $$

Here, summing the two child-level variances gives the correct family variance. The justification is the independence assumption about the two meioses conditional on the known parental genotypes, not the fact that the offspring are siblings. This result should not be generalized to every pedigree or every conditioning scheme.

How Shared Transmissions Change the Calculation

In an extended pedigree, multiple score contributions can involve a common ancestral transmission or a common uncertain inherited allele. Conditional on the observed pedigree information, the corresponding offspring quantities may then be dependent. The covariance is calculated from their joint conditional distribution. A useful equivalent expression for a pair is

$$ \operatorname{Cov}(X_{fj},X_{fk}\mid C_f) = E(X_{fj}X_{fk}\mid C_f) - E(X_{fj}\mid C_f)E(X_{fk}\mid C_f). $$

Knowing the two marginal transmission probabilities is not enough to calculate this covariance; the joint probability is also needed. If the same uncertain transmission enters two score terms, counting its marginal variance twice as though it arose from two independent events will generally give the wrong result.

Worked Example: A Shared Transmission Component

Consider a hypothetical pedigree calculation in which two offspring contributions each contain the same uncertain ancestral transmission \(X\), with \(P(X=1\mid C)=P(X=0\mid C)=0.5\). For simplicity, let \(T_1=X-0.5\) and \(T_2=X-0.5\), each with weight 1. This isolates the shared component; it is not a claim that all sibling transmissions are identical.

Each contribution has variance \(0.25\). But since they are the same centered random quantity, their covariance is also \(0.25\):

$$ \operatorname{Cov}(T_1,T_2\mid C) =E[(X-0.5)^2\mid C]=0.25. $$

The family score is \(S=T_1+T_2=2(X-0.5)\). Its variance is therefore

$$ \operatorname{Var}(S\mid C) =0.25+0.25+2(0.25)=1.00. $$

Treating the contributions as independent would give \(0.25+0.25=0.50\), only half the correct variance in this example. A pedigree implementation should represent the shared transmission once in the joint conditional distribution and retain the resulting covariance.

Dependence need not be perfect or positive. For a pair of binary transmission indicators, suppose a hypothetical conditional joint distribution has probabilities \(P(X_1=1,X_2=1\mid C)=0.40\), \(P(1,0\mid C)=0.10\), \(P(0,1\mid C)=0.10\), and \(P(0,0\mid C)=0.40\). Each marginal probability of 1 is 0.50. Thus each variance is 0.25, while the covariance is \(0.40-(0.50)(0.50)=0.15\). With unit weights, the variance of the centered sum is \(0.25+0.25+2(0.15)=0.80\). The arithmetic shows why marginal variances alone cannot recover the score variance.

Worked Example: Unequal Weights and Positive Covariance

Use the hypothetical joint transmission distribution from the preceding calculation, so each centered transmission \(T_j=X_j-0.5\) has variance \(0.25\) and their covariance is \(0.15\). Suppose a family score uses fixed weights \(w_1=2\) and \(w_2=1\), giving \(S=2T_1+T_2\).

The weighted marginal variance terms are \(2^2(0.25)=1.00\) and \(1^2(0.25)=0.25\). The covariance contribution is \(2(2)(1)(0.15)=0.60\). Therefore,

$$ \operatorname{Var}(S\mid C)=1.00+0.25+0.60=1.85. $$

If the covariance were incorrectly set to zero, the result would be \(1.25\), an underestimate of \(0.60\). The positive covariance increases the variance because both weights are positive. This example also shows why the unweighted covariance itself cannot simply be added to a weighted score variance: it must be multiplied by both weights and by 2.

Combining Families and Standardizing the Score

Suppose the total score is \(U=\sum_{f=1}^{F}S_f\). If distinct families are conditionally independent under the null, then cross-family covariances are zero, and

$$ \operatorname{Var}(U\mid C_1,\ldots,C_F) = \sum_{f=1}^{F}\operatorname{Var}(S_f\mid C_f). $$

Within each family, however, the variance in this sum must include all relevant within-family covariances. This is the central distinction: independent families can be combined by adding their family variances, while contributions inside a family must be combined using their joint conditional distribution.

A standardized score uses the square root of the null variance as its standard error. When an asymptotic normal calibration is appropriate, the statistic is \(U/\sqrt{\operatorname{Var}(U\mid C)}\). The variance formula does not by itself guarantee that this statistic is well approximated by a standard normal distribution; that calibration requires its own justification. For a small or highly dependent set of transmission events, the conditional distribution may be discrete, and a variance calculation should not be mistaken for a proof of normality.

Derivation and Practical Calculation

The family-level formula follows directly from the definition of conditional variance. Because each contribution is conditionally centered, \(E(S_f\mid C_f)=0\), so \(\operatorname{Var}(S_f\mid C_f)=E(S_f^2\mid C_f)\). Expand the square and take conditional expectations:

$$ \begin{aligned} \operatorname{Var}(S_f\mid C_f) &=E\left[\left(\sum_j T_{fj}\right)^2\middle|C_f\right]\\ &=\sum_j E(T_{fj}^2\mid C_f) +2\sum_{j<k}E(T_{fj}T_{fk}\mid C_f)\\ &=\sum_j\operatorname{Var}(T_{fj}\mid C_f) +2\sum_{j<k}\operatorname{Cov}(T_{fj},T_{fk}\mid C_f). \end{aligned} $$

The last equality uses \(E(T_{fj}\mid C_f)=E(T_{fk}\mid C_f)=0\), so each pair’s conditional product expectation equals its covariance. If contributions are not centered under the conditioning used, the variance must instead be computed around the conditional mean of the total score; the displayed simplification cannot be applied without that condition.

In practice, the calculation can be organized as a family-level sequence:

1
Specify the conditional score.
Write each offspring contribution and identify the family information and fixed weights on which it depends.
2
Obtain joint transmission moments.
For each contributing offspring, calculate its conditional variance; for each pair, calculate its conditional covariance from the joint transmission distribution.
3
Assemble the family variance.
Add the weighted marginal variances and twice the weighted pairwise covariances, checking signs and weights.
4
Combine independent families.
When the families are conditionally independent, sum their family variances to obtain the total score variance.

Common Mistake: Assuming Every Child Is Independent

A tempting shortcut is to calculate each child’s contribution variance and add them, on the grounds that the score is a sum over children. That reasoning confuses the algebraic form of the score with the probability model for its terms. The shortcut is correct only if the relevant conditional covariances are zero. As the independent-meiosis example showed, that condition can hold for siblings when parental genotypes are known and their meioses are independent. But it need not hold for contributions involving shared transmissions or uncertainty in an extended pedigree.

The correction is not to add a generic “family correction” of arbitrary size. It is to calculate the covariances implied by the actual conditional transmission distribution and the score definition. Likewise, sibling status alone does not prove that covariance is nonzero. The transmission structure and conditioning information determine the answer.

Key takeaway: A family score is a sum, but its variance is not generally the sum of child-level variances. Retain the pairwise covariance terms within each family; add family variances across families only under conditional independence.

Check Your Understanding

Answer each question by referring to the conditional score and its variance.

  1. For two centered contributions with variances 0.20 and 0.30 and covariance 0.05, what is the variance of their unweighted sum?
  2. Why can two siblings’ transmission contributions be independent in one test setup but dependent in another?
  3. With fixed weights \(w_1\) and \(w_2\), what factor multiplies the covariance between two contributions in the variance of their weighted sum?
  4. If a family has three offspring contributions, how many distinct pairwise covariance terms appear before the factor of 2?
  5. Under what condition can family-level score variances be added to obtain the total score variance?
Clinical Biostats