Tutorials › Statistical Genetics › Why Kernel Tests Detect Heterogeneous Rare-Variant Effects

Kernel Tests and SKAT Methods · Tutorial 437 of 989

Why Kernel Tests Detect Heterogeneous Rare-Variant Effects

See how signed sums and squared score components respond differently to heterogeneous variant effects, and when that difference matters for gene-level testing.

Advanced 10 min read

What You'll Learn

  • Define variant-level score components and a simple quadratic kernel-test statistic
  • Compare how signed burdens and quadratic tests combine aligned and opposing effects
  • Work through gene-level examples with standardized variant scores
  • Explain why squaring prevents directional cancellation but does not guarantee greater power
  • Identify how linkage disequilibrium, weights, and null calibration affect interpretation

Why Directional Heterogeneity Matters

A gene can contain rare variants whose effects on a trait point in different directions. One variant may be associated with a higher trait value, while another is associated with a lower value. A signed burden combines variant information into one direction-sensitive quantity. When variant effects oppose one another, their contributions can cancel before the test measures the evidence. A kernel test instead uses a quadratic combination of variant-level scores: squaring makes each component contribute without retaining its sign.

This difference is the central reason a variance-component or kernel test can detect a gene-level signal that a signed burden may miss. It is not a claim that kernel tests are always more powerful. When effects are consistently aligned, a burden can combine their evidence efficiently. The methods respond differently because they summarize a different feature of the variant-level evidence.

Variant-Level Scores and Two Ways to Combine Them

To make the comparison precise, consider a quantitative trait \(y\), an \(n\)-row vector of trait values, and a matrix \(C\) containing an intercept and any covariates in the null model. Let \(g_j\) be the \(n\)-row genotype vector for variant \(j\), coded, for example, as the number of alternate alleles. Under a linear null model, assume \(y=C\gamma+\varepsilon\), with correctly specified mean, independent errors of mean zero and variance \(\sigma^2\), and a full-column-rank \(C\). The null residual-maker is \(M_C=I-C(C^\mathsf{T}C)^{-1}C^\mathsf{T}\); it removes the fitted covariate component.

A covariate-adjusted score component for variant \(j\) is \(U_j=g_j^\mathsf{T}M_Cy\). It measures the alignment between the genotype pattern, after accounting for covariates, and the trait residuals. A positive or negative value records the direction of that alignment. In practice, score components may be scaled by their null standard deviations, and their joint covariance must be handled in the test calibration.

Definition: A signed burden score combines variant scores linearly, such as \(B=\sum_{j=1}^m a_jU_j\), where \(a_j\) are prespecified weights. A simple quadratic kernel score statistic combines squared scores, such as \(Q=\sum_{j=1}^m w_j^2U_j^2\), where \(w_j\) are nonnegative, prespecified weights. A squared score contributes according to its magnitude, not whether it is positive or negative.

These expressions describe the basic contrast, not a complete recipe for inference. A test also needs the null variance or null distribution of its statistic. Variant scores can be correlated, for example because genotypes at nearby variants are in linkage disequilibrium. A valid calibration accounts for this covariance; it must not assume independent scores merely because the statistic is written as a sum.

For transparent numerical comparisons below, use standardized scores \(Z_j\) with null mean zero and null variance one, equal weights, and independent null scores. In this simplified setting, the signed burden statistic is \(Z_B=(\sum_j Z_j)/\sqrt{m}\), and the quadratic statistic is \(Q=\sum_j Z_j^2\). Under the stated independent standard-normal null, \(Z_B\) has a standard normal distribution and \(Q\) has a chi-square distribution with \(m\) degrees of freedom. These assumptions make the examples calculable; real analyses require an appropriate covariance-aware calibration.

Worked Example: Three Variants With Aligned Effects

Suppose a hypothetical gene has three variants, and their observed standardized score components are \(Z_1=2.0\), \(Z_2=2.0\), and \(Z_3=2.0\). Assume the simplified independent, equal-weight null setup just described.

