Tutorials › Statistical Genetics › Validation Designs for Portability Comparisons

Ancestry Portability of Scores · Tutorial 749 of 989

Validation Designs for Portability Comparisons

Build validation comparisons that assess score portability across ancestry groups without introducing avoidable differences in data, sampling, or analysis.

Advanced 12 min read

What You'll Learn

  • Define an independent validation set and distinguish external validation from internal data splitting.
  • Plan ancestry-stratified comparisons around a prespecified target population and outcome.
  • Harmonize phenotype definitions, measurement, follow-up, and control selection across groups.
  • Prevent information leakage from participant overlap and related individuals.
  • Recognize how case-control sampling affects interpretation of performance measures.
  • Report design choices that make cross-ancestry comparisons interpretable.

Why Validation Design Matters

A score can appear to perform differently across ancestry groups because of differences in the score’s transportability, but also because the groups were measured or sampled differently. For example, one group might have an outcome confirmed through clinical records while another is classified from self-report; one group might contain many relatives of people used to estimate the score’s weights; or one validation set might include people whose data helped select the score. These design differences can distort a comparison before any performance statistic is calculated.

A portability comparison therefore needs more than a score and two sets of results. It needs a prespecified validation design: a clear target population, a fixed score, comparable outcome ascertainment, and explicit safeguards against overlap and leakage. The goal is to make the contrast between ancestry strata reflect performance in those target populations rather than avoidable differences in how the validation data were assembled.

Definition: An independent validation analysis evaluates a fully specified score in participants whose outcome data were not used to estimate, select, or tune that score. An ancestry-stratified validation analysis applies the same prespecified validation protocol within each defined ancestry stratum and reports the results separately. Independence refers to the information used to develop or select the score; it does not, by itself, guarantee that observations within a validation stratum are unrelated.

Specify the Comparison Before Looking at Results

Let \(S_i\) denote the score for participant \(i\), \(Y_i\) the outcome under study, and \(A_i\) the participant’s prespecified ancestry stratum. Let \(D\) denote the data used to develop or select the score and \(V\) the validation data. A clean validation design fixes the score using \(D\), then evaluates it in \(V\) without using validation outcomes to revise the score or choose which result to report.

Before accessing validation outcomes, specify the target populations, ancestry-stratum definitions, outcome definition, assessment window, score version, performance measures, inclusion rules, and primary comparison. The stratum definitions should be appropriate to the target-population question, rather than created after examining which grouping produces the most favorable results. Ancestry labels and genetic principal components can assist with defining and describing populations, but no single label should be treated as a complete description of genetic or social variation.

The same score means the same weights and allele coding are applied in every stratum. If the score is recalibrated or otherwise modified separately by ancestry, that is a different analysis from validating a fixed transported score. A study can report both questions, but should identify them as separate analyses and specify each procedure in advance. Similarly, score standardization should be planned and described: standardizing within each stratum changes the unit of a score, even though a positive linear rescaling does not change its rank ordering.

1
Define the target.
State who each ancestry stratum is intended to represent and how membership is assigned.
2
Freeze the analysis.
Record the score version, outcome, performance measures, exclusions, and planned handling of overlap and relatedness before inspecting validation results.
3
Assemble comparable data.
Apply consistent genotyping, phenotype, follow-up, and quality-control rules across strata, documenting any unavoidable differences.
4
Evaluate by stratum.
Apply the fixed score and the same analysis definitions separately in each stratum, then compare like with like.

Independence, Overlap, and Relatedness

An independent validation set should not contribute participants’ outcomes to the score’s weight estimation, hyperparameter selection, feature selection, or choice among competing score versions. Overlap can arise when discovery and validation samples draw on the same biobank, when cohorts are combined in a meta-analysis, or when a nominally separate dataset contains previously analyzed participants. A sample may be independent at the cohort-name level but not at the participant level.

The practical safeguard is to compare participant identifiers across all contributing sources and document the overlap checks. If participants are shared, remove overlapping individuals from validation or use a genuinely independent dataset. If removal is not possible, clearly characterize the overlap and avoid presenting the result as fully independent. Outcome-informed choices made using validation data also compromise independence, even when no participant appears in the discovery sample.

