Manuscript Offprint
arXiv:2610.31216Local Discrimination of Binary Classifiers via Localized AUC Functional
Abstract
Background
Binary classification models are widely used across diverse disciplines, with applications ranging from disease diagnosis and risk prediction to decision-making in finance and engineering. In clinical medicine, some of these models have been incorporated into national and international practice guidelines and inform treatment decisions for millions of patients worldwide. However, model performance can vary substantially across patient subgroups, and tools to systematically identify these subgroups without loss of power are lacking.
We introduce a localized AUC functional LAUC, that, for a reference risk prediction model, estimates AUC for an index participant i using all participants weighted by similarity to i. By using localized AUC functional our LOCATOR algorithm avoids subsetting data altogether. Baseline phenotypic similarity between individuals is quantified using Gower distance. We then train an XGBoost regression model to predict the logit-transformed LAUC using baseline characteristics and identified key drivers of heterogeneous model performance via SHAP (SHapley Additive exPlanations) analysis.
We establish relationship of localized AUC functional LAUC to the global AUC, showing that if similarity is flat, then its average is algebraically equal to global AUC. We construct estimator of LAUC and establish its asymptotic distribution and inference. We formulate conditions that guarantee that LAUC is appropriately ordered and derive its asymptotic distribution and standard error estimator. We show how localization identifies heterogeneity in classifier discrimination. We conduct simulations for both positive and negative control scenarios.
Contributed equally.
To facilitate inference and remediation of lower performance of the reference risk prediction model in the low competence region, we provide testing procedures. We show that, in addition to model heterogeneity, lower performance in the low competence region may be driven by the statistical characteristics of the validation cohort.
As a practical application, we used LOCATOR to identify high and low performance regions of the PREVENT model in the National Health and Nutrition Examination Survey data (NHANES) 1999–2010 cycles (N = 17,748), identified high/low competence regions using our method, and validated high/low competence regions in the UK Biobank (N=355,122), an external cohort.
Results
The LOCATOR algorithm identifies high and low performance regions in the covariate space. SHAP analysis identified education, age, sex, current smoking, and prevalent hypertension as the most important determinants of AUC variation. Low and high performance subgroups were identified in training subset and applied to hold out test subset of NHANES. Performance in low subgroup ranged from .6 to .75 and from .82 to .9 in high performance subgroup. When splitting at the median LAUC, conventional AUC values in the low performance subgroup were .78 [.69; .77] and .88 [.82; .93] in the high performance subgroup in the hold-out subset of NHANES. In UK Biobank, an external cohort, AUC of PREVENT model in these regions produce AUC of .76 [.74; .78] and .71 [.70; .72].
Conclusions
The LOCATOR approach offers a data-driven strategy to identify subgroups with high and low performance of the existing binary classification model without loss of power. In the low performance subgroup, remediation strategies include model refitting, enriching the covariate space with new biomarkers, and identification and down weighting of regions with low variance of predicted PREVENT risk. The proposed localized AUC functional, LAUC, offers an objective metric that can be reported for participants in the high or low performance subgroups as measure of the strength of the reference model.
Keywords: Model discrimination, AUC, AUROC, c-statistics, subgroup identification, binary classification model, logistic regression, model heterogeneity.
1 Introduction
Binary classification models are some of the most widely used models. Their applications range from detection/diagnosis to prospective risk stratification. Therefore, an accurate and nuanced assessment of their quality of performance is of paramount importance. Yet, the Area Under the Receiver Operating Characteristics Curve [1] (AUROC, also known as AUC, c-index, concordance index, Harrell or Uno c-index), a widely used measure of model performance, rarely exceeds 0.80 across guidelines-recommended models (Khan et al., Circulation 2024 [2]). It is well below its theoretical maximum of 1.0 and has room to grow. However, current methods cannot identify, without loss of power, where this room is. The focus of this paper is to develop reproducible methods that identify, without loss of power, where the deployed classifier performs well or not so well, and separate genuine heterogeneity from cohort artifacts to guide model improvement in low-competence regions.
Several treatment guidelines rely on official binary classifiers that inform risk stratification for millions of people. Systematic COronary Risk Evaluation 2 (SCORE2) [3] and Predicting Risk of Cardiovascular Disease EVENTs (PREVENT) [4] models are embedded in European and US prevention guidelines, respectively, and supply the risk estimates that decide lipid- and blood-pressure-lowering therapy for hundreds of millions of adults [4]. Before release, these models are validated in external cohorts by reporting discrimination, calibration, and reclassification statistics. AUROC, a measure of a model's ability to separate events from non-events, is a ubiquitous measure of model discrimination. It is often reported as one number per external cohort. However, a single per-cohort number cannot rule out the possibility that the model may separate events from non-events well in one region of covariate space and no better than chance in another. Patients in the weak regions receive systematically less accurate risk estimates and, therefore, less appropriate treatment. Indeed, accumulating evidence suggests that the performance of risk prediction models, including PREVENT, is not uniform across all patient subgroups [5]. Traditional approaches to investigating these performance variations typically rely on predefined, dichotomous subgroup classifications (e.g., smokers vs. non-smokers) [6]. While informative, such methods rely on subsetting the data and may fail to capture more complex, multidimensional patterns of phenotypic heterogeneity due to quick loss of power. There is no established estimand for local discrimination without subsetting the data, so heterogeneity is difficult to locate, quantify, or test without quickly loosing power.
In parallel, the concept of phenomapping has recently emerged [7]. Developed to assess heterogeneity of treatment effect in randomized controlled trials, it leverages the full breadth of data. By quantifying inter-individual similarity based on multiple clinical features (e.g., using Gower distance [8]), phenomapping allows for the discovery of contiguous, data-driven patient subgroups with heterogeneous treatment effect. This approach has been successfully applied to identify heterogeneity of treatment effects in clinical trials [7]. It relies on estimating the average per-person hazard, and therefore cannot be directly translated to AUROC. In this paper, we introduce a localized AUC functional LAUC, that, for a reference risk prediction model, estimates AUC for an index participant i using all participants weighted by similarity to i. By using the localized AUC functional, our LOCATOR algorithm avoids subsetting data altogether.
Then we use localized AUC functional (LAUC) to identify contiguous phenotypic subgroups in which the reference binary classification model exhibits suboptimal discrimination. We further seek to characterize the features that drive this performance heterogeneity.
We establish the relationship of localized AUC functional LAUC to the conventional global AUC. We provide two sufficient conditions and prove that they guaranty the LOCATOR algorithm will identify high and low performance regions in the covariate space. We construct an estimator of LAUC and establish its asymptotic distribution and a closed-form estimator for the standard error.
To facilitate inference and remediation of lower performance of the reference risk prediction model in the low LOCATOR region, we provide testing procedures. We show that, in addition to model heterogeneity, lower performance in the low competence region may be driven by the statistical characteristics of the validation cohort.
Our LOCATOR algorithm provides a novel, data-driven strategy for targeted model refinement while avoiding loss of power. It also provides a more nuanced strategy for model refinement, showing that it is an interplay of model heterogeneity, validation cohort characteristics, and overlap in predicted risk in certain regions of covariate space.
2 Properties of The Localized AUC and Asymptotic Theory
2.1 Definition of Localized AUC Functional
The localized AUC is a modified version of the well-known AUC. Its main purpose is to give a personalized performance of the risk predictor.
Definition 1 (Localized AUC Functional). Let denote covariate space. If we sample a patient with an event and covariates , where is the sampling distribution of our event patients, and a patient with no event with covariates . Let be covariates for our index patient . We also have a risk prediction model . In addition, we also have a weight function , that describes the similarity between patients. Then the localized AUC is as follows:
Definition 2 (Localized AUC Estimator). Let's say our dataset includes patients with events with covariates and we also have patients that have no events with covariates . We also have a risk prediction model . In addition, we also have a weight function . Then the localized AUC estimator for some sample patient is
In our paper the weight function will be a kernel, that is based on the Gower distance.
Definition 3 (Gower distance [8]). Let , where is a dimensional covariate space. Suppose that , the ranges of and are both . Then the Gower distance is
In our paper, the weight function will be .
2.2 Theoretical Properties of Localized AUC Functional
2.2.1 Relationship of LAUC( ) to global AUC under uniform similarity
If the weights are uniform, we end up with the traditional AUC.
Proposition 1 (Under Uniform Weights the Localized AUC Reduces to the AUC). Let denote the covariate space. If we sample a patient with an event and covariates , where is the sampling distribution of our event patients, and a patient with no event with covariates . Let be covariates for our index patient . We also have a risk prediction model . In addition, we also have a weight function , that is some constant . Then the localized AUC is equivalent to the traditional AUC:
The proof can be found in the Supplementary material 9
2.2.2 Localized AUC as Covariance
The weighted AUC has the property as Proposition 2:
Proposition 2 (Localized AUC as Covariance). Suppose number of events is and number of non-events is . Define where is the weight vector of event participants, and is the weight vector of non-event participants. Then With two types of weight vectors , The can be calculated. For event participants and non-event participants , define , and . If we think of as a probability distribution of , then .
The proof can be found in Supplementary material 9.
2.2.3 Monotonicity Guarantees
Let the covariate space be partitioned into two disjoint, phenotypically distinct regions and . We assume and . The weighted AUC score can be regarded as a performance score of a specific model in participants phenotypically similar to . We claim using a simplified scenario with some assumptions:
Proposition 3 (Ordering of Localized AUC Expectations Across Model Competence Regions). If Assumptions 1 and 2 hold, then the population regional expectations of localized AUC functionals satisfy:
This justifies why the weighted AUC is a plausible metric for model performance evaluation. The assumptions are in Supplementary material 9.1, and the proof is in 9.3.
To stabilize the variance and address boundary issues*, we applied the logit transformation:
where was used as the target variable for the subsequent machine learning model.
2.3 Estimator Construction and Asymptotic Consistency
As defined in Definition 2, we can define the estimator of the localized AUC.
Proposition 4. If we follow Definitions 1 and 2, then the estimator is an unbiased consistent estimator of LAUC.
Details of this can be found in the Supplementary material 9.4.
2.4 Asymptotic Normality
Proposition 5 (Asymptotic Normality).
The proof can be found in the Supplementary material 9.4.
2.5 Plug-in Standard Errors via Logit Transformation
Proposition 6. An asymptotically valid confidence interval is as follows as :
*the estimated AUC is bounded between 0 and 1, and its sampling variance depends on its true value: the variance is largest near 0.5 and shrinks toward 0 as the AUC approaches 0 or 1. This mean–variance dependence can introduce heteroskedasticity and distort the loss function of a regression model. The logit transformation, via the delta method, approximately removes this dependence where is the standard normal critical value.
The derivation of the confidence interval can be found in 9.4
3 Proposed LOCATOR Algorithm for Subgroup Identification
3.1 Mathematical Formulation
Consider the input feature matrix with and and an existing binary classification model (e.g. PREVENT in our case) that is being evaluated by the method. The input data should include all the predictors of the existing model being evaluated and the variables needed to differentiate high-performance from low-performance regions. Denote as the set of predictor variables of the model ; thus, the prediction vector can be computed as .
To quantify phenotypic similarity between individuals, we used Gower distance [8], which accommodates mixed continuous and binary variables. Let and be the baseline feature vectors for participants and . The Gower distance is defined as the average of per-variable contributions:
where for a continuous variable, , and for a binary variable, . The distance matrix was computed using all baseline phenotypic variables .
For each index participant , we define similarity weights:
followed by truncation to ensure non-negative weights, consistent with prior work [7]. Thus, participants phenotypically closer to receive higher weights, forming a local neighborhood around .
For each index participant , we evaluate the discrimination performance of the reference model within its local neighborhood by computing it localized AUC - a weighted area under the receiver operating characteristic curve (weighted AUC)[9]:
where is the true outcome (CVD death) and is the predicted risk of the reference model. This produces an individual-focused localized AUC value, , reflecting how well PREVENT discriminates CVD risk in participants phenotypically similar to i.
To predict LAUC we train XGBoost regression model using as an outcome and using baseline phenotypic features .
3.2 LOCATOR algorithm and implementation details
Algorithm 1 LOCATOR Algorithm
Require: Input data matrix , true outcomes y, existing model predictions .
Ensure: Identify high and low competence regions of risk prediction model .
1: Split into train and test dataset: . Line 2 – 9 are training process, and lines 10 – 11 are testing process.
2: Compute Gower distances using all baseline variables:
3: Compute weights:
4: for Reference participant to do
5:
6: end for
7: Train XGBoost model to predict :
8: Select features that are important in the final BGBoost model
9: Use to get predictions in test set:
10: Identify low- and high-performance subgroups:
- median = median()
11: Run SHAP or other similar analysis to identify what kind of participants constitute low and high performance subgroups in
3.3 Interpretation of High and Low Performance Regions with SHAP analysis
To interpret the XGBoost model and identify the baseline characteristics driving local performance, we propose to employ SHapley Additive exPlanations (SHAP) [10]. For each test sample, SHAP value is computed for every feature, representing the contribution of that feature to the predicted relative to the average prediction. A SHAP summary plot can be used to identify the order of importance of each variable. Thus, subgroups can be identified according to SHAP values using the most important variables.
We derived global feature importance as the mean absolute SHAP value per feature. Additionally, we visualized the direction and magnitude of each feature's effect via summary plots. Features with high importance were selected for identifying heterogeneous performance subgroup, and their effects on predicted local performance were further examined using SHAP dependence plots.
To address potential instability due to overfitting, we also calculated the internal importance of XGBoost 'gain' and compared it with the SHAP results as a sensitivity analysis and removed features with gain weaker than 10% of the most important feature..
In addition, to verify that the XGBoost model has the ability to accurately predict model performance in a newly given specific sample, we used the predicted in the external test set to separate a high-performance subgroup and a low-performance subgroup by their median. We therefore compared the two ROC curves[11] of the two subgroups and calculated the standard AUC value of each subgroup. If the LOCATOR algorithm
Furthermore, we examine the association between predicted local performance and observed model discrimination by computing the classical AUC of the PREVENT model for cumulative subgroups defined by increasing percentiles of the predicted (from the lowest 1% to 100%, with step size 1%).
4 Simulation studies
To further validate our method, we considered several distinct simulation scenarios: two positive examples and one negative control example.
4.1 Simulation Scenario 1: Identification of Subgroups with Heterogeneous Model performance (Positive Control)
First, we assume that there is a predictor variable that separates the whole data set into two distinct subsets and . Two binary classification reference models and are such that has more precise prediction than the other in subset where can be either or .
We assumed i.i.d., where , and as a latent subgroup identifier.
Two models and are defined as:
Split the whole data set into two subgroups: , where
-
For . For each instance, generate true outcome with probability . Otherwise .
-
For . For each instance, generate true outcome with probability . Otherwise .
Construct a simulated training data set with 5000 instances and testing data set with 1000 instances, using the rule above.
Train two XGBoost models on training data set, using the LOCATOR algorithm in the whole training dataset.
• is trained on logit-transformed localized LAUC( ) of reference model .
• is trained on logit-transformed localized LAUC( ) of reference model .
Figure 1 shows that tends to predict higher logit(LAUC( ) values when while tends to predict higher values in the regime.
Recall from the simulation setup that the entire data set was split into two subsets , where performs better than in data set , and vice versa. The split between si defined by .

Figure 1. The comparison of predicted logit(LAUC()) values between model (Model M in legend) and model (Model N in legend) in a simulated data set. According to the simulation design in section 4, model should give more precise prediction when than model , while model should give more precise prediction when . and are XGBoost models trained based on the weighted logit(LAUC()) of and respectively. From the figure it is clear that model has larger logit(LAUC()) than model when while model has larger logit(LAUC()) than model when , which aligns with our expectation.
This simulations illustrates that localized logit(LAUC()) is sensitive to that was used to separate and .
4.2 Simulation Scenario 2: negative control experiment
To justify that our method works also well when there is no way to differentiate high- and low-performance subgroups, we designed another simulation.
Suppose that there is a dataset which has 6 variables and one binary outcome . The variables follow the probability distribution:
-
y follows Bernoulli distribution
-
follows conditional normal distribution with a chosen parameter
-
The reference model being evaluated is the data-generating model . So that every baseline variable except is random noise.
We then applied our method and trained the XGBoost model g on , (excluding ), so that the model
is trained purely on the noise. The resulting ROC curves of high and low-performance subgroups identified by in the holdout test set are shown in Figure 2.

Figure 2. ROC curves comparison of low- and high-performance subgroups from the negative-control simulation 4.2. The XGBoost model used to identify the high- and low-performance subgroups is based on pure noise. The confidence bands of the two ROC curves overlap, as expected.
4.3 Simulation Scenario 3: Low Performance in the Overlap Region
We set up the following simulation:
-
y follows Bernoulli distribution
-
follows conditional normal distribution with a chosen parameter
-
-
This simulations setup is expected to produce unweighted AUC of 0.8. The actual unweighted AUC estimated in the test set is 0.8143
We trained the XGBoost model in the training set and derived the high- and low-performance subgroups in the test set. The ROC curves are also obtained as Figure 3. The confidence level is set to be 95%. The high-performance subgroup has significantly higher ROC curve than low-performance subgroup, and the confidence bands are separable. The standard (unweighted) AUC value for low-performance subgroup is AUC=0.69, with 95%CI=[0.66; 0.71], which is lower than the standard AUC value for high-performance subgroup AUC=0.88, with 95%CI=[0.86-0.90].

Figure 3. ROC curves comparison of low- and high-performance subgroups of the simulation as in section 4.3. The test set is split into low- and high-performance subgroups according to the median of the predictions of the trained XGBoost model. The confidence level is set to be 95%. The high-performance subgroup has significantly higher ROC curve than low-performance subgroup, and the confidence bands are separable. The standard (unweighted) AUC value for low-performance subgroup is AUC=0.69, with CI=0.66-0.71, which is lower than the standard AUC value for high-performance subgroup AUC=0.88, with CI=0.86-0.90. The figure gives another validation for our method in identifying performance subgroups of the certain given model.
Although in this simulation scenario data was produced by the same data-generating model, LOCATOR algorithm still identified high and low performance subgroups. To explain this, we plotted in gray histogram of in low performance subgroup and in orange in high performance subgroup (Figure 4). It is notable that the low-performance subgroup is in the middle of two peaks of the high-performance subgroups. Remember that with two normal distribution centers around and . Therefore, around , two conditional distributions overlap and it is hard to separate events from non-events in this region. High performance region consists of the left and right boundary of domain where events and non-events are almost perfectly separated. This example illustrates that a reference model with imperfect discrimination contains regions with heterogeneous performance.

Figure 4. The distribution of of low- and high-performance subgroups, identified by the XGBoost model trained in the simulation. The low-performance subgroup is in the middle of two high-performance subgroups, which aligns with the simulation set up with two normal distributions overlapping around . So at the middle point it is hard to decide whether the data point comes from the event data or non-event data .
5 Disentangling Performance Drivers: Model Heterogeneity vs. Cohort Case-Mix
Evaluating risk prediction models via localized discrimination functionals-such as the per-person LAUC, may reveal performance gaps between high-competence () and low-competence () subgroups (). However, relying solely on a single summary metric like may conflate fundamentally distinct statistical phenomena. A localized drop in AUC does not automatically imply that the underlying prediction model is structurally flawed.
To establish actionable guidelines for model remediation versus cohort selection, we formalize a two-axis diagnostic framework that separates Model Heterogeneity (whether the model performs worse than its assigned risks dictate) from Cohort Case-Mix / Risk Range Variance (whether the subgroup naturally lacks outcome-discriminating variance).
5.1 Local Underperformance Scenarios
Even when a binary risk model is correctly specified across the entire population, empirical simulations demonstrate that validation cohort characteristics may generate substantial localized discrimination gaps. We classify localized underperformance into four distinct scenarios based on covariate distribution, predicted risk range, and true model specification.
5.1.1 Scenario 1.1: Performance Degradation in Overlap Regions
Mechanism: In Simulation scenario 3 we observed that data-generating model may have low performance region where risk scores overlap and high performance region outside of the ooverlap. This occurs when baseline model discrimination far from imperfect (AUC 1.0), causing substantial overlap between event and non-event risk distributions within specific phenotypic regions.
Diagnosis & Action: Diagnosed by a wide risk range in low performance region paired low model heterogeneity ( ). This reflects a genuine under-performance of the model. Within low-performance region to discriminate events from non-events better, additional information is required: other biomarker data, imaging etc.
5.1.2 Scenario 1.2: Homogeneous Covariate Clusters (Validation Cohort Artefact)
Mechanism: The low-performance subgroup consists of a dense cluster of participants with nearly identical covariate profiles X. Because the model assigns nearly identical predicted risks to similar individuals, the localized risk range is compressed.
Diagnosis & Action: Characterized by a narrow covariate range, narrow predicted risk variance ( ), and low model heterogeneity ( ). This represents an artifact of sample selection in the validation cohort rather than a defect in the risk model: a model should assign identical risks to identical individuals. Refitting the model on the existing covariate set will not improve discrimination. The appropriate remedy is to enrich the validation cohort’s covariate diversity or measure novel biomarkers to re-introduce risk variance.
5.1.3 Scenario 1.3: Covariate Diversity with Flat Risk Range (Biomarker Exhaustion)
Mechanism: Participants in exhibit diverse covariate vectors X, yet the model maps these distinct profiles to a narrow, nearly uniform band of predicted risk. This arises under two distinct conditions:
label=(a) Omitted Biomarkers: The existing predictor set lacks the key variables required to stratify risk within this specific sub-population.
lbbel=(b) Latent Biomarker Clustering: An unobserved high-leverage biomarker (with true AUC ≈ 1.0) is strongly predicted ( ) by observed covariates, but the validation cohort inadvertently enrolled participants sharing an identical value of this latent biomarker.
Diagnosis & Action: Characterized by reasonable covariate spread alongside a statistically flat risk variance ( via F-test). If driven by omitted predictors, the model must be augmented with novel clinical biomarkers and refit . If driven by latent biomarker clustering, the issue lies in cohort sample selection, implying that ideal validation cohorts should maintain uniform distributions over latent risk factors.
Test for Flat Predicted Risk
To test whether predicted risk is flat in the low-performance subgroup S compared to its complement , we formulate the hypothesis test as:
where is the low-performance subgroup, is its complement, and represents the non-flatness threshold ratio.
At the boundary of the null hypothesis ( ), the test statistic scaled by follows an F-distribution:
Because the alternative hypothesis posits a smaller variance in S, this is a lower-tail test. The p-value is given by:
We reject at significance level when:
Equivalently, we can construct a one-sided upper confidence bound for the true variance ratio :
and reject if .
Derivation of the test is provided in the Appendix.
5.1.4 Scenario 2: Genuine Local Model Misspecification (Structural Failure)
Mechanism: The baseline model is structurally misspecified within subgroup due to omitted non-linearities, missing interaction terms, or incorrect variable weights specific to that phenotypic region. Empirical simulations under structural misspecification demonstrate severe discrimination collapse (e.g., ).
Diagnosis & Action: Diagnosed when provides ample risk variance ( ) yet exhibits a significant excess risk gap ( ). This indicates unambiguous model failure. The remedy requires structural model refitting, localized variable selection, or the introduction of subgroup-specific interaction terms.
6 Application: Localized Discrimination of the PREVENT Model in National Health and Nutrition Examination Survey (NHANES) and External Validation in the UK Biobank
As a practical example we apply proposed LOCATOR algorithm to identify high and low performance regions of PREVENT model. American Heart Association and American College of Cardiology currently use PREVENT model to identify patients who would benefit from lipid and blood pressure-lowering treatment. PREVENT model is therefore used for millions of patients. We train LOCATOR algorithm in NHANES data, validate in hold out test subset and externally validate in UK Biobank.
6.1 NHANES 1999–2010 Cohort Setup and Preprocessing
National Health and Nutrition Survey (NHANES) collects data on about 5,000 adults and children in communities across the United States [12]. We used the cycle range 1999-2010 from NHANES data, with linked National Death Index data through 2019 (N=17,748). We used CVD death as an outcome (N=756). Data were randomly split into training (70%) and test (30%) subsets stratified by categories of PREVENT predicted risk using the Python package scikit-learn[13]. We excluded participants outside of PREVENT predictors' range, with prior CVD, who are pregnant, and with incomplete set of PREVENT predictor variables. We applied input ranges according to the R package preventr[14], as shown in Figure 9. Summary statistics of demographics and baseline characteristics in NHANES cycles 1999-2010 are shown in Table 2 and 3. To address missing data in variables not used by PREVENT model, we filtered participants with more than 40% of baseline variables missing; we also excluded baseline variables with more than 90% missing. After that, we utilized Multiple Imputation by Chained Equations (MICE) with the Python package miceforest to training and testing subsets. The Gower distances, weights, LAUC( ) and were computed in training data set. We then trained an XGBoost model with input variables including PREVENT predictors and other baseline variables (shown in Table 2 and 3).
Hyperparameters were tuned via random search with 5-fold cross-validation over 100 iterations, exploring ranges for learning rate (0.1–0.3), maximum tree depth (3–10), subsample ratio (0.5–1.0), column subsample ratio (0.5–1.0), and regularization parameters ( , , ). Early stopping with 20 rounds of no improvement was applied to prevent overfitting. The final model performance was evaluated on the test set using and root mean squared error (RMSE). After 5-Fold Cross-Validation hyperparameter tuning, we selected the best parameters.
The model used the tree booster with the objective function znoteThe mean squared error (MSE) loss is convex,
| Subgroup | Total Number | CVD death number | mean classical AUC value |
|---|---|---|---|
| Low performance | 2663 | 190 | 0.780 |
| High performance | 2663 | 37 | 0.880 |
Table 1. Total sizes, CVD death event numbers and mean AUC values of high and low performance subgroups from test data set
and XGBoost adds an regularization term, making the overall objective strongly convex and thus ensuring the convergence of the training loss [15]. However, due to the greedy algorithms employed for both node splitting and sequential tree addition [16][17], the optimization typically converges to a local minimum within the constrained tree-function space rather than the global minimum.. To come up with the most parsimonious XGBoost model, we removed predictors that produce smaller than 10% gain of the strongest predictor. The Root-Mean-Square-Error (RMSE) of final XGBoost model was 0.0170 and the R2 score of 0.9713 in the test set.
Trained XGBoost model was applied to the test subset which was split into high and low performance subgroup at the median of predicted . Conventional ROC curves were plotted separately in each group and conventional AUC was estimated for each.
6.2 Identification of PREVENT Competence Regions in NHANES
A high and a low performance subgroup were identified by splitting the test set in halves, with 50% percentile of XGBoost prediction logit(LAUC()). Two ROC curves in the two subgroups were drawn as in Figure 5.
The conventional AUC values in high and low performance subgroups are 0.88 95%CI[.82; .93] and 0.78 95%CI[.69; 77] respectively, shown in Table 1 and 5 and 7. The two ROC curves shown in Figure 5 verify direction and the separation of high- and low-performance subgroups identified by our proposed LOCATOR algorithm in holdout test subset (internal validation). The corresponding statistics of size, CVD death number and mean conventional AUC value in each subgroup are shown in Table 1. We plotted conventional AUC in high and low performance subgroups versus percent assigned to low performance subgroup in Figure 6.
A series of conventional AUC values is plotted in Figure 6 with respect to the percent in the lowest performance subgroup.
6.3 External Validation of PREVENT Competence Regions in UK Biobank
To demonstrate out-of-sample generalizability of identified competence regions, we applied trained XGBoost model in UK Biobank - a large prospective cohort (N=355,122). Data pre-processing and harmonization of UK Biobank with NHANES data, demographics characteristics and Consort diagram are provided in the Appendix.



Figure 5. The three plots show the capability of different XGBoost models with maximum delta (AUC difference), 70th percentile delta, and median delta. The two ROC curves in a high- and a low-performance subgroup were identified by splitting above and below the median of XGBoost predictions of logit(LAUC(x )). Subgroup 0% – 50% corresponds to low-performance subgroup and Subgroup 50% – 100% corresponds to high-performance subgroup. The two ROC curves show separation, with AUC values shown in the legend significantly different as expected. With confidence level of 95%, the confidence bands are shown in the figure and the confidence intervals of AUC values are shown in the legend.

Figure 6. AUC with respect to the fraction assigned to the low-and high-performance subgroup in the NHANES data.
Competence regions learned in the NHANES data were applied to UK Biobank and conventional AUC was calculated in high and low performance subgroups using CVD death as an outcome. AUC in the high-performance subgroup was 0.761 with 95CI 0.742-0.781 and 0.708 with 95CI 0.697-0.719 in the low-performance subgroup in the UK Biobank. These numbers show mild attenuation, but the 95CIs do not overlap and are below the .05 statistical significance threshold.

Figure 7. External Validation in UK Biobank. The two ROC curves of a high- and a low-performance subgroup were identified by splitting above and below the median of XGBoost predictions of Subgroup 0% – 50% corresponds to low-performance subgroup and Subgroup 50% – 100% corresponds to high-performance subgroup. The two ROC curves show separation, with AUC values shown in the legend significantly different as expected. With confidence level of 95%, the confidence bands are shown in the figure and the confidence intervals of AUC values are shown in the legend.
6.4 Identification of Variables associated with high and low performance regions with SHAP analysis
The SHAP summary graph in Figure 8 shows that the most critical performance drivers are age, followed by sex, taking antihypertensive medications at baseline, current smoking, and the use of statin medication. SHAP summary plot was obtained from the test dataset, as in Fig 8. It shows that older age, blood pressure treatment, being male, smoking, a low poverty income ratio, taking statin medication, and a history of type 2 diabetes and cancer are associated with low performance of the PREVENT model.

Figure 8. SHAP summary plot. the most critical variable is age, followed by sex, bp_tx(now taking prescribed medicine), smoking and statin medication use.
7 Discussion
In this work, we introduced the LOCATOR algorithm and the localized LAUC functional to address the fundamental limitation of global metrics used to validate binary classification models. Current methods of model validation rely on single performance metrics and do not provide information on where in the covariate space the model is underperforming. LAUC establishes a foundation for individual-level performance assessment and is used in our proposed novel LOCATOR algorithm. The LOCATOR algorithm identifies regions in the covariate space with high or low model performance. By using the localized LAUC functional, LOCATOR avoids data subsetting and loss of statistical power. We provided intuition behind the localized LAUC functional by showing that it is algebraically equal to the ratio of covariance and expectation. We also provided assumptions that guarantee that, on average, the localized LAUC functional has the right ordering. Using non-parametric two-sample U-statistic asymptotic theory, we derived closed-form plug-in variance estimators and logit-stabilized confidence intervals that eliminate the need for computationally intensive resampling in large clinical cohorts. Beyond identifying performance heterogeneity, LOCATOR provides a diagnostic taxonomy to disentangle the causes of underperformance. Through our two-axis diagnostic matrix and a formal F-test for flat predicted risk, researchers can distinguish genuine structural model misspecification from validation cohort case-mix restrictions. This distinction may prevent unnecessary model refitting when underperformance is driven by validation cohort homogeneity, while pinpointing specific phenotypic subgroups where structural model updates or novel biomarker discovery are required. Applied to the guidelines-recommended AHA PREVENT model, LOCATOR identified its high and low performance regions in NHANES data (N = 17, 748; AUC = 0.88 in high-LOCATOR vs. 0.73 in low-competence regions). The same high and low performance regions were successfully validated in the prospective UK Biobank cohort. SHAP influence decomposition identified older age, antihypertensive treatment, statin therapy, diabetes, and smoking as the main contributors to the lower performance of the PREVENT model.
7.1 Remediation Strategies for Low-Competence Regions
7.2 Strengths and Limitations
Several limitations warrant consideration. First, NHANES provides mortality follow-up but lacks non-fatal cardiovascular events, which are part of the PREVENT composite outcome. This discordance may attenuate observed performance and limit comparability with original validation studies. Second, NHANES is cross-sectional, precluding the assessment of dynamic risk factor trajectories that could influence model performance over time. Third, our analysis is restricted to the U.S. population, and generalizability to other settings remains untested. Fourth, the fixed exponential parameter (exp=15) for similarity weighting, while validated in prior work[7], may not be optimal for all datasets. Fifth, SHAP associations are not causal; they identify correlates of performance heterogeneity but do not imply causal determinants.
7.3 Extensions and Future Directions
Future research should explore adaptive weighting schemes to optimize the exponential parameter for specific datasets, potentially by maximizing subgroup separation or the stability of weighted AUC estimates across bootstrap samples. Extension to other risk models (e.g., PCE, SCORE2) would reveal whether observed heterogeneity is model-specific or systematic. Incorporating time-to-event outcomes and time-dependent AUC metrics would better align with the survival framework of PREVENT. External validation in diverse cohorts-such as UK Biobank or MESA, is essential to assess generalizability and explore racial/ethnic variation. Finally, prospective implementation studies could evaluate the clinical utility of flagging low-performance subgroups to guide targeted model recalibration or supplementary risk assessment.
In addition, a comparison between the division method of XGBoost and by using SHAPley values to divide high- and low-performance subgroups can also be tested, in order to verify the alignment of direct combination of subgroup variable values and XGBoost method and verify the XGBoost method ability in identifying multivariant interaction and predicting local performance scores. Another comparison between our SHAP summary plot and direct SHAP summary plot derived directly from the existing model (PREVENT) can also be potentially meaningful.
7.4 Conclusions
The novel LOCATOR algorithm and localized LAUC functional proposed in this work can be used to identify low and high performance regions of binary classifiers. As binary classifiers continue to inform high-stakes healthcare decisions for millions of patients, LOCATOR algorithm shifts the model evaluation paradigm from single, pooled cohort summary statistics toward localized performance metrics. We are working on generalizing this approach beyond the clinical domain and risk prediction models.
8 Acknowledgements
Anna Györfly-Kerekes would like to thank the ETH Center for Learning Systems for the contributions to her PhD. The authors gratefully acknowledge institutional support from ETH Zurich, Switzerland. This research was conducted using the UK Biobank Resource under application numbers 81959 and 206575. We extend our sincere gratitude to all participants and study organizers of NHANES and UK Biobank for making these datasets available.
8.1 Statement on AI use
In the preparation of this work, generative AI tools were used to assist with code writing. Specifically, DeepSeek (https://www.deepseek.com/) and Gemini (https://gemini.google.com/) were used to assist with Python code writing. Claude Desktop (free plan, https://claude.ai/download) was used to assist with R language code writing. These tools were used for code-related assistance, such as suggesting code snippets, debugging, and explaining error messages. All AI-assisted code was reviewed, tested, and adapted by authors, who take full responsibility for the final code and analyses.
During the preparation of this manuscript, large language models, specifically Gemini Pro and Claude Pro were employed to assist with LaTeX debugging, verify the correctness of select proofs, and refine the academic writing. The localized AUC functional definition, the LOCATOR algorithm, and Propositions 1-3 with proofs are entirely due to the authors: no use of AI technologies was involved. A conversation with Gemini 3.6 Flash (Google) was used to generate the initial draft of the proofs of Propositions 4-6, which were subsequently reworked by the authors. Text was scanned for errors with the assistance of Gemini 3.6 Flash (Google). Authors take full responsibility for the correctness of the entire content of this manuscript.
SUPPLEMENTARY MATERIAL
9 Proofs from Section 2
Let the covariate space . Let be the prediction model. We also define
(13)
Let us remind ourselves, that the weighted AUC is defined in Definition 1.
Proposition 1 (Under Uniform Weights the Localized AUC Reduces to the AUC). Let denote the covariate space. If we sample a patient with an event and covariates , where is the sampling distribution of our event patients, and a patient with no event with covariates . Let be covariates for our index patient . We also have a risk prediction model . In addition, we also have a weight function , that is some constant . Then the localized AUC is equivalent to the traditional AUC:
Proof.
If we look at the estimator, we get
Proposition 2 (Localized AUC as Covariance). Suppose number of events is n and number of non-events is m. Define where is the weight vector of event participants, and is the weight vector of non-event participants. Then With two types of weight vectors , , The , can be calculated. For event participants k, a and non-event participants l, b, define , and . If we think of p as a probability distribution of k, l, then .
Proof. We know
(24) and
and
Then we have
Let the covariate space X be partitioned into two disjoint, phenotypically distinct regions and . We assume
and . Let us also define as and as . We also define
Define the population intra-region and cross-boundary concordance parameters:
9.1 Assumptions
Assumptions 1 (First-Order Stochastic Dominance). The reference model risk score distributions satisfy strict First-Order Stochastic Dominance (FSD) between regions and :
• Cases :
• Controls :
Assumptions 2 (The groups are separated with high probability). Let and
For , we have
9.2 Useful Lemma
Lemma 1.
Proof.
(57)
where and and .
Similarly,
So it is enough to show, .
- Lower Bound: .
By Assumption 1: (cases in stochastically dominate cases in ). Because is a non-decreasing function and :
- Upper Bound: .
By Assumption 1: (controls in have stochastically lower scores than controls in ):
Thus, . Similarly, we can show .
9.3 Main Theorem
Proposition 3 (Ordering of Localized AUC Expectations Across Model Competence Regions). If Assumptions 1 and 2 hold, then the population regional expectations of localized AUC functionals satisfy:
Proof.
Similarly,
Let . Now by intersection our expectations with and we find:
Similarly, if , then we have
By Assumption 2 9.1 we have
Hence, we have
Similarly, we have
and
Hence, we have
So if , then we are finished, which is part of Assumption 2.
Remark 1. Note that for example
would make
(86) true.
9.4 Estimator Construction and Asymptotic Consistency
Let us define the following kernel:
Let us also say,
Let us assume that and . Then let
With this notation and .
Regularity Assumptions:
• (A1) Finite, non-zero mean:
• (A2) Finite, non-zero variance: .
• (A3) Non-degeneracy: , .
Proposition 4. If we follow Definitions 1 and 2, then the estimator is an unbiased consistent estimator of LAUC.
Proof. We will rely on two-sample U-statistics theory to derive asymptotic properties of . Let us start by looking at our estimator:
By the Weak Law of Large Numbers (WLLN) for sample averages:
By the Law of Large Numbers for Two-Sample U-Statistics, .
By Continuous Mapping Theorem on function (continuous at ), .
Proposition 5 (Asymptotic Normality).
Proof. By asymptotic normality of generalized two sample U-statistic [18], we have
In this equation and
By Slutzky [19], we have
Proposition 6. An asymptotically valid confidence interval is as follows as :
where is the standard normal critical value.
Proof. We aim to build an etimator , and on this path we need estimators of and . Let's call the estimator of as and the estimator of and and respectively. An estimator of , we have
and similarly an estimator of , we have
Let us also define:
Hence consistent estimators of the variances are
Finally the asymptotically valid confidence interval is as follows as :
where is the standard normal critical value.
9.5 Test of homogeneous predicted risk
To test whether predicted risk is flat in the low-performance subgroup S compared to its complement , we formulate the hypothesis test as:
where is the low-performance subgroup, is its complement, and represents the non-flatness threshold ratio.
Since and do not share common observations, we can use a one-sided -test to test . Let and be the sample sizes of the respective regions, and define the sample variances of logit-transformed predicted risks as:
Define the observed variance ratio:
At the boundary of the null hypothesis (R = ), the test statistic scaled by follows an F-distribution:
Because the alternative hypothesis posits a smaller variance in S, this is a lower-tail test. The p-value is given by:
We reject at significance level when:
Equivalently, we can construct a one-sided upper confidence bound for the true variance ratio :
and reject if .
Assumptions
leftmirgin=* Normality within each region: and .
leftmiirgiin=* Independence of observations: Predictions must be independent across subjects. This holds under standard i.i.d. sampling, but clustered or longitudinal settings require block resampling adjustments.
leftmiirgiiiiin=* Independence of the two variance estimates: Because and are non-overlapping sets of independent observations, and are statistically independent. Comparing with its complement is therefore cleaner than comparing with the entire dataset.
leftmivrgivn=* Hold-out validation required for S: The region S must be fixed independently of the data used for the test. If an algorithm searches the same sample to discover S and evaluate the F-test, selection bias invalidates the nominal F-distribution. This test must be conducted on an independent hold-out dataset.
9.6 Supplementary Figures and Tables
Figure 9 shows the attrition statistics of the NHANES data 1999-2010. We initially identified 62, 160 respondents from the NHANES 1999–2010 cycles (A–F). We restricted the sample to adults aged 30–79 years (the age range for the PREVENT equations), leaving 23,920 individuals. After excluding pregnant women (n = 466) and individuals with self-reported prior cardiovascular disease (n = 2, 272), 21, 182 remained. We further excluded participants with missing data on any of the 11 PREVENT predictor variables (n=3, 151), resulting in 18,031 individuals with complete data. Of these, 259 were excluded because the preventr scoring algorithm flagged out-of-range input values, leaving 17,772 valid risk scores. Finally, we restricted to participants eligible for mortality linkage, yielding the final analytical cohort of 17,748 individuals.

Figure 9. Attrition of NHANES data. Initially there are 62, 160 respondents from the NHANES 1999–2010 cycles (A–F). We restricted the sample to adults aged 30–79 years (the age range for the PREVENT equations), leaving 23, 920 individuals. After excluding pregnant women (n = 466) and individuals with self-reported prior cardiovascular disease (n = 2, 272), 21, 182 remained. We further excluded participants with missing data on any of the 11 PREVENT predictor variables (n = 3, 151), resulting in 18, 031 individuals with complete data. Of these, 259 were excluded because the preventr scoring algorithm flagged out-of-range input values, leaving 17, 772 valid risk scores. Finally, we restricted to participants eligible for mortality linkage, yielding the final analytical cohort of 17, 748 individuals.
A statistic of the NHANES data before preprocessing is shown in Table 2 and 3.
UMAP analysis did not reveal obvious clusters in the data. Before the implementation of our main method, we utilized a dimensionality projection method UMAP[20] to create more intuitive figures of the input data with respect to several baseline variables (age, sex, etc.).
After preprocessing (filter out participants with more than 40% variables missing and variables with more than 90% missing data), the distribution of several baseline variables were presented via UMAP visualization method. Figure 10 shows the distribution of age, sex (male=1, female=0), education (Less Than 9th Grade=1, 9-11th Grade (Includes 12th grade with no diploma)=2, High School Grad/GED or Equivalent=3, Some College or AA degree=4, College Graduate or above=5, Refused=7, Don't Know=9), race/ethnicity(Mexican American=1, Other Hispanic=2, Non-Hispanic White=3, Non-Hispanic Black=4, Other Race - Including Multi-Racial=5) and the ratio of poverty to income in training data set. Figure 17 shows the distribution of same set of variables in testing data set.

Figure 10. Absence of UMAP clusters in NHANES dataset. UMAP visualization of the distribution of age, sex (male=1, female=0), education (Less Than 9th Grade=1, 9-11th Grade (Includes 12th grade with no diploma)=2, High School Grad/GED or Equivalent=3, Some College or AA degree=4, College Graduate or above=5, Refused=7, Don't Know=9), race/ethnicity(Mexican American=1, Other Hispanic=2, Non-Hispanic White=3, Non-Hispanic Black=4, Other Race - Including Multi-Racial=5) and the ratio of poverty to income in training data set. From the figure it can be seen that there isn't obvious cluster of subgroups.
9.7 Inclusion and Exclusion Criteria into External Validation Cohort
Participants aged 30 to 79 years at the time of baseline assessment (instance 0) in the UK Biobank were included, consistent with PREVENT criteria. Participants were excluded if pregnant or if at baseline have reported a history of cardiovascular disease (CVD), including coronary heart disease, myocardial infarction, or stroke. Participants with missing XGBoost input variables were excluded too. All necessary clinical, laboratory, and demographic predictors in the UK Biobank were harmonized to align with the coding conventions, measurement units, and truncation thresholds used in the NHANES training dataset. Harmonization decisions between NHANES variables and UK Biobank are summarized in Figure 12.
9.8 Cardiovascular Endpoint Definition
We validated our model using CVD death since this is the outcome which was used in the NHANES dataset to train LOCATOR model.

Figure 11. Three ROC curves of three models split using 33% and 67% percentiles of XGBoost predictions logit(LAUC( )). Subgroup 0% – 33% corresponds to low-performance subgroup, Subgroup 33% – 67% corresponds to medium-performance subgroup, and Subgroup 67% – 100% corresponds to high-performance subgroup. The ROC curves of the three subgroups show increasing performance when climbing from low- to high-performance subgroup. The AUC values shown in the legend also validate this. With confidence level of 95%, the confidence band is shown in the figure and the confidence intervals of AUC values are shown in the legend.
| NHANES Predictor | UK Biobank Field | Mapping / Conversion Rule | Truncation / Constraints |
|---|---|---|---|
| Age | 21003 | Continuous (years) | Restricted to 30-79 years |
| Sex | 31 | 1 = Male, 0 = Female | Binary |
| Race / Ethnicity | 21000 | White, British, Irish, or any other White background → 3 (Non-Hispanic White);Black or Black British, Caribbean, African, or any other Black background → 4 (Non-Hispanic Black);Asian or Asian British (Indian, Pakistani, Bangladeshi, Chinese), Mixed background, and other ethnic groups. → 5 Asian/Mixed/Other | Categorical (1-5) |
| Poverty Income Ratio | 189 (TDI) | Piecewise linear mapping from UK Biobank Townsend Deprivation Index (TDI)PIR = | Bounded to [0,5] |
| Education | Fields 6138, 845 | Category 5 (College graduate or above): College or university degree.Category 4 (Some college / Associate degree): A/AS levels, NVQ/HND/HNC, or other professional qualifications (e.g., nursing, teaching).Category 3 (High school / GED equivalent): O-levels/GCSEs or CSEs.Category 2 (9-11th grade): No formal qualification (6138 = -7) with age leaving full-time education ≥ 14 years.Category 1 (<9th grade): No formal qualification (6138 = -7) with age leaving full-time education < 14 years. | Categorical (1-5) |
| Systolic BP | 4080, 93 | Average of baseline repeated readings (mmHg) | Capped at [90,200] mmHg |
| Diastolic B | 4079, 94 | Average of baseline readings (mmHg) | Continuous |
| Antihypertensive Treatment | 6153, 20003 | Prescribed blood pressure lowering therapy | 1 = Yes, 0 = No |
| Total Cholesterol | 30690 | mmol/L × 38.67 → mg/dL | Capped at [130,320] mg |
| HDL Cholesterol | 30760 | mmol/L × 38.67 → mg/dL | Capped at [20,100] mg/dL |
| Statin Therapy | 6153, 20003 | Prescribed cholesterol lowering therapy | 1 = Yes, 0 = No |
| BMI | 21001 | Continuous (kg/m) | Capped at [18.5,39.9] kg |
| Diabetes | 2443, 20002 | Self-reported or clinician-diagnosed diabetes | 1 = Yes, 0 = No |
| Current Smoking | Fields 20116, 20160 | ≥ 100 lifetime cigarettes and current smoker | 1 = Yes, 0 = No |
| Cancer History | 2453, 20001 | History of any malignant neoplasm | 1 = Yes, 0 = No |
| Hemoglobin | 30020 | Continuous (g/dL) | Continuous |
| Hematocrit | 30030 | Continuous (%) | Continuous |
45
Figure 12. Harmonization summary of NHANES and UK Biobank variable definitions


Figure 13. The histogram of standard AUC values of low- and high-performance subgroups in the test set of NHANES data with 100 seeds (0-99). The whole method is implemented: train the XGBoost model in the training set, then identify low- and high-performance subgroups in the test set. Then calculate the unweighted AUC in low- and high-performance subgroups respectively. Repeat the procedure for 100 seeds from 0 to 99 and plot the histogram using all AUC values. The figure shows that low-performance subgroup has lower AUC than high-performance subgroup. The mean AUC of low-performance subgroup is 0.744, with standard variation 0.0157. The mean AUC of high-performance subgroup is 0.822, with standard variation 0.0394.

Figure 14. UMAP visualization of the distribution of age, sex (male=1, female=0), education (Less Than 9th Grade=1, 9-11th Grade (Includes 12th grade with no diploma)=2, High School Grad/GED or Equivalent=3, Some College or AA degree=4, College Graduate or above=5, Refused=7, Don’t Know=9), race/ethnicity(Mexican American=1, Other Hispanic=2, Non-Hispanic White=3, Non-Hispanic Black=4, Other Race - Including Multi-Racial=5) and the ratio of poverty to income in testing data set.

Figure 15. The histogram of the calculated weighted AUC in test set. The chosen seed is 64, corresponding to the maximum AUC-delta parsimonious model. Mean AUC: 0.8260, Median AUC: 0.8282

Figure 16. The histogram of the calculated weighted AUC in train set. The chosen seed is 64, corresponding to the maximum AUC-delta parsimonious model. Mean AUC: 0.8321, Median AUC: 0.8359


Figure 17. The histogram of the Gower distance in test set. The chosen seed is 64, corresponding to the maximum AUC-delta parsimonious model. The histograms show that the distribution of Gower distance is close to Poisson or Gaussian distribution, which helps show that both the training set and testing set are non-biased and are not having preference towards specific subgroups which share certain similarities.
| Grouped by cvd_death | ||||||
|---|---|---|---|---|---|---|
| Missing | Overall | False | True | P-Value | ||
| n | 17748 | 16992 | 756 | |||
| Age (years), mean (SD) | 0 | 51.5 (13.5) | 50.9 (13.2) | 65.3 (11.0) | <0.001 | |
| Sex, n (%) | female | 8989 (50.6) | 8671 (51.0) | 318 (42.1) | <0.001 | |
| male | 8759 (49.4) | 8321 (49.0) | 438 (57.9) | |||
| Race / Ethnicity, n (%) | Mexican | 3682 (20.7) | 3557 (20.9) | 125 (16.5) | <0.001 | |
| American | ||||||
| Non-Hispanic | 3403 (19.2) | 3222 (19.0) | 181 (23.9) | |||
| Black | ||||||
| Non-Hispanic | 8719 (49.1) | 8317 (48.9) | 402 (53.2) | |||
| White | ||||||
| Other / Multi-Racial | 677 (3.8) | 665 (3.9) | 12 (1.6) | |||
| Other Hispanic | 1267 (7.1) | 1231 (7.2) | 36 (4.8) | |||
| Education Level, n (%) | Less than 9th Grade | 2449 (13.8) | 2280 (13.4) | 169 (22.4) | <0.001 | |
Continued on next page
| Grouped by cvd_death | |||||
|---|---|---|---|---|---|
| Missing | Overall | False | True | P-Value | |
| 9th–11th | 2737 (15.4) | 2581 (15.2) | 156 (20.6) | ||
| Grade | |||||
| High School | 4142 (23.3) | 3952 (23.3) | 190 (25.1) | ||
| Grad / GED | |||||
| Some College / AA degree | 4601 (25.9) | 4462 (26.3) | 139 (18.4) | ||
| College | 3798 (21.4) | 3698 (21.8) | 100 (13.2) | ||
| Graduate or Above | |||||
| Refused | 8 (0.0) | 6 (0.0) | 2 (0.3) | ||
| Don’t Know | 13 (0.1) | 13 (0.1) | 0 (0.0) | ||
| Poverty-Income Ratio, mean (SD) | 1378 | 2.8 (1.6) | 2.8 (1.6) | 2.3 (1.5) | <0.001 |
| Systolic BP (mmHg), mean (SD) | 0 | 124.7 (17.3) | 124.2 (17.0) | 135.3 (19.3) | <0.001 |
| Diastolic BP (mmHg), mean (SD) | 0 | 72.2 (12.3) | 72.3 (12.1) | 69.1 (15.4) | <0.001 |
| Hypertension Meds, n (%) | False | 13467 (75.9) | 13082 (77.0) | 385 (50.9) | <0.001 |
Continued on next page
| Grouped by cvd_death | ||||||
|---|---|---|---|---|---|---|
| Missing | Overall | False | True | P-Value | ||
| True | 4281 (24.1) | 3910 (23.0) | 371 (49.1) | |||
| Total Cholesterol (mg/dL), mean (SD) | 0 | 204.4 (39.1) | 204.4 (39.0) | 204.7 (41.0) | 0.846 | |
| HDL Cholesterol (mg/dL), mean (SD) | 0 | 52.6 (15.6) | 52.6 (15.6) | 51.9 (15.7) | 0.235 | |
| BMI (), mean (SD) | 0 | 28.7 (5.5) | 28.7 (5.5) | 29.2 (5.7) | 0.035 | |
| Height (cm), mean (SD) | 0 | 167.8 (10.1) | 167.8 (10.1) | 167.4 (10.1) | 0.358 | |
| Waist Circumference (cm), mean (SD) | 252 | 99.0 (15.1) | 98.8 (15.0) | 103.3 (15.8) | <0.001 | |
| Diabetes Mellitus, n (%) | False | 15887 (89.5) | 15311 (90.1) | 576 (76.2) | <0.001 | |
| True | 1861 (10.5) | 1681 (9.9) | 180 (23.8) | |||
| Current Smoker, n (%) | False | 13777 (77.6) | 13210 (77.7) | 567 (75.0) | 0.084 | |
| True | 3971 (22.4) | 3782 (22.3) | 189 (25.0) | |||
| Statin Use, n (%) | False | 15470 (87.2) | 14895 (87.7) | 575 (76.1) | <0.001 | |
| True | 2278 (12.8) | 2097 (12.3) | 181 (23.9) | |||
| Serum Creatinine (mg/dL), mean (SD) | 0 | 0.9 (0.4) | 0.9 (0.4) | 1.0 (0.8) | <0.001 | |
Continued on next page
| Grouped by cvd_death | ||||||
|---|---|---|---|---|---|---|
| Missing | Overall | False | True | P-Value | ||
| eGFR (mL/min/1.73 m²), mean (SD) | 0 | 94.6 (19.1) | 95.2 (18.8) | 81.4 (21.9) | <0.001 | |
| HbA1c (%), median [Q1,Q3] | 35 | 5.5 [5.2,5.8] | 5.5 [5.2,5.8] | 5.7 [5.4,6.3] | <0.001 | |
| ALT (U/L), mean (SD) | 43 | 26.9 (29.1) | 27.0 (29.4) | 24.6 (21.3) | 0.003 | |
| AST (U/L), mean (SD) | 43 | 26.3 (22.1) | 26.3 (22.3) | 26.5 (18.4) | 0.842 | |
| Albumin (g/dL), mean (SD) | 0 | 42.6 (3.2) | 42.6 (3.2) | 41.9 (3.2) | <0.001 | |
| Hemoglobin (g/dL), mean (SD) | 32 | 14.3 (1.5) | 14.3 (1.5) | 14.2 (1.6) | 0.109 | |
| Hematocrit (%), mean (SD) | 32 | 42.1 (4.3) | 42.1 (4.3) | 42.2 (4.5) | 0.797 | |
| WBC Count (1000 cells/μL), mean (SD) | 32 | 7.1 (2.4) | 7.1 (2.4) | 7.3 (2.2) | 0.043 | |
| Platelet Count (1000 cells/μL), mean (SD) | 32 | 264.0 (68.3) | 264.4 (68.0) | 254.2 (73.4) | <0.001 | |
| CRP (mg/L), median [Q1,Q3] | 6 | 2.1 [0.9,4.8] | 2.1 [0.9,4.7] | 3.0 [1.4,6.5] | <0.001 | |
| History of Cancer, n (%) | False | 16270 (91.7) | 15601 (91.8) | 669 (88.5) | 0.002 | |
| True | 1478 (8.3) | 1391 (8.2) | 87 (11.5) | |||
| Missing | Overall | High-Performance Subgroup | Grouped by Outcome | |||
|---|---|---|---|---|---|---|
| Low-Performance Subgroup | P-Value | |||||
| n | 3550 | 1775 | 1775 | |||
| Hypertension Meds, n (%) | False | 2698 (76.0) | 1608 (90.6) | 1090 (61.4) | <0.001 | |
| True | 852 (24.0) | 167 (9.4) | 685 (38.6) | |||
| Statin Use, n (%) | False | 3099 (87.3) | 1692 (95.3) | 1407 (79.3) | <0.001 | |
| True | 451 (12.7) | 83 (4.7) | 368 (20.7) | |||
| Current Smoker, n (%) | False | 2786 (78.5) | 1600 (90.1) | 1186 (66.8) | <0.001 | |
| True | 764 (21.5) | 175 (9.9) | 589 (33.2) | |||
| Diabetes Mellitus, n (%) | False | 3162 (89.1) | 1710 (96.3) | 1452 (81.8) | <0.001 | |
| True | 388 (10.9) | 65 (3.7) | 323 (18.2) | |||
| Age (years), mean (SD) | 0 | 51.4 (13.5) | 46.3 (12.2) | 56.5 (12.9) | <0.001 | |
| History of Cancer, n (%) | False | 3291 (92.7) | 1751 (98.6) | 1540 (86.8) | <0.001 | |
| True | 259 (7.3) | 24 (1.4) | 235 (13.2) | |||
| Education Level, n (%) | Less than 9th | 482 (13.6) | 153 (8.6) | 329 (18.5) | <0.001 | |
| Grade | ||||||
| 9th–11th | 563 (15.9) | 180 (10.1) | 383 (21.6) | |||
| Grade | ||||||
Continued on next page
| Missing | Overall | High-Performance Subgroup | Grouped by Outcome | ||
|---|---|---|---|---|---|
| Low-Performance Subgroup | P-Value | ||||
| Sex, n (%) | High School | 831 (23.4) | 373 (21.0) | 458 (25.8) | |
| Grad / GED | |||||
| Some College / AA degree | 887 (25.0) | 496 (27.9) | 391 (22.0) | ||
| College | 784 (22.1) | 570 (32.1) | 214 (12.1) | ||
| Graduate or Above | |||||
| Don’t Know | 3 (0.1) | 3 (0.2) | 0 (0.0) | ||
| Female | 1820 (51.3) | 936 (52.7) | 884 (49.8) | 0.087 | |
| Male | 1730 (48.7) | 839 (47.3) | 891 (50.2) | ||
| Poverty-Income Ratio, mean (SD) | 0 | 2.7 (1.6) | 3.3 (1.6) | 2.2 (1.5) | <0.001 |
| Systolic BP (mmHg), mean (SD) | 0 | 124.5 (17.6) | 119.3 (15.7) | 129.8 (17.9) | <0.001 |
| Race / Ethnicity, n (%) | Mexican American | 718 (20.2) | 344 (19.4) | 374 (21.1) | <0.001 |
Continued on next page
| Missing | Overall | High-Performance Subgroup | Grouped by Outcome | ||
|---|---|---|---|---|---|
| Low-Performance Subgroup | P-Value | ||||
| 54 | Non-Hispanic | 722 (20.3) | 240 (13.5) | 482 (27.2) | |
| Black | |||||
| Non-Hispanic | 1734 (48.8) | 997 (56.2) | 737 (41.5) | ||
| White | |||||
| Other / Multi-Racial | 128 (3.6) | 41 (2.3) | 87 (4.9) | ||
| Other Hispanic | 248 (7.0) | 153 (8.6) | 95 (5.4) | ||
| Diastolic BP (mmHg), mean (SD) | 0 | 72.0 (11.9) | 71.4 (10.4) | 72.6 (13.2) | 0.003 |
| HDL Cholesterol (mg/dL), mean (SD) | 0 | 52.8 (15.6) | 52.6 (14.4) | 53.1 (16.7) | 0.382 |
| Total Cholesterol (mg/dL), mean (SD) | 0 | 205.1 (39.5) | 205.4 (38.5) | 204.7 (40.4) | 0.592 |
| Hemoglobin (g/dL), mean (SD) | 0 | 14.3 (1.5) | 14.3 (1.4) | 14.3 (1.6) | 0.909 |
| Hematocrit (%), mean (SD) | 0 | 42.1 (4.3) | 42.0 (4.1) | 42.1 (4.5) | 0.577 |
Continued on next page
| Missing | Overall | High-Performance Subgroup | Grouped by Outcome | |||
|---|---|---|---|---|---|---|
| Low-Performance Subgroup | P-Value | |||||
| cvd_death, n (%) | False | 3399 (95.7) | 1743 (98.2) | 1656 (93.3) | <0.001 | |
| True | 151 (4.3) | 32 (1.8) | 119 (6.7) | |||
| weighted AUC, median [Q1,Q3] | 0 | 0.8 [0.7,0.9] | 0.9 [0.9,0.9] | 0.7 [0.7,0.8] | <0.001 | |
10 REFERENCES
[1] P. A. Jaskowiak, I. G. Costa, and R. J. G. B. Campello, “The area under the ROC curve as a measure of clustering quality,” CoRR, vol. abs/2009.02400, 2020. arXiv: 2009.02400. [Online]. Available: https://arxiv.org/abs/2009.02400
[2] S. S. Khan et al., “Development and validation of the american heart association’s prevent equations,” Circulation, vol. 149, no. 6, pp. 430–449, 2024. DOI: 10.1161/CIRCULATIONAHA.123.067626 eprint: https://www.ahajournals.org/doi/pdf/10.1161/CIRCULATIONAHA.123.067626. [Online]. Available: https://www.ahajournals.org/doi/abs/10.1161/CIRCULATIONAHA.123.067626
[3] S. working group and E. C. risk collaboration, “Score2 risk prediction algorithms: New models to estimate 10-year risk of cardiovascular disease in europe,” European Heart Journal, vol. 42, no. 25, pp. 2439–2454, Jul. 2021, ISSN: 0195-668X. DOI: 10.1093/eurheartj/ehab309 eprint: https://academic.oup.com/eurheartj/article-pdf/42/25/2439/46633454/ehab309.pdf. [Online]. Available: https://doi.org/10.1093/eurheartj/ehab309
[4] R. Mondal and R. Ritu, “Aha’s new prevent 10-year cardiovascular risk and all-cause, cvd, and non-cvd mortality among us adults: The nhanes 2003–2019,” Hipertensión y Riesgo Vascular, vol. 42, no. 4, pp. 259–266, 2025, ISSN: 1889-1837. DOI: https://doi.org/10.1016/j.hipert.2025.02.003 [Online]. Available: https://www.sciencedirect.com/science/article/pii/S1889183725000455
[5] X. Yan et al., “Performance of the american heart association’s prevent equations among disaggregated racial and ethnic subgroups,” JAMA Cardiology, vol. 10, no. 9, pp. 876–885, Sep. 2025, ISSN: 2380-6583. DOI: 10.1001/jamacardio.2025.1865 eprint: https://jamanetwork.com/journals/jamacardiology/articlepdf/2835783/jamacardiology_yan_2025_oi_250031_1757354399.78721.pdf. [Online]. Available: https://doi.org/10.1001/jamacardio.2025.1865
[6] S. V. Rodney A Hayward David M Kent and T. P. Hofer, “Multivariable risk prediction can greatly enhance the statistical power of clinical trial subgroup analysis,” BMC Med Res Methodol, vol. 6, no. 18, 2006. doi: https://doi.org/10.1186/1471-2288-6-18
[7] E. K. Oikonomou, E. S. Spatz, M. A. Suchard, and R. Khera, “Individualising intensive systolic blood pressure reduction in hypertension using computational trial phenomaps and machine learning: A post-hoc analysis of randomised clinical trials,” The Lancet Digital Health, vol. 4, no. 11, e796–e805, 2022, ISSN: 2589-7500. DOI: https://doi.org/10.1016/S2589-7500(22)00170-4 [Online]. Available: https://www.sciencedirect.com/science/article/pii/S2589750022001704
[8] J. C. Gower, “A general coefficient of similarity and some of its properties,” Biometrics, vol. 27, no. 4, pp. 857–871, 1971, ISSN: 0006341X, 15410420. Accessed: Jul. 10, 2026. [Online]. Available: http://www.jstor.org/stable/2528823
[9] L. A. C. Millard, P. A. Flach, and J. P. T. Higgins, “Rate-constrained ranking and the rate-weighted auc,” in Machine Learning and Knowledge Discovery in Databases, T. Calders, F. Esposito, E. Hüllermeier, and R. Meo, Eds., Berlin, Heidelberg: Springer Berlin Heidelberg, 2014, pp. 386–403, ISBN: 978-3-662-44851-9.
[10] B. Rozemberczki et al., The shapley value in machine learning, 2022. arXiv: 2202.05594 [cs.LG]. [Online]. Available: https://arxiv.org/abs/2202.05594
[11] T. Fawcett, “An introduction to roc analysis,” Pattern Recognition Letters, vol. 27, no. 8, pp. 861–874, 2006, ROC Analysis in Pattern Recognition, ISSN: 0167-8655. DOI: https://doi.org/10.1016/j.patrec.2005.10.010 [Online]. Available: https://www.sciencedirect.com/science/article/pii/S016786550500303X
[12] Centers for Disease Control and Prevention. “About the national health and nutrition examination survey,” Accessed: Jul. 31, 2026. [Online]. Available: https://www.cdc.gov/nchs/nhanes/about/index.html
[13] F. Pedregosa et al., “Scikit-learn: Machine learning in Python,” Journal of Machine Learning Research, vol. 12, pp. 2825–2830, 2011.
[14] M. Mayer, Preventr: An implementation of the prevent and pooled cohort equations, R package version 0.12.0, 2026. [Online]. Available: https://martingmayer.com/preventr
[15] G. Biau and B. Cadre, “Optimization by gradient boosting,” in Advances in Contemporary Statistics and Econometrics: Festschrift in Honor of Christine Thomas-Agnan, A. Daouia and A. Ruiz-Gazen, Eds. Cham: Springer International Publishing, 2021, pp. 23–44, ISBN: 978-3-030-73249-3. DOI: 10.1007/978-3-030-73249-3_2 [Online]. Available: https://doi.org/10.1007/978-3-030-73249-3_2
[16] T. Chen and C. Guestrin, “Xgboost: A scalable tree boosting system,” CoRR, vol. abs/1603.02754, 2016. arXiv: 1603.02754. [Online]. Available: http://arxiv.org/abs/1603.02754
[17] J. H. Friedman, “Greedy function approximation: A gradient boosting machine.” Annals of Statistics, vol. 29, pp. 1189–1232, 2001. [Online]. Available: https://api.semanticscholar.org/CorpusID:39450643
[18] A. J. Lee, U-Statistics: Theory and Practice (Statistics: A Series of Textbooks and Monographs). CRC Press, 1990, vol. 110, ISBN: 9780824782535. DOI: 10.1201/9780203734520 [Online]. Available: https://doi.org/10.1201/9780203734520
[19] E. Slutsky, “Über stochastische asymptoten und grenzwerte,” Metron (in German), vol. 5, no. 3, pp. 3–89, 1925.
[20] L. McInnes, J. Healy, and J. Melville, Umap: Uniform manifold approximation and projection for dimension reduction, 2020. arXiv: 1802.03426 [stat.ML]. [Online]. Available: https://arxiv.org/abs/1802.03426