Signed burden. The standardized burden is

$$ Z_B=\frac{2.0+2.0+2.0}{\sqrt{3}} =\frac{6.0}{1.732}=3.464. $$

Quadratic statistic. The squared components sum to

$$ Q=(2.0)^2+(2.0)^2+(2.0)^2=12.0. $$

Both summaries show evidence because each variant score points in the same direction. The burden combines that coherent direction into one large standardized score. The quadratic statistic also accumulates the three large components, but it does not gain a direction-based advantage over the burden in this example. A two-sided standard-normal calibration gives a burden p-value of about 0.00053; the quadratic statistic is compared with a chi-square distribution with 3 degrees of freedom under the example’s assumptions.

Why Opposing Effects Can Cancel in a Burden

A signed burden adds contributions before evaluating how far the result is from its null expectation. If one contribution is positive and another negative, the sum can be small even when both individual scores are large. A quadratic statistic first removes the sign of each component by squaring and then adds the resulting nonnegative values. Consequently, opposite directions do not cancel in this statistic.

The contrast is visible algebraically. For two equally weighted components of equal magnitude \(a\) and opposite signs, the burden sum is zero, but the quadratic sum is positive. With the same two magnitudes and the same sign, both methods register evidence; the burden can use the shared direction directly.

$$ \begin{aligned} \text{Opposing scores:}\quad &(a)+(-a)=0, &\quad &(a)^2+(-a)^2=2a^2,\\ \text{Aligned scores:}\quad &(a)+(a)=2a, &\quad &(a)^2+(a)^2=2a^2. \end{aligned} $$

This is a statement about how the statistics combine scores, not a guarantee about p-values. The null variability of each statistic differs, and the quadratic statistic generally spends degrees of freedom to remain sensitive to several possible directions. Its observed value must be judged against its own null distribution rather than compared numerically with a burden statistic.

Worked Example: Two Strong Scores in Opposite Directions

Consider a hypothetical two-variant gene with standardized scores \(Z_1=3.0\) and \(Z_2=-3.0\), under the same independent, equal-weight assumptions.

Signed burden. The scores cancel:

$$ Z_B=\frac{3.0+(-3.0)}{\sqrt{2}}=0. $$

Its two-sided standard-normal p-value is 1.00. That result means the combined signed score is exactly at its null center; it does not show that both variant-level scores are small.

Quadratic statistic. Squaring retains the magnitude of each score:

$$ Q=(3.0)^2+(-3.0)^2=9.0+9.0=18.0. $$

Under the example’s independent standard-normal null, \(Q\) follows a chi-square distribution with 2 degrees of freedom. Its upper-tail p-value is \(P(\chi^2_2\geq18)=e^{-18/2}=e^{-9}\approx0.0001234\). Thus the quadratic test detects that the two components are jointly far from zero, even though their signed sum is zero. This evidence concerns association in the gene-level score pattern; it does not establish that either variant causes the trait change.

A Short Justification: Squaring Preserves Heterogeneous Signal

The same point can be expressed in terms of expected score patterns. Suppose standardized scores have an alternative mean vector \(\delta=(\delta_1,\ldots,\delta_m)\), with components representing the directions and magnitudes of the variant-level signals. Ignoring covariance for this illustration, the signed sum has mean \(\sum_j\delta_j\), whereas the quadratic statistic responds to the squared components. Opposing values can make the first quantity vanish while leaving the second large.

$$ \delta=(a,-a) \quad\Longrightarrow\quad \sum_{j=1}^2\delta_j=0, \qquad \sum_{j=1}^2\delta_j^2=2a^2. $$

This calculation explains the cancellation mechanism, but it is not a full power derivation: power also depends on the score covariance, effect sizes, sample size, weights, and the test’s null calibration. In particular, a quadratic statistic responds to random variation as well as true signal. It therefore pays a calibration and variability cost for being sensitive to multiple directions.

