Supplementary Table S2. Common Preprocessing, Validation, and Reproducibility Settings

Component Specification
Categorical encoding Reference-category dummy coding with a separate MISSING category: OneHotEncoder(drop='first', handle_unknown='ignore', sparse_output=False).
Reference categories Male; Seoul; urban residence; lowest income quintile; elementary school or lower; managerial/professional occupation; one-person household; no home ownership; detached housing; ever married; privately insured; not currently smoking; insufficient aerobic activity; no physician-diagnosed hypertension or dyslipidemia.
Continuous preprocessing Median imputation and standardization of capped age, BMI, systolic blood pressure, diastolic blood pressure, and HbA1c. Spline transformation preceded standardization in the spline model. Binary indicators were not standardized.
Cross-validation Outcome-stratified five-fold cross-validation with shuffling. Data partitioning and cross-validation were performed at the individual level without enforcing separation of primary sampling units (PSUs).
Fold-specific preprocessing All imputation and transformation parameters were estimated exclusively within each cross-validation training fold using a Pipeline.
Hyperparameter selection GridSearchCV maximized mean survey-weighted ROC-AUC across folds and refitted the selected configuration on the entire training dataset.
Training weights Training-fold survey weights were divided by their mean and passed to each estimator through sample_weight.
Scoring weights A custom scoring function passed assessment-fold survey weights to roc_auc_score(..., sample_weight=...).
Class imbalance No resampling or explicit class weighting beyond survey weighting.
Random seeds Partitioning, cross-validation, Elastic Net, XGBoost, and LightGBM: 20260828; permutation importance: 20260837; bootstrap: 20260870.
Permutation importance Survey-weighted validation AUC decrease over 20 permutations. Age-derived terms were permuted jointly; each clinical measurement was permuted with its missingness indicator.
Confidence intervals Stratified Rao–Wu PSU bootstrap, 500 replicates, 95% percentile intervals, without model refitting. Within each stratum, m − 1 of m PSUs were sampled with replacement and multiplicities rescaled by m/(m − 1); singleton multipliers were fixed at 1. Eligible PSUs without evaluation observations were retained.
Final input dimensionality XGBoost: 72 columns comprising five continuous, five binary, and 62 categorical dummy columns.
Software versions Python 3.12.14; NumPy 2.2.6; pandas 2.2.3; SciPy 1.15.3; scikit-learn 1.6.1; XGBoost 2.1.4; LightGBM 4.6.0.
BMI, body mass index; HbA1c, glycated hemoglobin; ROC-AUC, area under the receiver operating characteristic curve.