Variance Explained (R²) is a statistical metric representing the proportion of phenotypic variance in a target dataset accounted for by a polygenic risk score (PRS). It quantifies the degree to which the aggregated genetic variants in the model predict the observed trait or disease outcome, directly measuring the model's overall predictive power on a scale from 0 to 1.
Glossary
Variance Explained (R²)

What is Variance Explained (R²)?
Variance Explained (R²) quantifies the proportion of phenotypic variance in a target dataset that is accounted for by a polygenic risk score, serving as the primary measure of a model's overall predictive power.
In PRS modeling, R² is often calculated on the liability scale for binary traits to estimate the variance explained in the underlying continuous risk distribution. This metric is fundamentally bounded by SNP heritability, as a PRS cannot explain more variance than the total additive genetic contribution to the trait, and is used to benchmark different PRS construction methods such as LDpred2 and PRS-CS.
Frequently Asked Questions
Clarifying the statistical metric that quantifies how well a polygenic risk score captures the heritable component of a complex trait.
Variance Explained (R²) is the proportion of phenotypic variance in a target dataset that is statistically accounted for by the polygenic risk score (PRS). In quantitative genetics, it directly quantifies the predictive power of a model by measuring how much the dispersion of a trait—such as body mass index or height—is reduced when conditioning on the genetic score. A higher R² indicates that the PRS captures a larger fraction of the SNP heritability tagged by the assayed variants. It is calculated as the squared Pearson correlation between the predicted phenotype and the observed phenotype in an independent validation cohort, ensuring the metric is not inflated by overfitting to the discovery sample.
Variance Explained vs. Other Key PRS Metrics
A comparison of Variance Explained (R²) against other common metrics used to evaluate the performance and clinical utility of a Polygenic Risk Score.
| Metric | Variance Explained (R²) | AUC-ROC | Odds Ratio (OR) |
|---|---|---|---|
Core Question Answered | How much phenotypic variance does the score capture? | How well does the score rank cases vs. controls? | How much does risk increase per PRS unit? |
Primary Interpretation | Model goodness-of-fit and total predictive power | Discriminative ability | Effect size and relative risk |
Scale | 0 to 1 (or percentage) | 0.5 to 1.0 | 1 to infinity |
Dependence on Disease Prevalence | Highly dependent | Independent | Independent |
Direct Clinical Utility Assessment | |||
Sensitive to Absolute Risk Calibration | |||
Primary Use Case | Model development and heritability estimation | Population screening and risk stratification | Communicating individual-level risk impact |
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Key Properties of R² in Genomic Prediction
The coefficient of determination (R²) is the primary metric for quantifying how much phenotypic variation a polygenic risk score captures. Understanding its properties is essential for evaluating model utility and comparing PRS methodologies.
Definition and Scale
R² represents the proportion of phenotypic variance in the target dataset that is accounted for by the PRS. It is calculated as the squared Pearson correlation between the predicted genetic risk and the observed phenotype in a continuous trait setting.
- Scale: Ranges from 0 to 1 (or 0% to 100%)
- Interpretation: An R² of 0.05 means the PRS explains 5% of the variance in the trait
- Upper bound: Constrained by SNP heritability (h²_SNP), which is the maximum variance explainable by all common SNPs
- Binary traits: For case-control studies, a pseudo-R² such as Nagelkerke's R² is often reported on the liability scale
Relationship to AUC-ROC
While R² measures variance explained, AUC-ROC measures discriminative ability. These metrics are mathematically related but capture distinct aspects of predictive performance.
- For binary traits, R² on the liability scale can be derived from AUC using the variance of the standard logistic distribution (π²/3)
- A PRS with a modest R² (e.g., 2-5%) can still achieve a clinically meaningful AUC when the trait has high heritability
- Key distinction: R² is sensitive to the scale of the phenotype, while AUC is rank-based and scale-invariant
- Both metrics should be reported together for a complete picture of model performance
Sample Size Dependence
R² estimates are highly sensitive to the sample size of the validation cohort and the discovery GWAS used to derive effect sizes.
- Winner's curse: R² in the discovery dataset is often inflated due to overfitting; out-of-sample validation is mandatory
- As GWAS sample sizes increase, the precision of effect size estimates improves, directly increasing the achievable R²
- Standard error: Confidence intervals around R² narrow with larger validation cohorts, enabling more precise comparisons between PRS methods
- Small validation samples can produce noisy, unreliable R² estimates that fail to generalize
Ancestry and Population Stratification
R² is not a universal constant for a given PRS; it is population-specific and degrades when the validation cohort's ancestry diverges from the GWAS discovery population.
- Cross-ancestry portability: R² typically drops by 2-5 fold when applying a European-derived PRS to non-European populations
- Differences in linkage disequilibrium (LD) patterns and allele frequencies between populations reduce predictive accuracy
- Population stratification can artificially inflate R² if not corrected via principal components or linear mixed models
- Reporting ancestry-stratified R² values is essential for transparent evaluation of PRS equity
Incremental R² and Clinical Utility
The incremental R² quantifies the additional variance explained when a PRS is added to an existing clinical model, directly measuring its practical value.
- ΔR² = R²(clinical + PRS) - R²(clinical only)
- Even a small incremental R² can translate to meaningful net reclassification improvement (NRI) in risk categories
- For traits with established non-genetic risk factors (e.g., cardiovascular disease), the incremental R² over models like the Framingham Risk Score is the key metric
- Absolute risk models combine baseline incidence rates with PRS-derived relative risks to produce clinically actionable probabilities
Comparison with Other Metrics
R² should be interpreted alongside complementary metrics to avoid over-reliance on a single summary statistic.
- Mean squared error (MSE): Measures absolute prediction error; R² is a scaled, relative metric
- Correlation coefficient (r): R² is simply r² for continuous traits, but r retains directional information
- Odds ratio per standard deviation: For binary traits, this quantifies risk discrimination in epidemiological terms
- Calibration slope: Assesses whether predicted risks match observed risks across the probability spectrum; a model can have high R² but poor calibration
- Report multiple metrics to satisfy both statistical rigor and clinical interpretability requirements

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us