Why Compare These Score-Building Strategies?
A polygenic score combines genetic variants using estimated effects from a genome-wide association study (GWAS). Two broad strategies make different choices about noisy effects and linkage disequilibrium (LD). Clumping-and-thresholding (C+T) selects a relatively small set of variants, then weights them by their GWAS effect estimates. Bayesian shrinkage uses a prior to pull uncertain effects toward zero while accounting for correlation among variants. Neither strategy guarantees better prediction: performance depends on the discovery data, target population, LD reference, tuning procedure, and validation sample.
For a fair comparison, both scores must start from harmonized variant data and be evaluated on the same individuals using the same outcome and validation split. Alleles must be aligned so that each effect estimate multiplies the dosage of the same effect allele. A mismatch can reverse a contribution and distort either method.
Constructing a C+T Score
C+T has two main operations. Clumping uses an LD reference panel to retain a representative variant from a region of correlated variants, typically prioritizing the smallest GWAS p-value. Thresholding retains clumped variants whose GWAS p-values are at or below a chosen threshold \(t\). The score then sums their target-sample dosages multiplied by their GWAS effect estimates. A threshold is a tuning choice; different values can produce scores containing very different numbers of variants.
This basic recipe assumes compatible variant identifiers, genome build, effect alleles, and effect scales. It also assumes the LD reference is suitable for the target data and that the chosen clumping window and LD cutoff are defensible. Clumping is a practical way to reduce redundant correlated signals, not proof that retained variants are biologically independent. A GWAS p-value measures evidence against a null association, not the probability that an effect is true or the size of its predictive contribution.
Worked Example: Clumping, Thresholding, and a Score
Suppose a hypothetical GWAS reports four variants. Variants A and B have \(r^2=0.64\) in the LD reference panel; C and D are effectively uncorrelated with them and with each other. Use a clumping rule that retains the smallest-p-value variant from the A–B pair, followed by a p-value threshold \(t=0.05\).
| Variant | GWAS effect estimate | GWAS p-value | Target dosage for individual 1 |
|---|---|---|---|
| A | 0.12 | 0.001 | 1 |
| B | 0.10 | 0.020 | 2 |
| C | 0.08 | 0.030 | 0 |
| D | 0.03 | 0.200 | 1 |
A has the smaller p-value in the A–B pair, so clumping retains A and excludes B. C is not correlated with A under the stated setup and has \(p=0.030\leq0.05\), so it is retained. D has \(p=0.200>0.05\), so thresholding excludes it. Thus the score is
The score is 0.12 in the units of the GWAS effect scale. If the outcome and effects were standardized, it is on a standardized-outcome scale; it is not automatically an absolute disease risk. Under a stricter threshold of \(t=0.01\), only A remains, and this individual's score is still 0.12 because the C dosage is zero. For an individual carrying C, the two thresholds could give different scores.
Bayesian Shrinkage: A Small Summary-Data Derivation
Bayesian methods use a prior distribution to regularize effect estimates. A simple illustration makes the role of LD explicit. Let \(\boldsymbol{\beta}\) be the vector of joint variant effects and \(\mathbf{b}\) the vector of marginal GWAS effect estimates. Suppose the summary-data likelihood is
where \(R\) is the LD correlation matrix, \(v\) is a sampling-variance scale, and \(\tau^2\) controls the prior spread of effects. This is a simplified, specified model rather than a universal likelihood for every GWAS. It presumes the summary estimates and LD reference are compatible and that this covariance approximation is adequate. The posterior mean is also the posterior mode in this Gaussian model.
The likelihood contributes precision \(R/v\) and linear term \(\mathbf{b}/v\); the prior contributes precision \(I/\tau^2\). Adding them gives posterior precision \(R/v+I/\tau^2\). Multiplying its inverse by the linear term and multiplying numerator and denominator by \(v\) yields
This expression illustrates two features: the estimated effects are jointly adjusted through \(R\), and the prior adds a positive diagonal penalty that shrinks estimates. More elaborate Bayesian score methods can use different priors, LD models, or mixtures of effect-size distributions; they should not be treated as identical to this simple Gaussian example.
Worked Example: Two Correlated Variants Under Bayesian Shrinkage
Consider two hypothetical variants with LD matrix \(R=\begin{pmatrix}1&0.80\\0.80&1\end{pmatrix}\). Their marginal GWAS estimates are \(\mathbf{b}=(0.12,0.10)^\mathsf{T}\). Take \(v=0.01\) and \(\tau^2=0.0225\), so \(v/\tau^2=0.444444\ldots\). The model assumptions are the Gaussian summary-data likelihood and independent, zero-mean Gaussian prior just stated; the LD matrix is positive definite because its determinant is \(1-0.80^2=0.36>0\).
The posterior mean solves the following linear system. Displaying the matrix to four decimal places gives the corresponding rounded calculation:
Using the displayed rounded matrix consistently, its determinant is \(1.4444^2-0.80^2=1.44629136\), or 1.4463 to four decimal places. Its inverse therefore gives
The posterior-mean weights are both smaller than the marginal estimates, and the LD adjustment affects them jointly. For target dosages \(g_1=1\) and \(g_2=2\), the score is \(S=(1)(0.06453)+(2)(0.03349)=0.1315\), in the corresponding outcome-effect units. The amount of shrinkage depends on the chosen prior scale and likelihood; it is not a data-free correction.
Tuning and Validation Without Leakage
C+T may require choices about the p-value threshold, clumping window, and LD cutoff. Bayesian methods require choices such as prior scale or other prior parameters, and may require computational settings. These choices should be made using training data or an inner validation procedure. A final held-out test set should be used only after choosing the method and settings; repeatedly selecting settings based on test performance makes the reported performance optimistic.
A suitable comparison fits or constructs each candidate using the same discovery GWAS and allele conventions, tunes both using comparable validation information, and evaluates both on the same untouched target test individuals. The outcome measure should match the task. For a continuous outcome, mean squared error or correlation may be useful; for a binary outcome, discrimination and calibration measures answer different questions. For example, a larger area under the ROC curve does not establish good calibration. The earlier material on discrimination and calibration distinguishes these prediction properties.
Worked Example: Comparing Held-Out Prediction Error
Suppose two fully specified scores were selected using training and inner-validation data, then used to make predictions for the same six hypothetical test individuals. The table gives outcome values and predictions on the same outcome scale. Assume lower mean squared error (MSE) is the chosen comparison criterion.
| Individual | Observed outcome | C+T prediction | Bayesian prediction |
|---|---|---|---|
| 1 | 0.0 | 0.0 | 0.0 |
| 2 | 1.0 | 1.0 | 0.8 |
| 3 | 2.0 | 1.0 | 1.6 |
| 4 | 1.0 | 2.0 | 1.2 |
| 5 | 2.0 | 2.0 | 2.1 |
| 6 | 4.0 | 3.0 | 3.5 |
For C+T, the squared errors are \(0,0,1,1,0,1\), which sum to 3. Thus \(\mathrm{MSE}_{C+T}=3/6=0.5000\), and \(\mathrm{RMSE}_{C+T}=\sqrt{0.5000}=0.7071\) outcome units. For the Bayesian score, the squared errors are \(0,0.04,0.16,0.04,0.01,0.25\), which sum to 0.50. Therefore \(\mathrm{MSE}_{Bayes}=0.50/6=0.08333\), and \(\mathrm{RMSE}_{Bayes}=\sqrt{0.08333}=0.2887\) outcome units.
In this hypothetical test sample, Bayesian predictions have the lower MSE by \(0.5000-0.08333=0.4167\) squared outcome units. This is a descriptive comparison on six cases, not evidence that Bayesian scoring will always perform better or that the difference is statistically conclusive. A larger, representative test sample and uncertainty assessment would be needed for a stronger generalization.
Computational Trade-Offs, Diagnostics, and Limits
C+T is often computationally light after GWAS summary statistics and an LD reference are available: clumping can be performed once, then several p-value thresholds can be scored by summation. Bayesian methods can require more computation because they account for LD while estimating many weights. The exact cost varies substantially by method, implementation, number of variants, and whether computation can be parallelized. Bayesian shrinkage is not automatically more accurate simply because it is more complex; C+T is not automatically safer simply because its score is sparse.
Useful checks include confirming allele alignment and variant matching, inspecting the number of retained C+T variants at each threshold, and checking whether clumping decisions are stable to reasonable LD-reference choices. For Bayesian scores, check that the LD matrix is compatible with the analyzed variants and is numerically usable; strong mismatch or poor conditioning can undermine estimates. For both methods, inspect score distributions and prediction performance across relevant target subgroups, while interpreting subgroup differences in light of sample size and population structure.
Unexpectedly extreme scores, a sharp performance drop between validation and test data, or large changes after minor tuning adjustments can indicate overfitting, allele errors, data leakage, or a discovery-to-target mismatch. Differences in allele frequency and LD can change how well discovery weights transfer. A score's apparent performance also depends on the target population and outcome definition; validation in one sample does not establish equal performance elsewhere.
| Feature | Clumping-and-thresholding | Bayesian shrinkage |
|---|---|---|
| Variant handling | Removes correlated variants through a clumping rule, then applies a p-value cutoff | Usually retains many variants and jointly adjusts weights using an LD model |
| Regularization | Mostly discrete selection: variants are kept or assigned zero weight | Continuous shrinkage governed by a prior or related regularization model |
| Main tuning choices | Threshold and clumping parameters | Prior or method-specific parameters and computational settings |
| Practical trade-off | Simple and often fast, but results can change with the cutoff | Can use LD information more fully, but requires suitable modeling and may be computationally heavier |
Common Mistakes
- Choosing the winner on the test set. Trying many thresholds or priors against test outcomes and reporting the best result turns the test set into tuning data. Choose settings first, then evaluate once on held-out data.
- Treating clumping as complete LD correction. Clumping reduces redundancy under a specified reference and rule; it does not remove every correlation or guarantee that the reference matches the target.
- Assuming Bayesian weights are automatically unbiased or optimal. Posterior weights depend on the likelihood, prior, and LD inputs. A misspecified prior or mismatched LD reference can harm prediction.
- Comparing different samples or scales. Validation metrics are most interpretable when the candidate scores are compared on the same individuals, outcome, and scale, with the same evaluation procedure.
- Equating a better metric with better clinical decisions. Prediction metrics summarize particular aspects of performance. Their implications for decisions depend on the outcome, thresholds, and context.
Check Your Understanding
Answer each question, then compare your reasoning with the solutions.
- Two variants have \(r^2=0.49\), and their GWAS p-values are 0.004 and 0.03. Under a clumping rule that retains the smaller-p-value variant, which one represents the pair?
- A clumped variant has p-value 0.08. Is it included under threshold \(t=0.05\), and what happens to its C+T weight?
- In the Gaussian summary-data model, what qualitative effect does increasing \(\tau^2\) have on the prior and shrinkage, holding the data and \(v\) fixed?
- A researcher tries 30 thresholds and reports the one with the lowest MSE on the final test sample. What is the problem, and what is the correction?
Solutions. (1) The variant with p-value 0.004 is retained as the representative under the stated rule. (2) It is excluded because \(0.08>0.05\), so its C+T weight is zero. (3) A larger \(\tau^2\) makes the prior more diffuse; \(v/\tau^2\) decreases, so the diagonal penalty is smaller and shrinkage is weaker in this model. (4) Selecting among thresholds using final test MSE leaks test information into tuning and makes the selected performance optimistic. Choose the threshold using training or inner-validation data, then evaluate the fixed choice on an untouched test sample.