Relatedness requires a separate decision. A validation set can contain relatives without having been used to develop the score, but close relatives can make a random individual-level split misleading: a person in the evaluation set may have a close relative in the data used for score selection or tuning. For an internal holdout, assign whole family or relatedness clusters to one side of the split. For an external validation sample, either define a sufficiently unrelated analytic set for the primary comparison or retain relatives and use methods that account for clustering when quantifying uncertainty. State which approach was used; do not imply that relatives were removed if they were merely accounted for in an analysis.

Worked Example: Removing Participant Overlap

A research team plans to validate a fixed score in 600 participants from a new cohort. A data-source audit finds that 75 of these participants also contributed outcome data to the score-development analysis. The team’s primary goal is independent validation.

The independent validation count is the total proposed validation count minus the overlapping participants:

$$ n_{\text{independent}} = 600 - 75 = 525. $$

The team removes the 75 overlapping participants before applying the validation protocol, leaving 525 participants. It then reports that the primary analysis is based on those 525 nonoverlapping participants. The count alone does not establish that the remaining participants are unrelated; relatedness is checked separately. Nor should the team use outcomes from the excluded participants to choose a score version and then call the choice independent of validation.

Make Phenotypes and Sampling Comparable

A common outcome label is not enough to ensure a common phenotype. Comparability depends on the operational definition: diagnostic criteria, data source, assessment procedure, time horizon, and rules for deciding who is a case or control. Apply the same definition across ancestry strata where possible. If measurements come from different sources, describe the difference and assess whether it could change who is classified as a case or control.

Controls also need a clear definition. For a disease outcome, controls should meet the prespecified criteria for being classified as noncases over the relevant assessment window. If age, follow-up time, or screening intensity affects the chance that disease has been detected, those factors may make nominal controls differ across strata. Excluding prevalent cases, requiring adequate follow-up, or defining disease-free status at a common time point may be necessary for the intended target question.

Ascertainment can differ even when the phenotype definition is identical. A clinic-based sample, a population cohort, and a case-control study can represent different participant distributions. In a case-control study, the proportion of cases is often set by design rather than reflecting population prevalence. Consequently, quantities that depend on prevalence, such as positive predictive value, cannot be interpreted as population values from the sampled case fraction alone. For a fair comparison, use the same sampling logic across strata or explicitly account for differing sampling schemes when the target quantity requires it.

One useful distinction is between ranking and prevalence-dependent quantities. Under specific conditions, case-control sampling can preserve a ranking measure such as the area under the receiver operating characteristic curve (AUC), while changing the case proportion and therefore predictive values. The conditions matter: cases and controls must represent the corresponding target case and noncase score distributions, and selection into the sample must not further depend on score within outcome group.

Why Case-Control Sampling Can Preserve AUC but Change Predictive Value

For a score \(S\), the AUC can be defined as the probability that a randomly selected case has a higher score than a randomly selected noncase, with a standard half-credit convention for ties. If sampling depends only on outcome status, the sampled score distribution among cases remains the case score distribution, and the sampled score distribution among controls remains the noncase score distribution. The case-control sampling fractions therefore do not change the pairwise comparison defining AUC.

In contrast, positive predictive value depends on the proportion of cases in the population being evaluated. If a threshold has sensitivity \(Se\), specificity \(Sp\), and disease prevalence \(\pi\), then Bayes’ rule gives:

$$ PPV = \frac{Se\pi}{Se\pi+(1-Sp)(1-\pi)}. $$

Changing the case fraction changes \(\pi\) in this expression. Thus a case-control sample may support a comparison of ranking under the stated assumptions, but its observed positive predictive value should not be reported as a population predictive value without appropriate sampling information and adjustment.

Worked Example: Interpreting a Case-Control Validation Sample

Suppose a hypothetical target population has disease prevalence \(\pi=0.10\). A case-control validation sample contains 200 cases and 200 controls, so its sampled case fraction is \(200/(200+200)=0.50\). At a fixed score threshold, suppose sensitivity is \(0.70\) and specificity is \(0.80\). Assume cases and controls represent the corresponding target outcome groups and that selection within each outcome group does not depend on the score.

In the sample, the positive predictive value is:

$$ PPV_{\text{sample}} = \frac{0.70(0.50)}{0.70(0.50)+(1-0.80)(1-0.50)} = \frac{0.35}{0.35+0.10} = 0.778. $$

This value reflects the sample’s 50% case fraction. For the target population with 10% prevalence, the corresponding calculation is:

