Tutorials › Statistical Genetics › Calibrating SKAT with Few Cases or Small Samples

Kernel Tests and SKAT Methods · Tutorial 453 of 989

Calibrating SKAT with Few Cases or Small Samples

You will diagnose when asymptotic SKAT p-values need checking and build a null resampling procedure matched to the fitted model and study design.

Advanced 13 min read

What You'll Learn

  • Explain why the mixture chi-square reference distribution can be inaccurate with few cases or sparse genotypes
  • Identify the null model and quantities held fixed in a SKAT calibration
  • Implement a parametric bootstrap for a fitted binary-trait model
  • Distinguish ordinary label permutation from resampling that preserves covariate structure or case counts
  • Calculate empirical p-values and assess their Monte Carlo precision
  • Recognize when a resampling result still depends on model adequacy

Why Calibration Needs Attention

SKAT assesses whether a set of genetic variants is associated with a trait by comparing a kernel-based score statistic with its null distribution. For binary traits, the commonly used reference is a weighted mixture of chi-square distributions derived using a large-sample approximation. With few cases, a small total sample, or highly imbalanced case and control counts, that approximation may be inaccurate. The issue is calibration: under the null hypothesis, does the procedure report small p-values at the intended frequency?

The approximation can be strained when the binary outcome contains little information for estimating the null model, or when rare variants produce scores dominated by only a few carriers. A mathematically computed mixture-distribution p-value is not necessarily a well-calibrated small-sample p-value. Resampling can provide a useful check, but only if the simulated or permuted outcomes are generated under a null model that matches the analysis and sampling design.

Definition: Calibration is agreement between a test’s reported significance levels and its actual null rejection frequencies. For example, a test calibrated at level \(\alpha=0.05\) rejects the null in about 5% of repeated samples generated under the null. A resampling calibration estimates the null distribution of the chosen statistic by repeatedly generating outcomes under a fitted null model, or by using a valid null permutation scheme.

The Asymptotic SKAT Reference

Let \(Y_i\) be the binary outcome for individual \(i\), let \(X\) be the \(n\)-by-\(q\) matrix of covariates including an intercept, and let \(G\) be the \(n\)-by-\(m\) genotype matrix for the variants in the set. Let \(W\) be the diagonal matrix of prespecified variant weights. Under the null model with no genetic-set effect, fit a logistic regression and write the fitted probabilities as \(\hat{\mu}_i\). Define \(r=Y-\hat{\mu}\), \(V=\operatorname{diag}\{\hat{\mu}_i(1-\hat{\mu}_i)\}\), and the weighted genotype kernel \(K=GWWG'\). The SKAT score statistic considered here is \(Q=r'Kr\).