Worked Example: A Few Strong Components Amid Small Scores

Suppose a hypothetical four-variant gene has standardized scores \(Z_1=3.0\), \(Z_2=-2.0\), \(Z_3=0.2\), and \(Z_4=0.1\). Use equal weights and the simplified independent null assumptions.

Signed burden. The signed sum is \(3.0-2.0+0.2+0.1=1.3\), so

$$ Z_B=\frac{1.3}{\sqrt{4}}=\frac{1.3}{2}=0.650. $$

The two-sided standard-normal p-value is approximately 0.516. Although two component scores are large, their opposing directions reduce the burden score.

Quadratic statistic. The components contribute

$$ Q=(3.0)^2+(-2.0)^2+(0.2)^2+(0.1)^2 =9.0+4.0+0.04+0.01=13.05. $$

Under the example’s assumptions, \(Q\) has a chi-square null distribution with 4 degrees of freedom. Its upper-tail probability is approximately 0.0110. The quadratic result is more compelling here because it retains the two large component magnitudes instead of allowing their signs to offset one another. The small scores still contribute, but only their small squares, 0.04 and 0.01, respectively.

When the Advantage Can Disappear

A kernel test is not uniformly superior to a burden test. If many variants have effects in a common direction, the signed burden can pool them coherently. In contrast, a quadratic test does not use the shared sign to make a single directional contrast; it evaluates the combined squared evidence against a null distribution that reflects the many component contributions. Under aligned effects, this can make a burden more efficient.

The weighting scheme also matters. If a truly associated variant receives a very small weight, its contribution to a weighted quadratic statistic is reduced. Conversely, including many variants with little or no association can add noise and weaken evidence. Weight choices should be determined in a principled way, rather than selected after inspecting which choice gives the smallest p-value without accounting for that selection.

Correlation among genotypes is another important qualification. When variants are correlated, their score components are correlated too. The raw sum of squared scores can still be formed, but its null distribution is not generally the independent chi-square distribution used in the examples. In a real analysis, the covariance structure and other design features must be reflected in calibration. Failure to do so can produce an incorrect p-value even if the observed statistic was calculated correctly.

Finally, a significant quadratic test is a gene-level association result, not a signed estimate of one gene-wide effect. Because the statistic discards component signs, it does not by itself say which variants are associated, whether their effects increase or decrease the trait, or whether any variant has a causal effect. Those questions require additional analyses and careful interpretation.

Common Mistake

Wrong reasoning: “A kernel statistic squares every score, so it must be more powerful than a burden whenever rare variants are tested.” This confuses protection against cancellation with universal power. A quadratic test retains evidence from opposite signs, but it also has its own null variability and can be less efficient when effects are aligned. Adding unassociated variants or using unsuitable weights can further reduce sensitivity.

Correction: Match the interpretation to the effect pattern the statistic can detect. A signed burden is most naturally suited to a coherent direction under its weights; a quadratic test can capture departures spread across multiple directions. Neither is guaranteed to win for every gene. Their p-values require valid, test-specific null calibration, and a significant kernel result does not reveal a common direction or prove causation.

Key takeaway: A signed burden adds direction-bearing variant scores, so opposing contributions can cancel. A quadratic kernel statistic adds squared score magnitudes, so opposing components can jointly signal association. That sensitivity to heterogeneous directions is a trade-off, not a promise of uniformly greater power.

Check Your Understanding

Answer these questions using the distinction between signed and squared score combinations.

  1. For standardized scores \(Z_1=2\) and \(Z_2=-2\), what are the equal-weight burden sum and the quadratic sum of squares?
  2. Why does a near-zero signed burden not establish that every variant-level score is near zero?
  3. Under what broad effect pattern might a signed burden be more efficient than a quadratic test, and why?
  4. Why can the independent chi-square calibration used in a simplified example be unsuitable for correlated genotypes?
  5. What can and cannot be concluded from a significant gene-level quadratic test?
Clinical Biostats