$$ PPV_{\text{target}} = \frac{0.70(0.10)}{0.70(0.10)+(1-0.80)(1-0.10)} = \frac{0.07}{0.07+0.18} = 0.280. $$

The two positive predictive values differ because the prevalence differs, not because the sensitivity or specificity changed in this calculation. The sample PPV of 77.8% is therefore not a population PPV for the stated target population. AUC comparisons may still be meaningful under the stated outcome-dependent sampling conditions, but those conditions should be checked separately for each ancestry stratum.

Worked Design for a Direct Portability Comparison

A useful comparison applies the same outcome and analysis rules in every stratum. If one group’s outcome is assessed over a different time horizon, or if one group’s controls are selected differently, the resulting difference cannot be attributed solely to score portability. The design should state whether the target is a common clinical population, a particular cohort, or another well-defined population, because conclusions apply to the populations represented by the validation data.

Worked Example: Comparing Two Ancestry-Stratified AUCs

Consider a hypothetical study validating the same frozen score in two ancestry strata. Both strata use the same clinical definition of a disease diagnosed within five years, the same genotyping and score calculation rules, and controls with adequate follow-up and no diagnosis during that window. Participants are nonoverlapping with the discovery data, and the primary analysis uses the same case-control sampling framework in each stratum. Suppose the observed AUC is \(0.78\) in stratum 1 and \(0.70\) in stratum 2.

The descriptive contrast, defined as the AUC in stratum 1 minus the AUC in stratum 2, is:

$$ \Delta_{\mathrm{AUC}} = 0.78 - 0.70 = 0.08. $$

Under this design, the result describes an 0.08 higher AUC in stratum 1 for this outcome, score, and validation setting. It does not establish why the AUCs differ, and it does not show that ancestry itself caused the difference. Nor does the contrast alone establish whether the difference is distinguishable from sampling variability; that requires an uncertainty analysis. The design supports interpretation by keeping the outcome definition, time window, score, and sampling framework aligned.

Common Mistakes and Practical Reporting

  • Calling a cohort independent because it has a different name. Participant-level overlap can remain across datasets. Check identifiers and document exclusions or unresolved overlap.
  • Splitting relatives at random between development and evaluation. A close relative in the development data can make an internal holdout less independent. Allocate related individuals together, or state and address relatedness in the analysis.
  • Using similar labels for different outcomes. “Disease case” may mean a confirmed diagnosis in one stratum and a self-report in another. Compare operational definitions, not just variable names.
  • Comparing predictive values from differently ascertained samples. Case-control sampling changes the sampled prevalence. Do not interpret the sample case fraction as the population prevalence unless the design justifies it.
  • Changing the score after inspecting validation results. A score revised using validation outcomes is no longer being evaluated as a fixed, independent score in that same analysis. Label any such work as development or tuning, and seek separate validation.
  • Interpreting a performance gap as a causal effect of ancestry. A stratified contrast is descriptive of the defined populations and design. It does not isolate ancestry from all differences in environments, sampling, measurement, or other characteristics.

A concise report should identify the target population and ancestry-stratum definition; the score version and whether it was fixed in advance; the validation source and participant-overlap checks; the relatedness strategy; the phenotype and follow-up rules; and the sampling design in each stratum. It should also state which performance measures were compared and whether any scores were transformed or recalibrated. These details let readers judge whether the strata support a fair comparison rather than merely showing two numbers.

Key takeaway: A credible portability comparison uses a fixed score and an independent evaluation, applies aligned outcome and sampling rules across ancestry strata, and explicitly handles participant overlap and relatedness. Fair design makes the resulting contrast interpretable; it does not, by itself, explain the cause of a performance gap.

Check Your Understanding

Use the design principles above to answer these questions.

  1. A validation cohort includes participants whose outcomes were used to choose among several score versions. What aspect of independence is compromised, and what would strengthen the validation?
  2. Why can random individual-level splitting be problematic when close relatives occur in both development and evaluation data?
  3. Two ancestry strata use different diagnostic sources but the same outcome variable name. What should be checked before comparing their performance?
  4. A case-control validation sample has a case fraction of 40%, while the target population prevalence is 8%. Why should sample positive predictive value not automatically be reported as population positive predictive value?
  5. What is the distinction between evaluating a fixed score in each stratum and recalibrating the score separately by stratum?
Clinical Biostats