The standard large-sample reference uses the covariate-adjusted score covariance \(P=V-VX(X'VX)^{-1}X'V\). When the null model is identifiable and \(X'VX\) is invertible, \(P\) accounts for estimating the covariate effects. The eigenvalues \(\lambda_1,\ldots,\lambda_n\) of \(K^{1/2}PK^{1/2}\), including zero eigenvalues, determine the reference distribution.

$$ Q \ \overset{\text{approx.}}{\sim}\ \sum_{j=1}^{n}\lambda_j\chi^2_{1,j} $$

Here the \(\chi^2_{1,j}\) variables are independent chi-square random variables with one degree of freedom. This is an approximation, not a finite-sample identity. It relies on the score behaving approximately like a multivariate normal random variable under the null and on the fitted nuisance parameters being sufficiently well behaved. With sparse outcomes or rare genotype patterns, those approximations may be poor even if the mixture calculation itself is carried out accurately.

Why the Mixture Approximation Can Fail

The quadratic-form argument gives a useful justification for the mixture reference. Under the null, approximate the covariate-adjusted score residual by a mean-zero normal vector \(e\) with covariance \(P\). Then \(Q\) is approximated by \(e'Ke\). Write \(e=P^{1/2}z\), where \(z\) has independent standard normal components. The statistic becomes \(z'P^{1/2}KP^{1/2}z\). Diagonalizing this symmetric matrix expresses the quadratic form as a sum of eigenvalues times independent squared standard normals, which are \(\chi^2_1\) variables.

The weak point in small samples is the normal approximation for the score and, in practice, the estimation of the null model used to construct it. Binary outcomes are discrete; a few cases can make the score distribution far from normal. Rare-variant kernels can also concentrate the statistic on a small number of carriers. Resampling addresses the reference-distribution approximation by generating new outcomes under the null and recalculating the statistic. It does not repair a misspecified null model, unstable fitting, incorrect genotype data, or an unsuitable sampling scheme.

Worked Example: Comparing an Asymptotic and a Resampled P-Value

Suppose a hypothetical study has 40 cases and 160 controls, and tests a prespecified set of six variants using a binary-trait SKAT model adjusted for age and sex. The asymptotic mixture calculation gives \(p=0.0018\). A parametric null bootstrap uses \(B=9{,}999\) replicates, and 36 replicate statistics are at least as large as the observed statistic.

Using the usual plus-one estimate, the resampled p-value is

$$ \hat{p}_{\mathrm{boot}} =\frac{b+1}{B+1} =\frac{36+1}{9{,}999+1} =\frac{37}{10{,}000} =0.0037. $$

The resampled estimate is larger than the asymptotic p-value. This difference is a warning that the tail probability may be sensitive to the calibration method; it is not proof that either model is correct. At a prespecified level of \(\alpha=0.01\), both estimates are below the threshold, while at \(\alpha=0.002\), they lead to different decisions. The analysis should report which calibration was used and why, rather than treating the more extreme p-value as automatically preferable.

Parametric Null Resampling

For a binary trait, a parametric bootstrap generates outcomes from the fitted null model while holding the observed genotypes and covariates fixed. This estimates a null distribution conditional on those observed design variables. The model and the resampling scheme must correspond: for example, use the same covariates, link function, and case-control sampling constraints that define the test being calibrated.

1
Fit the null model.
Fit the binary-trait model without the genetic-set effect. Record its fitted probabilities or, for a design-conditioned method, the fitted parameters needed to generate outcomes under the null.
2
Generate a null outcome.
Draw a new outcome under that fitted null model. Preserve any fixed totals, matched sets, or other design constraints required by the sampling scheme.
3
Repeat the analysis.
Fit the null model to the generated outcome as prescribed by the procedure, calculate the SKAT statistic using the same variants, weights, and covariates, and store the statistic.
4
Estimate the tail probability.
Compare the replicate statistics with the observed statistic and calculate the empirical p-value. Report the number of replicates and, when relevant, the uncertainty from finite Monte Carlo sampling.

In an independent Bernoulli logistic model with covariates fixed, the basic generation step draws \(Y_i^*\) independently from a Bernoulli distribution with success probability \(\hat{\mu}_i\). The null model is refit in each replicate when the test procedure estimates its nuisance parameters from the outcome; the same fitting and score calculation used for the observed data are then repeated. This makes the resampling reproduce the analysis pipeline rather than compare the observed statistic with a distribution based on a different fitting rule.

This plug-in bootstrap is not an exact test: it treats estimated null parameters as if they were the generating values. It can nevertheless be a useful finite-sample calibration check when the fitted model is stable and appropriate. If null fits repeatedly fail, or fitted probabilities are extreme because of sparse covariate patterns or separation, the bootstrap does not make those problems disappear. They require attention to model specification and estimation.

Worked Example: Preserving a Fixed Case Count

Consider a hypothetical study with 10 individuals in a low-risk covariate group and 10 in a high-risk group. Under a fitted null logistic model, the estimated disease probabilities are 0.02 and 0.20, respectively. The corresponding odds are \(0.02/0.98\) and \(0.20/0.80\), so the high-risk to low-risk odds ratio is

$$ \frac{0.20/0.80}{0.02/0.98}=12.25. $$

Suppose the study design fixes the total number of cases at two. Unrestricted permutation of the two case labels among all 20 individuals treats every pair as equally likely. Under the fitted null model, that is inappropriate: the covariate groups have different disease odds. To see the size of the difference, the conditional probability that both cases fall in the high-risk group is

$$ \frac{\binom{10}{2}(12.25)^2} {\binom{10}{2}(12.25)^2+(10)(10)(12.25)+\binom{10}{2}} = \frac{6{,}752.8}{8{,}022.8} \approx 0.8417. $$

The three denominator terms correspond to two cases in the high-risk group, one in each group, and two in the low-risk group. Under unrestricted permutation, the probability of both cases being in the high-risk group would instead be \(\binom{10}{2}/\binom{20}{2}=45/190\approx0.2368\). Thus unrestricted permutation would generate a substantially different null distribution.

For a design that fixes the case count, the resampling should condition on that total and use the fitted covariate effects to weight possible label assignments. For matched or stratified designs, it should also preserve the relevant matched sets or stratum-specific case counts. Each resampled outcome is then used to repeat the specified SKAT analysis. The example’s probability calculation does not itself give a SKAT p-value; it shows why the null generator must reflect the covariate structure.

Permutation Is Not Automatically Valid

A permutation test obtains a null distribution by rearranging observed outcomes while leaving genotypes and covariates fixed. It is valid only when the null makes the rearranged outcomes exchangeable under the chosen permutation scheme. With an intercept-only model and a design that fixes the number of cases, uniform permutation of case labels can be appropriate under the null of no association, subject to the study design. With covariates that predict the outcome, arbitrary label permutation generally breaks the relationship between outcomes and covariates and is not a valid substitute for model-based resampling.

Permutation within strata can be appropriate when outcomes are exchangeable within those strata under the null. For matched sets, the permissible rearrangements must respect the matching structure. Simply permuting fitted residuals from a logistic regression is not automatically exact: binary residuals are not generally exchangeable, particularly when fitted probabilities differ. When the design imposes fixed case counts or matching, use a null generator that respects those constraints rather than assuming independent Bernoulli outcomes.

Worked Example: Reporting the Resolution of a Resampled P-Value

Suppose \(B=999\) valid null replicates are generated and two replicate statistics are at least as large as the observed statistic. The plus-one estimate is

$$ \hat{p}_{\mathrm{boot}}=\frac{2+1}{999+1}=0.0030. $$

The smallest attainable plus-one estimate with 999 replicates is \(1/1000=0.0010\); a result based on this number of replicates cannot resolve much smaller tail probabilities reliably. A rough Monte Carlo standard error, treating the exceedance frequency as binomial, is

$$ SE_{\mathrm{MC}}\approx \sqrt{\frac{\hat{p}_{\mathrm{boot}}(1-\hat{p}_{\mathrm{boot}})}{B}} = \sqrt{\frac{0.0030(0.9970)}{999}} \approx 0.00173. $$

This uncertainty is substantial relative to the estimate 0.0030. More replicates can improve Monte Carlo precision, but cannot correct a misspecified null model or an invalid resampling design. In a report, state the replicate count and avoid presenting a small empirical p-value with more precision than the simulation supports.

Practical Choices and Common Pitfalls

Before choosing a calibration, identify what the study design and fitted null model require. The following distinctions are central:

SituationResampling choiceKey condition
Independent binary outcomes modeled by a fitted logistic nullParametric bootstrap from fitted null probabilitiesThe model and fitting procedure are suitable, and the simulation reflects the sampling process
Fixed case count or matched/stratified samplingConditional resampling that preserves the required totals or setsThe conditional null distribution matches the design and fitted covariate effects
Exchangeable outcomes under the nullPermutation within the exchangeable unitsThe selected permutations are genuinely valid under the null

A common mistake is to say, “There are only a few cases, so I will permute case labels at random.” That reasoning addresses the small sample but ignores whether labels are exchangeable. If covariates predict case status or the design fixes case counts within groups, unrestricted permutation generates outcomes under the wrong null. The correction is to use resampling from the fitted null model or a conditional permutation scheme that preserves the relevant design constraints.

Another pitfall is to treat a bootstrap p-value as exact or as proof of association. A resampled p-value is evidence against the specified null model, conditional on the resampling assumptions and observed design variables. It does not establish causation, and it does not validate the model, variant data, or study design. Calibration should be selected before interpreting the result, with any instability and simulation uncertainty reported transparently.

Key takeaway: The SKAT mixture chi-square reference is asymptotic. With few cases or small samples, check whether its approximation is plausible and, when needed, resample under the fitted null using a scheme that preserves covariates and the study’s case-control constraints. A larger number of replicates improves numerical precision, not the validity of an unsuitable null generator.

Check Your Understanding

Answer each question by referring to the null model and sampling design, not only to the number of cases.

  1. Why can the mixture chi-square reference be inaccurate when a binary-trait study has few cases?
  2. In a parametric null bootstrap, which quantities are held fixed, and which outcomes are regenerated?
  3. When can uniform permutation of case labels be appropriate, and why can covariate-adjusted analyses require a different scheme?
  4. A study fixes the case count and matches cases and controls in sets. What features must a valid resampling scheme preserve?
  5. What does the plus-one p-value estimate calculate, and what does increasing the number of replicates improve?
  6. Why does resampling not protect a SKAT analysis from a misspecified or unstable null model?
Clinical Biostats