Secondary relevance to vitamin D This paper mainly addresses another topic and also reports a vitamin D analysis, result or scientific synthesis.
This paper mainly addresses another topic and also reports a vitamin D analysis, result or scientific synthesis.
Why this paper is included
Supporting source evidence:
Vitamin D (mean (SD)) | | 62.35 (29.11) | 65.71 (31.56) | 0.11
Source: Results table. View original paper
Relevance classification does not establish study quality, causation or editorial approval.
Study design Secondary analysis.
Secondary analysis
Analyses existing study data; this paper is not automatically another independent trial.
Meta-analysis unclear · Blinding unclear / not reported · Human research reported
How this paper was classified
Automatic source-based classification; awaiting editorial verification. This is not a quality score.
A total of 3,806 CKD patients were enrolled and randomly allocated to training (70%, n = 2,667) and internal validation (30%, n = 1,139) cohorts, with an additional external validation cohort from the China Renal Data System or Chinese Renal Disease Data System.
Source: Abstract.
As this study constitutes a secondary analysis of both datasets, it is exempt from further ethical review.
Source: Methods.
What the study types mean
- Systematic review
- Uses explicit methods to identify, assess and summarise research on a defined question.
- Scoping review
- Maps the extent and characteristics of research on a topic.
- Narrative review
- Discusses existing research; systematic-review methods have not been established by this classification.
- Review / evidence synthesis
- Reviews existing research; the exact review methods need further assessment.
- Randomised controlled trial
- Assigns participants or groups to comparison interventions by chance.
- Non-randomised intervention study
- Examines an intervention without random allocation.
- Cohort study
- Examines exposures and outcomes over time within a defined group.
- Case-control study
- Compares people with an outcome against people without it, examining exposures.
- Cross-sectional study
- Examines a population at a particular point in time.
- Observational study
- Observes exposures and outcomes without assigning the exposure; the subtype is not established here.
- Case report
- Describes an individual case.
- Case series
- Describes a group of individual cases.
- Secondary analysis
- Analyses existing study data; this paper is not automatically another independent trial.
- Laboratory study
- Investigates biological processes in a laboratory setting.
- Qualitative study
- Examines experiences or meanings using qualitative methods.
- Genetic instrumental-variable study
- Uses genetic variation as an instrument to investigate relationships; this is not a randomised treatment trial.
- Study protocol
- Describes planned methods and is not evidence that the planned study has reported results.
- Multiple reported designs
- More than one design is explicitly reported; examine the supporting methods.
- Study design awaiting verification
- The available source does not establish a sufficiently clear study design.
Meta-analysis combines numerical results from studies. Blinding describes who was unaware of treatment allocation. Neither is a separate quality grade. Study design, vitamin D relevance and document format are independent filters.
Full studies
Development and validation of cluster-specific diagnostic models for osteoporosis in chronic kidney disease patients: based on NHANES and CRDS data
Secondary analysis · BMC Nephrology · 2026
Original publication title
Development and validation of cluster-specific diagnostic models for osteoporosis in chronic kidney disease patients: based on NHANES and CRDS data
© The Author(s) 2026
Original publication · Publisher record · CC BY 4.0 · CC BY 4.0
Source wording retained. Formatting, section navigation and display-title punctuation adapted for this research record.
At a glance
Abstract: What objectives does the paper state?
To develop and validate cluster-specific diagnostic models for osteoporosis in patients with chronic kidney disease (CKD) using routine clinical parameters.
Source: ObjectiveStudy methods
What methods does the paper describe?
Data source
This study utilized data from two sources. Primary data were obtained from the publicly accessible NHANES, a nationally representative cross-sectional survey conducted by the National Center for Health Statistics (NCHS). Data from these survey cycles were included: 2005–2010, 2013–2014, and 2017–2018, as these cycles contained bone mineral density measurements. Approved by the NCHS Institutional Review Board, all participants provided written informed consent. External validation data were obtained from the CRDS, a national multicenter electronic medical records database integrating de-identified clinical data from 28 tertiary hospitals across 18 provinces in China.
As this study constitutes a secondary analysis of both datasets, it is exempt from further ethical review.
Study population
Participants aged 20 years or older who met the diagnostic criteria for CKD were enrolled. CKD was defined as either (1) an eGFR less than 60 mL/min/1.73 m² calculated using the CKD Epidemiology Collaboration Eq. [7], or (2) a urine albumin-to-creatinine ratio (UACR) of 30 mg/g or greater. Participants lacking BMD data at all three anatomical sites (lumbar spine, femoral neck, and total hip) were excluded. Following application of inclusion and exclusion criteria, a total of 3,806 participants were enrolled in the final analysis.
The study population was randomly allocated to training (70%, n = 2,667) and internal validation (30%, n = 1,139) cohorts. For external validation, data from the CRDS database were used, comprising approximately 89,663 participants with confirmed CKD and documented osteoporosis diagnosis.
Diagnosis of osteoporosis
Osteoporosis was diagnosed by BMD measurements via DEXA (HOLOGIC Discovery A, U.S.) in the NHANES cohort, whereas the CRDS cohort included participants with a documented clinical diagnosis. Following standardized protocols, BMD was measured at three sites (lumbar spine, total hip, and femoral neck), and the lowest T-score was used for diagnosis. The T-score was calculated relative to the young adult reference mean (non-Hispanic white, aged 20–29 years from NHANES). According to WHO criteria, osteoporosis was defined as a T-score ≤ -2.5 (postmenopausal women and men ≥ 50 years) or ethnicity-specific Z-scores ≤ -2.0 (premenopausal women and men < 50 years), consistent with ISCD recommendation [8–10].
Variable definitions
Candidate risk factors comprised demographic, clinical examination, laboratory test, dietary, and questionnaire information. Demographic variables included age, sex, race, education level, marital status, and poverty income ratio; menopausal status was excluded due to structural missingness in males and over 40% missingness in females. Clinical examination included weight, height, body mass index, waist circumference, arm circumference, and DEXA measurements. Laboratory parameters encompassed serum creatinine, blood urea nitrogen, serum uric acid, serum calcium, serum phosphorus, alkaline phosphatase, estimated glomerular filtration rate, urinary albumin-to-creatinine ratio, lactate dehydrogenase, aspartate aminotransferase, alanine aminotransferase, urine albumin, urine creatinine, fasting glucose, glycated hemoglobin, total cholesterol, high-density lipoprotein cholesterol, triglycerides, low-density lipoprotein cholesterol, serum iron, red blood cell count, hemoglobin, red blood cell distribution width, white blood cell count, platelet count, monocyte count, lymphocyte count, serum folate, 25-hydroxyvitamin D, serum albumin, and systemic immune-inflammation index; CRP was removed due to missingness exceeding 20–30% and intact PTH was excluded as it exceeded 70% missing data.
Dietary was obtained from 24-hour dietary recall interviews and included daily intake of total fat and calcium. Questionnaire information captured self-reported medical history (prior diagnosis of hypertension, diabetes mellitus, coronary heart disease, angina, arthritis, thyroid disease, and cancer; dialysis status, personal and familial fracture history), lifestyle factors (smoking status, alcohol consumption, physical activity), and medication use (erythropoietin, glucocorticoids, and hormone therapy).
Statistical analysis
Data preprocessing
Missing data codes (7, 9, 77, 99) were recoded as NA, and with over 30% missing data were removed [11]. For variables with less than 30% missing data, multiple imputation was performed using the mice package in R software (used survey weights as auxiliary variables). After imputation, summary statistics were calculated. For the CRDS external validation cohort, only participants with complete records were selected, therefore, no additional imputation was required. Continuous variables were presented as mean (standard deviation) and compared using weighted t-tests, while categorical variables were expressed as n (%) and compared using weighted chi-square tests.
To account for the complex sampling design, we divided the 2-year MEC weights (WTMEC2YR) by 5 to yield 10-year weights (WTMEC10YR), with variance estimated using SDMVPSU and SDMVSTRA [12].
K-means clustering
K-means clustering was performed using kidney and bone-related biomarkers (eGFR, UACR, serum creatinine, blood urea nitrogen, serum uric acid, serum calcium, serum phosphorus, and alkaline phosphatase) to identify distinct CKD phenotypic subgroups. The optimal number of clusters was determined using the elbow method and silhouette analysis [13]. Principal component analysis (PCA) was employed for visualization of cluster separation.
Feature selection
Feature selection was performed to identify key risk factors of osteoporosis in CKD patients, reduce dimensionality, and prevent overfitting. Initially, survey-weighted univariable logistic regression analyses were conducted to preliminarily screen candidate risk factors, with relatively liberal statistical significance defined as a two-sided P value < 0.05. Variables meeting this threshold were subsequently included in the next step. To enhance robustness, two methods were integrated: survey-weighted LASSO regression and the Boruta algorithm. Survey weights were incorporated as weights in the LASSO regression using the WTMEC10YR.
LASSO regression uses L1 regularization, which applies a series of adjustment parameters and cross-validation. This approach facilitates feature selection, model simplification, and the identification of optimal variables. The Boruta algorithm iteratively compares the importance of original features with shadow features using a random forest classifier, marking features as “confirmed” if their importance consistently exceeds the best shadow feature [11]. To ensure conservative feature selection and reduce overfitting, only risk factors selected by both LASSO and Boruta were retained.
In addition, we examined multicollinearity via VIF analysis, considering VIF values < 5–10 as evidence of acceptable independence among covariates [14].
Model construction and evaluation
Final diagnostic models were constructed using weighted logistic regression with NHANES sampling weights. Performance was assessed by ROC-AUC, calibration curves, and DCA in both internal and external (CRDS) validation cohorts. NRI and IDI were used to compare stratified versus global models. Three nomograms and two web-based calculators were developed. Analyses were performed in R (v4.3.0). P < 0.05 was considered significant.
Results: Participant characteristics
The analytical sample comprised 3,806 CKD patients (2,667 training; 1,139 internal validation). Baseline characteristics of the training cohort are summarized in Table 1 (participant flow, Fig. 1). Mean age was 65.5 years, 57.2% were female, and osteoporosis prevalence was 13.6%. Patients with osteoporosis were older (74.0 vs. 64.1 years), predominantly female (84.3% vs. 52.8%), had lower BMI (25.3 vs. 29.9 kg/m²) and eGFR (58.3 vs. 69.0 mL/min/1.73 m²), and exhibited lower serum albumin, higher alkaline phosphatase, lower hemoglobin, and greater fracture history (26.7% vs. 12.7%; all *P* < 0.001).
C-reactive protein, parathyroid hormone, serum albumin, erythropoietin medication, and menopausal status were excluded owing to > 30% missing data. Among retained variables, missing rates were: demographics (< 1%), clinical measures (< 5%), laboratory values (1–15%), dietary variables (10–20%), and questionnaire items (< 5%), all below the 25% threshold acceptable for multiple imputation. Validation cohort characteristics and pre/post-imputation data are provided in Tables S1–S3. The CRDS external validation cohort comprised exclusively complete-case patients, yielding zero missing values.
Baseline characteristics of CKD patients in the training cohort
| Level | Without osteoporosis | Osteoporosis | p | |
|---|---|---|---|---|
| n | 2303 | 364 | ||
| Gender (%) | Male | 1228 (47.2) | 86 (15.7) | <0.001 |
| Female | 1075 (52.8) | 278 (84.3) | ||
| Age (mean (SD)) | 64.10 (15.60) | 74.01 (11.27) | <0.001 | |
| Education (%) | Below high school | 738 (22.3) | 126 (26.9) | 0.105 |
| High School or above | 1565 (77.7) | 238 (73.1) | ||
| Marital Status (%) | Yes | 1327 (62.3) | 137 (37.9) | <0.001 |
| No | 976 (37.7) | 227 (62.1) | ||
| Race (%) | Other | 1771 (86.9) | 333 (95.6) | <0.001 |
| Black | 532 (13.1) | 31 (4.4) | ||
| Height (mean (SD)) | 166.56 (9.64) | 158.75 (8.26) | <0.001 | |
| Weight (mean (SD)) | 82.91 (19.69) | 64.07 (15.87) | <0.001 | |
| Body Mass Index (mean (SD)) | 29.86 (6.39) | 25.34 (5.67) | <0.001 | |
| Arm Circumference (mean (SD)) | 33.18 (4.94) | 28.49 (4.45) | <0.001 | |
| Waist (mean (SD)) | 103.65 (15.12) | 93.12 (15.38) | <0.001 | |
| Serum Creatinine (mean (SD)) | 1.21 (0.72) | 1.24 (0.83) | 0.432 | |
| Blood Urea Nitrogen (mean (SD)) | 6.54 (3.08) | 7.26 (3.21) | 0.005 | |
| Serum Uric Acid (mean (SD)) | 363.16 (95.31) | 340.45 (102.70) | 0.002 | |
| Serum Albumin (mean (SD)) | 41.16 (3.29) | 40.95 (3.32) | 0.006 | |
| Calcium (mean (SD)) | 2.36 (0.10) | 2.37 (0.12) | 0.751 | |
| Phosphorus (mean (SD)) | 1.21 (0.19) | 1.26 (0.19) | <0.001 | |
| Alkaline Phosphatase (mean (SD)) | 76.53 (26.35) | 83.37 (46.42) | 0.001 | |
| Lactate Dehydrogenase (mean (SD)) | 144.66 (33.52) | 147.81 (37.11) | 0.016 | |
| Alanine Transaminase (mean (SD)) | 25.84 (15.00) | 25.55 (27.75) | 0.62 | |
| Aspartate Transaminase (mean (SD)) | 23.73 (21.56) | 19.82 (14.90) | 0.001 | |
| Urinary Albumin (mean (SD)) | 214.25 (798.50) | 177.33 (616.77) | 0.154 | |
| Urinary Creatinine (mean (SD)) | 114.90 (72.56) | 92.92 (61.45) | <0.001 | |
| Glycated Hemoglobin (mean (SD)) | 6.35 (1.42) | 6.04 (0.92) | <0.001 | |
| Total Cholesterol (mean (SD)) | 4.98 (1.18) | 5.05 (1.22) | 0.877 | |
| High-Density Lipoprotein Cholesterol (mean (SD)) | 1.34 (0.43) | 1.52 (0.47) | <0.001 | |
| Serum Ferritin (mean (SD)) | 14.56 (5.72) | 14.78 (6.20) | 0.484 | |
| Red Blood Cell Count (mean (SD)) | 4.56 (0.53) | 4.32 (0.50) | <0.001 | |
| Hemoglobin (mean (SD)) | 13.82 (1.62) | 13.27 (1.34) | <0.001 | |
| Red Cell Distribution Width (mean (SD)) | 13.61 (1.42) | 13.70 (1.82) | 0.082 | |
| White Blood Cell Count (mean (SD)) | 7.71 (5.74) | 7.22 (1.89) | 0.004 | |
| Platelet Count (mean (SD)) | 242.98 (72.76) | 244.27 (79.66) | 0.614 | |
| Monocyte Count (mean (SD)) | 0.61 (0.26) | 0.60 (0.21) | 0.957 | |
| Lymphocyte Count (mean (SD)) | 2.30 (4.89) | 1.96 (0.67) | 0.007 | |
| Neutrophil Count (mean (SD)) | 4.52 (1.84) | 4.41 (1.48) | 0.021 | |
| SII (mean (SD)) | 601.80 (373.22) | 612.50 (348.41) | 0.642 | |
| Dietary Calcium Intake (mean (SD)) | 836.59 (579.09) | 743.82 (410.80) | <0.001 | |
| Dietary Fat Intake (mean (SD)) | 23.50 (16.14) | 19.35 (11.71) | <0.001 | |
| Folate (mean (SD)) | 48.58 (36.50) | 62.36 (57.06) | <0.001 | |
| Vitamin D (mean (SD)) | 62.35 (29.11) | 65.71 (31.56) | 0.11 | |
| eGFR (mean (SD)) | 68.96 (26.77) | 58.33 (24.82) | <0.001 | |
| UACR (mean (SD)) | 222.91 (696.61) | 206.95 (511.73) | 0.318 | |
| Hypertension (%) | Yes | 1453 (59.8) | 255 (69.9) | 0.005 |
| No | 850 (40.2) | 109 (30.1) | ||
| Thyroid Disease (%) | Yes | 348 (17.2) | 80 (24.4) | 0.004 |
| No | 1955 (82.8) | 284 (75.6) | ||
| Coronary Heart Disease (%) | Yes | 251 (10.3) | 60 (16.7) | 0.013 |
| No | 2052 (89.7) | 304 (83.3) | ||
| Angina Pectoris (%) | Yes | 138 (5.1) | 41 (13.0) | 0.001 |
| No | 2165 (94.9) | 323 (87.0) | ||
| Arthritis (%) | Yes | 1028 (43.9) | 189 (55.4) | 0.002 |
| No | 1275 (56.1) | 175 (44.6) | ||
| Cancer (%) | Yes | 406 (18.5) | 82 (24.4) | 0.045 |
| No | 1897 (81.5) | 282 (75.6) | ||
| Glucocorticoid Use (%) | Yes | 4 (0.1) | 1 (0.3) | 0.345 |
| No | 2299 (99.9) | 363 (99.7) | ||
| Estrogen Use (%) | Yes | 19 (1.0) | 1 (0.3) | 0.189 |
| No | 2284 (99.0) | 363 (99.7) | ||
| Physical Exercise (%) | Yes | 783 (38.0) | 75 (23.7) | <0.001 |
| No | 1520 (62.0) | 289 (76.3) | ||
| Drink Status (%) | Yes | 1543 (72.9) | 194 (61.4) | <0.001 |
| No | 638 (27.1) | 154 (38.6) | ||
| Smoke Status (%) | Yes | 398 (16.7) | 51 (15.9) | 0.781 |
| No | 1905 (83.3) | 313 (84.1) | ||
| Diabetes Mellitus (%) | Yes | 905 (33.6) | 118 (27.9) | 0.149 |
| No | 1398 (66.4) | 246 (72.1) | ||
| Fracture-history (%) | Yes | 285 (12.7) | 91 (26.7) | <0.001 |
| No | 2018 (87.3) | 273 (73.3) | ||
| Family fracture-history (%) | Yes | 218 (11.8) | 42 (16.8) | 0.056 |
| No | 2085 (88.2) | 322 (83.2) |
Abbreviation: SII, Systemic Immune-Inflammation Index; UACR, Urine Albumin-to-Creatinine Ratio
Study cohort assembly and statistical analysis flowchart. (NHANES: National Health and Nutrition Examination Survey; CRDS: China Renal Data System or Chinese Renal Disease Data System)
Results: Cluster analysis and phenotypic subgroups
K-means clustering analysis identified three distinct phenotypic subgroups based on kidney and bone-related biomarkers. The optimal number of clusters was determined using the elbow method and silhouette analysis. The elbow plots (Fig. 2A and D) displayed the within-cluster sum of squares (WCSS) for k = 1 to 10, with a clear elbow point at k = 3 in both cohorts. Silhouette analysis (Fig. 2B and E) further supported this, showing the highest average silhouette scores at k = 3, indicating good cluster separation and cohesion.
PCA visualization (Fig. 2C F) demonstrated clear visual separation of the three clusters in principal component space for both cohorts. Importantly, identical three-cluster structures were obtained in both cohorts, indicating high reproducibility and stability of the phenotypic classification. The baseline characteristics of clustering indicators in the training and external validation cohorts are presented in Table 2 and Table S4, respectively. Cluster 1 (n = 127) represented a small subgroup with distinct biochemical profiles. Cluster 2 (n = 1,570) and Cluster 3 (n = 2,109) represented the two larger subgroups with adequate sample sizes for model development.
Due to the limited sample size of Cluster 1, diagnostic models were developed only for Clusters 2 and 3 (designated as Group A and Group B, respectively). To enhance clinical utility, we developed interactive online calculators based on these cluster models, allowing cluster assessment at the bedside (available at: https://osteoporosis.shinyapps.io/distinguish_phenotype/).
Baseline characteristics of three phenotypes in the training cohort
| Cluster | n | ALP | CA | PH | VID | eGFR | BUN | Scr |
|---|---|---|---|---|---|---|---|---|
| 1 | 95 | 120.747 | 2.291 | 1.554 | 53.715 | 18.253 | 16.382 | 4.378 |
| 2 | 1476 | 73.701 | 2.369 | 1.215 | 72.046 | 51.243 | 7.663 | 1.304 |
| 3 | 1096 | 79.003 | 2.354 | 1.184 | 51.231 | 93.868 | 4.408 | 0.827 |
ALP, alkaline phosphatase; CA, serum calcium; PH, serum phosphorus; VID, 25-hydroxyvitamin D; eGFR, estimated glomerular filtration rate; BUN, blood urea nitrogen; Scr, serum creatinine
K-means clustering analysis results. (A) Elbow method for optimal cluster number determination in training cohort; (B) Silhouette analysis for cluster validation in training cohort; (C) PCA visualization of cluster separation in training cohort; (D-F) Corresponding plots for validation cohort
Feature selection results for Group A. (A) Boruta feature selection plot; (B) LASSO regression cross-validation error curves; (C) Venn diagram showing overlap between LASSO and Boruta selected variables
Feature selection results for Group B. (A) Boruta feature selection plot; (B) LASSO regression cross-validation error curves; (C) Venn diagram showing overlap between LASSO and Boruta selected variables
Training and internal validation model performance evaluation. (A–C) Total population model: (A) ROC curves; (B) Calibration curve; (C) Decision curve. (D–F) Group A model: (D) ROC curves; (E) Calibration curve; (F) Decision curve analysis. (G–I) Group B model: (G) ROC curves; (H) Calibration curve; (I) Decision curve analysis
External validation model performance evaluation. (A–C) Group A model: (A) ROC curves; (B) Calibration curve; (C) Decision curve. (D–F) Group B model: (D) ROC curves; (E) Calibration curve; (F) Decision curve analysis
Nomogram for osteoporosis diagnostic model
Results: Feature selection
For Group A, 32 variables were significant in univariate analysis (Table S5); LASSO and Boruta selected 8 and 11 variables, respectively (Fig. 3), with 6 in the intersection: sex, age, body mass index, serum uric acid, serum creatinine, and fracture history. For Group B, 35 variables were significant (Table S6); LASSO and Boruta selected 11 and 15 variables (Fig. 4), yielding 7 final factors: sex, age, marital status, red blood cell count, body mass index, race, and fracture history.
For the Global Model, the same selection pipeline identified 8 variables: sex, age, marital status, body mass index, race, fracture history, alkaline phosphatase, and coronary heart disease.
Model performance metrics
| Group | AUC (95% CI) | Sensitivity (%) | Specificity (%) | PPV (%) | NPV (%) |
|---|---|---|---|---|---|
| NHANES | |||||
| Total Training | 0.849 (0.842-0.881) | 86 | 71.5 | 32.8 | 96.9 |
| Total Validation | 0.825 (0.772-0.843) | 86.7 | 62.1 | 25.9 | 96.8 |
| Group A Training | 0.880 (0.870-0.929) | 86.4 | 78.8 | 29.8 | 98.2 |
| Group A Validation | 0.839 (0.730-0.866) | 81 | 75.9 | 26 | 97.5 |
| Group B Training | 0.824 (0.810-0.859) | 84.4 | 67.5 | 34.6 | 95.5 |
| Group B Validation | 0.806 (0.763-0.853) | 81 | 62.5 | 28.4 | 94.7 |
| CRDS | |||||
| Group A Validation | 0.815(0.802-0.829) | 63.8 | 84.6 | 17.4 | 97.9 |
| Group B Validation | 0.808(0.798-0.818) | 68 | 79.1 | 14.5 | 97.9 |
Results: Model development and performance
Both cluster-specific models showed strong discrimination (Tables 3 and 4, Figs. 5and 6). Group A achieved AUCs of 0.880 (0.854–0.906) in training, 0.839 (0.798–0.880) in internal validation, 0.852 (0.822–0.885) after bootstrap optimism correction, and 0.815 in external validation. Group B achieved 0.824 (0.798–0.850), 0.806 (0.772–0.840), 0.800 (0.773–0.825), and 0.808, respectively. The Global Model achieved 0.849 (0.842–0.881) and 0.825 (0.772–0.843). All models exhibited good calibration and DCA utility (5–30% thresholds). Model performance hinged critically on sample size. In the modest NHANES cohort (Group A: n=411; Group B: n=716), stratification offered no incremental value over the global model (IDI: −0.031; NRI: 0.014), with both subgroups showing negative IDI values (−0.049 and −0.019, respectively) indicative of power erosion upon partitioning.
Conversely, in the large CRDS external cohort (Group A: n=26,794; Group B: n=48,883; Group C: n=13,986), Group B exhibited significant improvement with stratification (IDI: 0.006; NRI: 0.001) despite overall neutrality (IDI: −0.001), whereas Group A remained negative (IDI: −0.015). Notably, Group C was excluded from this validation, as it was discarded during the initial model construction. This suggests that the phenotype characterized by mineral metabolism derangement and progressive renal dysfunction is better accommodated by conventional risk factors embedded in the global model.
Net reclassification improvement and integrated discrimination improvement for global versus cluster-stratified models
| Data | Comparison | Phenotype | N | IDI (95% CI) | NRI at 10% cutoff (95% CI) |
|---|---|---|---|---|---|
| NHANES | Global vs Stratified | A+B | 1139 | -0.0307(-0.0468, -0.0119) | 0.0142(-0.0307, 0.0545) |
| NHANES | Global vs Stratified | A | 411 | -0.0487(-0.0864, -0.0036) | 0.0754(-0.0367, 0.1891) |
| NHANES | Global vs Stratified | B | 716 | -0.0189(-0.0291, -0.0039) | -0.0048(-0.0248, 0.0171) |
| CRDS | Global vs Stratified | A+B | 89963 | -0.0014(-0.0021,-0.0007) | 0.001(-0.0002,0.0024) |
| CRDS | Global vs Stratified | A | 26794 | -0.0149(-0.0162,-0.0135) | 0.0014(0.0005,0.0031) |
| CRDS | Global vs Stratified | B | 48883 | 0.0059(0.0055,0.0062) | 0.0008(-0.0006,0.0026) |
Model performance metrics
| Group | AUC (95% CI) | Sensitivity (%) | Specificity (%) | PPV (%) | NPV (%) |
|---|---|---|---|---|---|
| NHANES | |||||
| Total Training | 0.849 (0.842-0.881) | 86 | 71.5 | 32.8 | 96.9 |
| Total Validation | 0.825 (0.772-0.843) | 86.7 | 62.1 | 25.9 | 96.8 |
| Group A Training | 0.880 (0.870-0.929) | 86.4 | 78.8 | 29.8 | 98.2 |
| Group A Validation | 0.839 (0.730-0.866) | 81 | 75.9 | 26 | 97.5 |
| Group B Training | 0.824 (0.810-0.859) | 84.4 | 67.5 | 34.6 | 95.5 |
| Group B Validation | 0.806 (0.763-0.853) | 81 | 62.5 | 28.4 | 94.7 |
| CRDS | |||||
| Group A Validation | 0.815(0.802-0.829) | 63.8 | 84.6 | 17.4 | 97.9 |
| Group B Validation | 0.808(0.798-0.818) | 68 | 79.1 | 14.5 | 97.9 |
Results: Model interpretability and visualization
To facilitate clinical decision making, nomograms were constructed based on the final weighted logistic regression models (Fig. 7). These visual tools enable rapid individualized risk estimation without computational software. To enhance clinical utility, we developed interactive online calculators based on the nomograms of Group A and Group B, allowing real-time risk assessment at the bedside. (available at: https://osteoporosis.shinyapps.io/GroupA_calculator/ and https://osteoporosis.shinyapps.io/GroupB_calculator/).
Source: Model interpretability and visualizationDiscussion
In this study, we developed and validated cluster-specific diagnostic models for osteoporosis in CKD patients. Unlike conventional one-size-fits-all approaches, our methodology acknowledges the substantial heterogeneity of CKD-MBD by identifying distinct phenotypic subgroups through K-means clustering. The resulting models demonstrated robust discriminative performance, with Group A achieving superior accuracy (AUC 0.880 in training, 0.839 in internal validation, and 0.815 in external validation) compared to Group B (AUC 0.824 in training, 0.806 in internal validation, and 0.808 in external validation).
The clustering algorithm identified three clinically distinct phenotypes reflect the heterogeneous nature of CKD mineral bone disorde [15]. Cluster 1 exhibited markedly elevated alkaline phosphatase concurrent with severe renal impairment [16], suggesting increased osteoblastic activity relative to the other subgroups [17]. Cluster 2 demonstrated relatively modest alterations in bone metabolism markers despite moderate renal dysfunction, serving as an intermediate metabolic reference. Cluster 3 showed preserved glomerular filtration with mineral profiles distinct from Cluster 1, particularly lower serum phosphate relative to the high-turnover group, a pattern consistent with alterations observed in early CKD stages when skeletal responsiveness to mineral changes may differ [18].
This dissociation between bone turnover indicators and glomerular filtration rate supports that renal osteodystrophy does not parallel kidney function decline in a linear fashion [19]. Cluster 3 achieved higher eGFR than Cluster 2 yet exhibited comparable alkaline phosphatase levels, indicating that staging systems based solely on eGFR may incompletely capture this metabolic spectrum.
Notably, Group A and Group B exhibited differential predictor profiles that may reflect distinct etiological contributions to bone disease in CKD [20]. Group A was characterized by elevated serum creatinine and uric acid levels, markers primarily indicative of declining renal function severity rather than mineral metabolism per se, suggesting bone loss patterns associated with progressive kidney disease burden [21, 22]. In this subgroup, serum creatinine serves as a proxy for muscle mass and renal clearance capacity [23], while uric acid may reflect both purine metabolism and oxidative stress pathways implicated in bone turnover in the setting of active disease [24, 25].
By contrast, Group B demonstrated a significantly older age distribution alongside traditional risk factors, consistent with bone health deterioration driven by senescent processes and age-related physiological changes [26, 27]. The predictive importance of RBC count likely reflects the multifaceted pathophysiology linking chronic anemia to bone loss in CKD. Compensatory erythroid hyperplasia may physically encroach upon trabecular and cortical structures within the confined marrow cavity [28], while chronic hypoxia upregulates HIF-1α to stimulate RANKL-mediated osteoclastogenesis and suppress osteoblast differentiation [29].
Furthermore, anemia-induced neuromuscular hypoxia increases fall risk through dizziness and muscle weakness, establishing a dangerous synergy with compromised bone quality that amplifies fracture susceptibility [30]. Beyond that, emerging evidence suggests that in CKD, supraphysiological HDL-C may become dysfunctional and pro-inflammatory, promoting marrow adipogenesis over osteoblastogenesis. Although excluded from the final nomogram, its prominence during feature selection signals a potentially underexplored metabolic axis in CKD-associated bone disease warranting further investigation [31, 32].
Compared to existing models for CKD related osteoporosis, our cluster-specific approach offers complementary methodological perspectives. Prior NHANES based studies have employed varying analytical strategies [33, 34]. She & Liu (2025) developed a conventional 5-factor nomogram (age, height, weight, ALP, fracture history) with an AUC of 0.8184 [33], capturing general population-level risk but not within-population heterogeneity. Our clustering method identified distinct phenotype-specific patterns, particularly in Group B where mineral markers showed differential significance. Kuang et al. (2024) constructed stage-specific nomograms (AUCs 0.83–0.93) in a hospital-based cohort (n=342) [35].
Machine learning approaches have recently achieved substantial predictive gains, with Li et al. (2025) reporting AUCs of 0.845–0.859 using Random Forest with LASSO-Boruta selection [34], and Hsu et al. (2025) attaining 0.930 with ANNs in a Taiwanese cohort [36]. While these advance algorithmic sophistication, our approach balances predictive accuracy with clinical interpretability through weighted logistic regression, leveraging NHANES complex sampling weights to enhance population generalizability.
The development of cluster-specific nomograms and interactive online calculators addresses a critical gap in CKD management: the need for accessible, interpretable diagnostic tools that can guide DXA referral decisions [37–39]. Our nomograms enable immediate visual risk estimation at the point of care. For instance, a 65-year-old male CKD patient with elevated creatinine and ALP but normal BMI would be classified into Group A, where his risk score would be heavily weighted toward declining renal function, prompting evaluation for hyperparathyroidism and phosphate binder therapy in addition to DXA screening.
Conversely, an underweight elder female in Group B would trigger immediate concerns regarding nutritional deficiency and frailty fracture risk, prompting interventions beyond bone density testing (e.g., fall prevention, nutritional supplementation). This phenotype guided approach allows clinicians to tailor diagnostic workup and interventions to the dominant pathophysiology. The positive net benefit observed in decision curve analysis across clinically relevant thresholds (5–30% risk) supports the integration of these tools into CKD clinics as a triage mechanism [40, 41], reserving limited DXA resources for high-risk individuals while avoiding unnecessary radiation exposure and costs in low-risk populations.
The modest post-stratification sample sizes in NHANES (Group A: n = 474; Group B: n = 633) may have limited the statistical power to demonstrate the superiority of cluster-specific models over the Global Model in the internal validation. The large CRDS external cohort (Group B: n = 48,883) confirmed that sufficient sample size enables the stratified approach to outperform the Global Model (IDI: 0.006), supporting our interpretation that the NHANES findings reflect sample-size constraints rather than methodological limitations. The divergent NRI results, reclassification gain in Group B but loss in Group A, warrant careful interpretation.
This directionality likely reflects the differing dominant pathophysiology between clusters: Group B’s risk profile, centered on age-related bone loss and anemia, aligns more closely with conventional osteoporosis risk factors that a unified model captures reasonably well, whereas Group A’s unique combination of mineral metabolism derangements and progressive renal dysfunction represents a phenotype poorly served by one-size-fits-all approaches. Thus, the overall non-significant NRI masks meaningful heterogeneity: cluster-specific modeling appears most advantageous precisely in the subgroup whose biology deviates furthest from population-average patterns, a finding consistent with the premise that personalization yields greatest incremental value when phenotypic divergence is greatest.
Several limitations should be acknowledged. First, the inherent cross-sectional nature of NHANES data precludes definitive assessment of temporal sequences between potential risk factors and osteoporosis outcomes, constraining our ability to infer causality [42]. Second, although DXA cannot capture cortical microarchitecture or mineralization defects inherent to CKD-associated bone disease, the study outcome was defined entirely by DXA-derived BMD classification. BMD-defined osteoporosis remains clinically relevant in KDIGO guidelines [4]. Consequently, the model diagnosed low BMD-defined osteoporosis rather than CKD-MBD bone quality, renal osteodystrophy.
BMD assessments were restricted to specific NHANES subpopulations and survey cycles, with some participants lacking complete three site measurements [43]. This selective data availability may yield a non-representative sample that differs systematically from the broader CKD population, potentially compromising the generalizability of our predictive model. Third, although the use of a single eGFR or UACR measurement is standard in NHANES-based studies [44], this approach differs from clinical CKD diagnosis, which generally requires persistence over time [45].
Because NHANES is cross-sectional, transient albuminuria or temporary changes in renal function could lead to misclassification. Fourth, several clinically relevant variables were excluded from the initial screening due to > 30% missing data (including CRP, PTH, FGF23, bone-specific ALP, bone turnover markers, phosphate binders, vitamin D analogs, calcimimetics, anti-osteoporosis medications, EPO medication) or structural missingness in male participants (menopausal status). Notably, the unavailability of ESA/EPO medication data represents a potential unmeasured confounder, as exogenous EPO may directly influence bone remodeling through osteoclast EPOR signaling.
High-dose EPO may theoretically accelerate bone resorption, though its net effect in CKD is complex and remains unclear [46]. Additionally, several well-established disease-related variables, including serum albumin, serum calcium and phosphorus, were not retained in the final model. Serum phosphorus was excluded during LASSO–Boruta selection due to collinearity with eGFR and mineral metabolism markers. Serum albumin and calcium, by contrast, showed no significant univariate association and were dropped before entering the selection pipeline. This likely reflects tight homeostatic maintenance that masks bone mineral deficits in cross-sectional analyses.
Fifth, although K-means clustering identified three distinct phenotypic subgroups, one cluster exhibited insufficient sample size (n = 127) for weighted model development, necessitating its exclusion from predictive analyses [47]. This limitation precludes diagnostic modeling for this minority subgroup and may obscure unique pathophysiological features distinct from the two larger clusters. Future studies with expanded cohorts are warranted to validate model performance across all phenotypic profiles.
Source: Discussion Source: Discussion Source: Discussion Source: Discussion Source: Discussion Source: Discussion Source: DiscussionResults
Participant characteristics
The analytical sample comprised 3,806 CKD patients (2,667 training; 1,139 internal validation). Baseline characteristics of the training cohort are summarized in Table 1 (participant flow, Fig. 1). Mean age was 65.5 years, 57.2% were female, and osteoporosis prevalence was 13.6%. Patients with osteoporosis were older (74.0 vs. 64.1 years), predominantly female (84.3% vs. 52.8%), had lower BMI (25.3 vs. 29.9 kg/m²) and eGFR (58.3 vs. 69.0 mL/min/1.73 m²), and exhibited lower serum albumin, higher alkaline phosphatase, lower hemoglobin, and greater fracture history (26.7% vs. 12.7%; all *P* < 0.001).
C-reactive protein, parathyroid hormone, serum albumin, erythropoietin medication, and menopausal status were excluded owing to > 30% missing data. Among retained variables, missing rates were: demographics (< 1%), clinical measures (< 5%), laboratory values (1–15%), dietary variables (10–20%), and questionnaire items (< 5%), all below the 25% threshold acceptable for multiple imputation. Validation cohort characteristics and pre/post-imputation data are provided in Tables S1–S3. The CRDS external validation cohort comprised exclusively complete-case patients, yielding zero missing values.
Baseline characteristics of CKD patients in the training cohort
| Level | Without osteoporosis | Osteoporosis | p | |
|---|---|---|---|---|
| n | 2303 | 364 | ||
| Gender (%) | Male | 1228 (47.2) | 86 (15.7) | <0.001 |
| Female | 1075 (52.8) | 278 (84.3) | ||
| Age (mean (SD)) | 64.10 (15.60) | 74.01 (11.27) | <0.001 | |
| Education (%) | Below high school | 738 (22.3) | 126 (26.9) | 0.105 |
| High School or above | 1565 (77.7) | 238 (73.1) | ||
| Marital Status (%) | Yes | 1327 (62.3) | 137 (37.9) | <0.001 |
| No | 976 (37.7) | 227 (62.1) | ||
| Race (%) | Other | 1771 (86.9) | 333 (95.6) | <0.001 |
| Black | 532 (13.1) | 31 (4.4) | ||
| Height (mean (SD)) | 166.56 (9.64) | 158.75 (8.26) | <0.001 | |
| Weight (mean (SD)) | 82.91 (19.69) | 64.07 (15.87) | <0.001 | |
| Body Mass Index (mean (SD)) | 29.86 (6.39) | 25.34 (5.67) | <0.001 | |
| Arm Circumference (mean (SD)) | 33.18 (4.94) | 28.49 (4.45) | <0.001 | |
| Waist (mean (SD)) | 103.65 (15.12) | 93.12 (15.38) | <0.001 | |
| Serum Creatinine (mean (SD)) | 1.21 (0.72) | 1.24 (0.83) | 0.432 | |
| Blood Urea Nitrogen (mean (SD)) | 6.54 (3.08) | 7.26 (3.21) | 0.005 | |
| Serum Uric Acid (mean (SD)) | 363.16 (95.31) | 340.45 (102.70) | 0.002 | |
| Serum Albumin (mean (SD)) | 41.16 (3.29) | 40.95 (3.32) | 0.006 | |
| Calcium (mean (SD)) | 2.36 (0.10) | 2.37 (0.12) | 0.751 | |
| Phosphorus (mean (SD)) | 1.21 (0.19) | 1.26 (0.19) | <0.001 | |
| Alkaline Phosphatase (mean (SD)) | 76.53 (26.35) | 83.37 (46.42) | 0.001 | |
| Lactate Dehydrogenase (mean (SD)) | 144.66 (33.52) | 147.81 (37.11) | 0.016 | |
| Alanine Transaminase (mean (SD)) | 25.84 (15.00) | 25.55 (27.75) | 0.62 | |
| Aspartate Transaminase (mean (SD)) | 23.73 (21.56) | 19.82 (14.90) | 0.001 | |
| Urinary Albumin (mean (SD)) | 214.25 (798.50) | 177.33 (616.77) | 0.154 | |
| Urinary Creatinine (mean (SD)) | 114.90 (72.56) | 92.92 (61.45) | <0.001 | |
| Glycated Hemoglobin (mean (SD)) | 6.35 (1.42) | 6.04 (0.92) | <0.001 | |
| Total Cholesterol (mean (SD)) | 4.98 (1.18) | 5.05 (1.22) | 0.877 | |
| High-Density Lipoprotein Cholesterol (mean (SD)) | 1.34 (0.43) | 1.52 (0.47) | <0.001 | |
| Serum Ferritin (mean (SD)) | 14.56 (5.72) | 14.78 (6.20) | 0.484 | |
| Red Blood Cell Count (mean (SD)) | 4.56 (0.53) | 4.32 (0.50) | <0.001 | |
| Hemoglobin (mean (SD)) | 13.82 (1.62) | 13.27 (1.34) | <0.001 | |
| Red Cell Distribution Width (mean (SD)) | 13.61 (1.42) | 13.70 (1.82) | 0.082 | |
| White Blood Cell Count (mean (SD)) | 7.71 (5.74) | 7.22 (1.89) | 0.004 | |
| Platelet Count (mean (SD)) | 242.98 (72.76) | 244.27 (79.66) | 0.614 | |
| Monocyte Count (mean (SD)) | 0.61 (0.26) | 0.60 (0.21) | 0.957 | |
| Lymphocyte Count (mean (SD)) | 2.30 (4.89) | 1.96 (0.67) | 0.007 | |
| Neutrophil Count (mean (SD)) | 4.52 (1.84) | 4.41 (1.48) | 0.021 | |
| SII (mean (SD)) | 601.80 (373.22) | 612.50 (348.41) | 0.642 | |
| Dietary Calcium Intake (mean (SD)) | 836.59 (579.09) | 743.82 (410.80) | <0.001 | |
| Dietary Fat Intake (mean (SD)) | 23.50 (16.14) | 19.35 (11.71) | <0.001 | |
| Folate (mean (SD)) | 48.58 (36.50) | 62.36 (57.06) | <0.001 | |
| Vitamin D (mean (SD)) | 62.35 (29.11) | 65.71 (31.56) | 0.11 | |
| eGFR (mean (SD)) | 68.96 (26.77) | 58.33 (24.82) | <0.001 | |
| UACR (mean (SD)) | 222.91 (696.61) | 206.95 (511.73) | 0.318 | |
| Hypertension (%) | Yes | 1453 (59.8) | 255 (69.9) | 0.005 |
| No | 850 (40.2) | 109 (30.1) | ||
| Thyroid Disease (%) | Yes | 348 (17.2) | 80 (24.4) | 0.004 |
| No | 1955 (82.8) | 284 (75.6) | ||
| Coronary Heart Disease (%) | Yes | 251 (10.3) | 60 (16.7) | 0.013 |
| No | 2052 (89.7) | 304 (83.3) | ||
| Angina Pectoris (%) | Yes | 138 (5.1) | 41 (13.0) | 0.001 |
| No | 2165 (94.9) | 323 (87.0) | ||
| Arthritis (%) | Yes | 1028 (43.9) | 189 (55.4) | 0.002 |
| No | 1275 (56.1) | 175 (44.6) | ||
| Cancer (%) | Yes | 406 (18.5) | 82 (24.4) | 0.045 |
| No | 1897 (81.5) | 282 (75.6) | ||
| Glucocorticoid Use (%) | Yes | 4 (0.1) | 1 (0.3) | 0.345 |
| No | 2299 (99.9) | 363 (99.7) | ||
| Estrogen Use (%) | Yes | 19 (1.0) | 1 (0.3) | 0.189 |
| No | 2284 (99.0) | 363 (99.7) | ||
| Physical Exercise (%) | Yes | 783 (38.0) | 75 (23.7) | <0.001 |
| No | 1520 (62.0) | 289 (76.3) | ||
| Drink Status (%) | Yes | 1543 (72.9) | 194 (61.4) | <0.001 |
| No | 638 (27.1) | 154 (38.6) | ||
| Smoke Status (%) | Yes | 398 (16.7) | 51 (15.9) | 0.781 |
| No | 1905 (83.3) | 313 (84.1) | ||
| Diabetes Mellitus (%) | Yes | 905 (33.6) | 118 (27.9) | 0.149 |
| No | 1398 (66.4) | 246 (72.1) | ||
| Fracture-history (%) | Yes | 285 (12.7) | 91 (26.7) | <0.001 |
| No | 2018 (87.3) | 273 (73.3) | ||
| Family fracture-history (%) | Yes | 218 (11.8) | 42 (16.8) | 0.056 |
| No | 2085 (88.2) | 322 (83.2) |
Abbreviation: SII, Systemic Immune-Inflammation Index; UACR, Urine Albumin-to-Creatinine Ratio
Study cohort assembly and statistical analysis flowchart. (NHANES: National Health and Nutrition Examination Survey; CRDS: China Renal Data System or Chinese Renal Disease Data System)
Cluster analysis and phenotypic subgroups
K-means clustering analysis identified three distinct phenotypic subgroups based on kidney and bone-related biomarkers. The optimal number of clusters was determined using the elbow method and silhouette analysis. The elbow plots (Fig. 2A and D) displayed the within-cluster sum of squares (WCSS) for k = 1 to 10, with a clear elbow point at k = 3 in both cohorts. Silhouette analysis (Fig. 2B and E) further supported this, showing the highest average silhouette scores at k = 3, indicating good cluster separation and cohesion.
PCA visualization (Fig. 2C F) demonstrated clear visual separation of the three clusters in principal component space for both cohorts. Importantly, identical three-cluster structures were obtained in both cohorts, indicating high reproducibility and stability of the phenotypic classification. The baseline characteristics of clustering indicators in the training and external validation cohorts are presented in Table 2 and Table S4, respectively. Cluster 1 (n = 127) represented a small subgroup with distinct biochemical profiles. Cluster 2 (n = 1,570) and Cluster 3 (n = 2,109) represented the two larger subgroups with adequate sample sizes for model development.
Due to the limited sample size of Cluster 1, diagnostic models were developed only for Clusters 2 and 3 (designated as Group A and Group B, respectively). To enhance clinical utility, we developed interactive online calculators based on these cluster models, allowing cluster assessment at the bedside (available at: https://osteoporosis.shinyapps.io/distinguish_phenotype/).
Baseline characteristics of three phenotypes in the training cohort
| Cluster | n | ALP | CA | PH | VID | eGFR | BUN | Scr |
|---|---|---|---|---|---|---|---|---|
| 1 | 95 | 120.747 | 2.291 | 1.554 | 53.715 | 18.253 | 16.382 | 4.378 |
| 2 | 1476 | 73.701 | 2.369 | 1.215 | 72.046 | 51.243 | 7.663 | 1.304 |
| 3 | 1096 | 79.003 | 2.354 | 1.184 | 51.231 | 93.868 | 4.408 | 0.827 |
ALP, alkaline phosphatase; CA, serum calcium; PH, serum phosphorus; VID, 25-hydroxyvitamin D; eGFR, estimated glomerular filtration rate; BUN, blood urea nitrogen; Scr, serum creatinine
K-means clustering analysis results. (A) Elbow method for optimal cluster number determination in training cohort; (B) Silhouette analysis for cluster validation in training cohort; (C) PCA visualization of cluster separation in training cohort; (D-F) Corresponding plots for validation cohort
Feature selection results for Group A. (A) Boruta feature selection plot; (B) LASSO regression cross-validation error curves; (C) Venn diagram showing overlap between LASSO and Boruta selected variables
Feature selection results for Group B. (A) Boruta feature selection plot; (B) LASSO regression cross-validation error curves; (C) Venn diagram showing overlap between LASSO and Boruta selected variables
Training and internal validation model performance evaluation. (A–C) Total population model: (A) ROC curves; (B) Calibration curve; (C) Decision curve. (D–F) Group A model: (D) ROC curves; (E) Calibration curve; (F) Decision curve analysis. (G–I) Group B model: (G) ROC curves; (H) Calibration curve; (I) Decision curve analysis
External validation model performance evaluation. (A–C) Group A model: (A) ROC curves; (B) Calibration curve; (C) Decision curve. (D–F) Group B model: (D) ROC curves; (E) Calibration curve; (F) Decision curve analysis
Nomogram for osteoporosis diagnostic model
Feature selection
For Group A, 32 variables were significant in univariate analysis (Table S5); LASSO and Boruta selected 8 and 11 variables, respectively (Fig. 3), with 6 in the intersection: sex, age, body mass index, serum uric acid, serum creatinine, and fracture history. For Group B, 35 variables were significant (Table S6); LASSO and Boruta selected 11 and 15 variables (Fig. 4), yielding 7 final factors: sex, age, marital status, red blood cell count, body mass index, race, and fracture history.
For the Global Model, the same selection pipeline identified 8 variables: sex, age, marital status, body mass index, race, fracture history, alkaline phosphatase, and coronary heart disease.
Model performance metrics
| Group | AUC (95% CI) | Sensitivity (%) | Specificity (%) | PPV (%) | NPV (%) |
|---|---|---|---|---|---|
| NHANES | |||||
| Total Training | 0.849 (0.842-0.881) | 86 | 71.5 | 32.8 | 96.9 |
| Total Validation | 0.825 (0.772-0.843) | 86.7 | 62.1 | 25.9 | 96.8 |
| Group A Training | 0.880 (0.870-0.929) | 86.4 | 78.8 | 29.8 | 98.2 |
| Group A Validation | 0.839 (0.730-0.866) | 81 | 75.9 | 26 | 97.5 |
| Group B Training | 0.824 (0.810-0.859) | 84.4 | 67.5 | 34.6 | 95.5 |
| Group B Validation | 0.806 (0.763-0.853) | 81 | 62.5 | 28.4 | 94.7 |
| CRDS | |||||
| Group A Validation | 0.815(0.802-0.829) | 63.8 | 84.6 | 17.4 | 97.9 |
| Group B Validation | 0.808(0.798-0.818) | 68 | 79.1 | 14.5 | 97.9 |
Model development and performance
Both cluster-specific models showed strong discrimination (Tables 3 and 4, Figs. 5and 6). Group A achieved AUCs of 0.880 (0.854–0.906) in training, 0.839 (0.798–0.880) in internal validation, 0.852 (0.822–0.885) after bootstrap optimism correction, and 0.815 in external validation. Group B achieved 0.824 (0.798–0.850), 0.806 (0.772–0.840), 0.800 (0.773–0.825), and 0.808, respectively. The Global Model achieved 0.849 (0.842–0.881) and 0.825 (0.772–0.843). All models exhibited good calibration and DCA utility (5–30% thresholds). Model performance hinged critically on sample size. In the modest NHANES cohort (Group A: n=411; Group B: n=716), stratification offered no incremental value over the global model (IDI: −0.031; NRI: 0.014), with both subgroups showing negative IDI values (−0.049 and −0.019, respectively) indicative of power erosion upon partitioning.
Conversely, in the large CRDS external cohort (Group A: n=26,794; Group B: n=48,883; Group C: n=13,986), Group B exhibited significant improvement with stratification (IDI: 0.006; NRI: 0.001) despite overall neutrality (IDI: −0.001), whereas Group A remained negative (IDI: −0.015). Notably, Group C was excluded from this validation, as it was discarded during the initial model construction. This suggests that the phenotype characterized by mineral metabolism derangement and progressive renal dysfunction is better accommodated by conventional risk factors embedded in the global model.
Net reclassification improvement and integrated discrimination improvement for global versus cluster-stratified models
| Data | Comparison | Phenotype | N | IDI (95% CI) | NRI at 10% cutoff (95% CI) |
|---|---|---|---|---|---|
| NHANES | Global vs Stratified | A+B | 1139 | -0.0307(-0.0468, -0.0119) | 0.0142(-0.0307, 0.0545) |
| NHANES | Global vs Stratified | A | 411 | -0.0487(-0.0864, -0.0036) | 0.0754(-0.0367, 0.1891) |
| NHANES | Global vs Stratified | B | 716 | -0.0189(-0.0291, -0.0039) | -0.0048(-0.0248, 0.0171) |
| CRDS | Global vs Stratified | A+B | 89963 | -0.0014(-0.0021,-0.0007) | 0.001(-0.0002,0.0024) |
| CRDS | Global vs Stratified | A | 26794 | -0.0149(-0.0162,-0.0135) | 0.0014(0.0005,0.0031) |
| CRDS | Global vs Stratified | B | 48883 | 0.0059(0.0055,0.0062) | 0.0008(-0.0006,0.0026) |
Model interpretability and visualization
To facilitate clinical decision making, nomograms were constructed based on the final weighted logistic regression models (Fig. 7). These visual tools enable rapid individualized risk estimation without computational software. To enhance clinical utility, we developed interactive online calculators based on the nomograms of Group A and Group B, allowing real-time risk assessment at the bedside. (available at: https://osteoporosis.shinyapps.io/GroupA_calculator/ and https://osteoporosis.shinyapps.io/GroupB_calculator/).
Conclusion
This study presents user friendly models utilizing interpretable algorithms to diagnose osteoporosis in CKD patients. Cluster-specific diagnostic models were successfully developed with robust discriminative performance and clinical utility. These models may facilitate personalized diagnostic and early intervention strategies.
Source: ConclusionAuthors’ abstract
Objective
To develop and validate cluster-specific diagnostic models for osteoporosis in patients with chronic kidney disease (CKD) using routine clinical parameters.
Methods
Data were obtained from the National Health and Nutrition Examination Survey. A total of 3,806 CKD patients were enrolled and randomly allocated to training (70%, n = 2,667) and internal validation (30%, n = 1,139) cohorts, with an additional external validation cohort from the China Renal Data System or Chinese Renal Disease Data System. K-means clustering was performed to identify distinct subgroups. Weighted univariate logistic regression, Least Absolute Shrinkage and Selection Operator and Boruta algorithm were used for feature selection.
Final diagnostic models were constructed using weighted multivariable logistic regression. Model performance was assessed using receiver operating characteristic (ROC) curves, calibration curves, and decision curve analysis (DCA), and net reclassification improvement (NRI) and integrated discrimination improvement (IDI).
Results
Three distinct CKD phenotypic clusters were identified; two were selected for model development. Group A retained six variables (sex, age, body mass index, serum uric acid, serum creatinine, and fracture history) with AUCs of 0.880, 0.839, and 0.815 across training, internal, and external (CRDS) validation. Group B retained seven variables (sex, age, marital status, red blood cell count, body mass index, race, and fracture history) with AUCs of 0.824, 0.806, and 0.808. Both models demonstrated favorable calibration and clinical utility.
NRI revealed divergent subgroup effects: gains in Group B (0.0059) versus losses in Group A (-0.0149).
Conclusions
Cluster-specific diagnostic models based on weighted logistic regression exhibited robust discriminative performance for osteoporosis diagnosis in CKD patients, with heterogeneous reclassification gains across phenotypic subgroups.
Read the full paper
Introduction
Chronic kidney disease (CKD) imposes a substantial global burden, affecting over 700 million individuals worldwide [1]. As the sole major non-communicable disease with rising age-standardized mortality, CKD attributable deaths have increased by 50% since 2000 and are projected to rank fifth among causes of premature mortality by 2040 [2]. Within this trajectory, CKD-associated osteoporosis, a skeletal disorder characterized by low bone mass and deteriorated microarchitecture with increased fracture risk and distinct from CKD-mineral and bone disorder (CKD-MBD), has emerged as a critical yet underrecognized driver of excess mortality, with fracture prevalence exceeding 30% to 40% in advanced stages [3].
Conventional diagnostic tools, however, fail to capture the complex alterations in bone quality characteristic of this population, resulting in delayed identification until catastrophic fractures precipitate fatal outcomes [3].
Dual-energy X-ray absorptiometry (DXA) remains the key index for osteoporosis diagnosis, yet its utility in CKD patients remains controversial. While the 2017 KDIGO guideline recommends bone mineral density testing for stages G3a to G5D when results influence treatment, emerging consensus highlights that DXA quantifies mineral content yet misses the global defects in cortical microarchitecture and mineralization inherent to CKD-associated bone disease [4]. Coupled with concerns regarding radiation exposure and limited accessibility in resource-constrained settings, these limitations underscore the urgent need for alternative diagnostic tools based on routine clinical parameters.
Nevertheless, DXA remains the most widely utilized tool for osteoporosis screening in current clinical practice.
This study employed weighted multivariable logistic regression to develop and validate cluster-specific diagnostic models for osteoporosis in CKD patients using routine biochemical and demographic data from the National Health and Nutrition Examination Survey (NHANES) and China Renal Data System or Chinese Renal Disease Data System (CRDS). By accommodating complex sampling designs and evaluating CKD-specific biomarkers such as alkaline phosphatase, these models facilitate early identification of high-risk individuals without reliance on medical imaging. Notably, current fracture risk assessment tools omit this marker [5, 6].
This approach aligns with the personalized care framework recently proposed by KDIGO, enabling timely interventions in both clinical and community healthcare settings.
Methods
Data source
This study utilized data from two sources. Primary data were obtained from the publicly accessible NHANES, a nationally representative cross-sectional survey conducted by the National Center for Health Statistics (NCHS). Data from these survey cycles were included: 2005–2010, 2013–2014, and 2017–2018, as these cycles contained bone mineral density measurements. Approved by the NCHS Institutional Review Board, all participants provided written informed consent. External validation data were obtained from the CRDS, a national multicenter electronic medical records database integrating de-identified clinical data from 28 tertiary hospitals across 18 provinces in China.
As this study constitutes a secondary analysis of both datasets, it is exempt from further ethical review.
Study population
Participants aged 20 years or older who met the diagnostic criteria for CKD were enrolled. CKD was defined as either (1) an eGFR less than 60 mL/min/1.73 m² calculated using the CKD Epidemiology Collaboration Eq. [7], or (2) a urine albumin-to-creatinine ratio (UACR) of 30 mg/g or greater. Participants lacking BMD data at all three anatomical sites (lumbar spine, femoral neck, and total hip) were excluded. Following application of inclusion and exclusion criteria, a total of 3,806 participants were enrolled in the final analysis.
The study population was randomly allocated to training (70%, n = 2,667) and internal validation (30%, n = 1,139) cohorts. For external validation, data from the CRDS database were used, comprising approximately 89,663 participants with confirmed CKD and documented osteoporosis diagnosis.
Diagnosis of osteoporosis
Osteoporosis was diagnosed by BMD measurements via DEXA (HOLOGIC Discovery A, U.S.) in the NHANES cohort, whereas the CRDS cohort included participants with a documented clinical diagnosis. Following standardized protocols, BMD was measured at three sites (lumbar spine, total hip, and femoral neck), and the lowest T-score was used for diagnosis. The T-score was calculated relative to the young adult reference mean (non-Hispanic white, aged 20–29 years from NHANES). According to WHO criteria, osteoporosis was defined as a T-score ≤ -2.5 (postmenopausal women and men ≥ 50 years) or ethnicity-specific Z-scores ≤ -2.0 (premenopausal women and men < 50 years), consistent with ISCD recommendation [8–10].
Variable definitions
Candidate risk factors comprised demographic, clinical examination, laboratory test, dietary, and questionnaire information. Demographic variables included age, sex, race, education level, marital status, and poverty income ratio; menopausal status was excluded due to structural missingness in males and over 40% missingness in females. Clinical examination included weight, height, body mass index, waist circumference, arm circumference, and DEXA measurements. Laboratory parameters encompassed serum creatinine, blood urea nitrogen, serum uric acid, serum calcium, serum phosphorus, alkaline phosphatase, estimated glomerular filtration rate, urinary albumin-to-creatinine ratio, lactate dehydrogenase, aspartate aminotransferase, alanine aminotransferase, urine albumin, urine creatinine, fasting glucose, glycated hemoglobin, total cholesterol, high-density lipoprotein cholesterol, triglycerides, low-density lipoprotein cholesterol, serum iron, red blood cell count, hemoglobin, red blood cell distribution width, white blood cell count, platelet count, monocyte count, lymphocyte count, serum folate, 25-hydroxyvitamin D, serum albumin, and systemic immune-inflammation index; CRP was removed due to missingness exceeding 20–30% and intact PTH was excluded as it exceeded 70% missing data.
Dietary was obtained from 24-hour dietary recall interviews and included daily intake of total fat and calcium. Questionnaire information captured self-reported medical history (prior diagnosis of hypertension, diabetes mellitus, coronary heart disease, angina, arthritis, thyroid disease, and cancer; dialysis status, personal and familial fracture history), lifestyle factors (smoking status, alcohol consumption, physical activity), and medication use (erythropoietin, glucocorticoids, and hormone therapy).
Statistical analysis
Data preprocessing
Missing data codes (7, 9, 77, 99) were recoded as NA, and with over 30% missing data were removed [11]. For variables with less than 30% missing data, multiple imputation was performed using the mice package in R software (used survey weights as auxiliary variables). After imputation, summary statistics were calculated. For the CRDS external validation cohort, only participants with complete records were selected, therefore, no additional imputation was required. Continuous variables were presented as mean (standard deviation) and compared using weighted t-tests, while categorical variables were expressed as n (%) and compared using weighted chi-square tests.
To account for the complex sampling design, we divided the 2-year MEC weights (WTMEC2YR) by 5 to yield 10-year weights (WTMEC10YR), with variance estimated using SDMVPSU and SDMVSTRA [12].
K-means clustering
K-means clustering was performed using kidney and bone-related biomarkers (eGFR, UACR, serum creatinine, blood urea nitrogen, serum uric acid, serum calcium, serum phosphorus, and alkaline phosphatase) to identify distinct CKD phenotypic subgroups. The optimal number of clusters was determined using the elbow method and silhouette analysis [13]. Principal component analysis (PCA) was employed for visualization of cluster separation.
Feature selection
Feature selection was performed to identify key risk factors of osteoporosis in CKD patients, reduce dimensionality, and prevent overfitting. Initially, survey-weighted univariable logistic regression analyses were conducted to preliminarily screen candidate risk factors, with relatively liberal statistical significance defined as a two-sided P value < 0.05. Variables meeting this threshold were subsequently included in the next step. To enhance robustness, two methods were integrated: survey-weighted LASSO regression and the Boruta algorithm. Survey weights were incorporated as weights in the LASSO regression using the WTMEC10YR.
LASSO regression uses L1 regularization, which applies a series of adjustment parameters and cross-validation. This approach facilitates feature selection, model simplification, and the identification of optimal variables. The Boruta algorithm iteratively compares the importance of original features with shadow features using a random forest classifier, marking features as “confirmed” if their importance consistently exceeds the best shadow feature [11]. To ensure conservative feature selection and reduce overfitting, only risk factors selected by both LASSO and Boruta were retained.
In addition, we examined multicollinearity via VIF analysis, considering VIF values < 5–10 as evidence of acceptable independence among covariates [14].
Model construction and evaluation
Final diagnostic models were constructed using weighted logistic regression with NHANES sampling weights. Performance was assessed by ROC-AUC, calibration curves, and DCA in both internal and external (CRDS) validation cohorts. NRI and IDI were used to compare stratified versus global models. Three nomograms and two web-based calculators were developed. Analyses were performed in R (v4.3.0). P < 0.05 was considered significant.
Results
Participant characteristics
The analytical sample comprised 3,806 CKD patients (2,667 training; 1,139 internal validation). Baseline characteristics of the training cohort are summarized in Table 1 (participant flow, Fig. 1). Mean age was 65.5 years, 57.2% were female, and osteoporosis prevalence was 13.6%. Patients with osteoporosis were older (74.0 vs. 64.1 years), predominantly female (84.3% vs. 52.8%), had lower BMI (25.3 vs. 29.9 kg/m²) and eGFR (58.3 vs. 69.0 mL/min/1.73 m²), and exhibited lower serum albumin, higher alkaline phosphatase, lower hemoglobin, and greater fracture history (26.7% vs. 12.7%; all *P* < 0.001).
C-reactive protein, parathyroid hormone, serum albumin, erythropoietin medication, and menopausal status were excluded owing to > 30% missing data. Among retained variables, missing rates were: demographics (< 1%), clinical measures (< 5%), laboratory values (1–15%), dietary variables (10–20%), and questionnaire items (< 5%), all below the 25% threshold acceptable for multiple imputation. Validation cohort characteristics and pre/post-imputation data are provided in Tables S1–S3. The CRDS external validation cohort comprised exclusively complete-case patients, yielding zero missing values.
Baseline characteristics of CKD patients in the training cohort
| Level | Without osteoporosis | Osteoporosis | p | |
|---|---|---|---|---|
| n | 2303 | 364 | ||
| Gender (%) | Male | 1228 (47.2) | 86 (15.7) | <0.001 |
| Female | 1075 (52.8) | 278 (84.3) | ||
| Age (mean (SD)) | 64.10 (15.60) | 74.01 (11.27) | <0.001 | |
| Education (%) | Below high school | 738 (22.3) | 126 (26.9) | 0.105 |
| High School or above | 1565 (77.7) | 238 (73.1) | ||
| Marital Status (%) | Yes | 1327 (62.3) | 137 (37.9) | <0.001 |
| No | 976 (37.7) | 227 (62.1) | ||
| Race (%) | Other | 1771 (86.9) | 333 (95.6) | <0.001 |
| Black | 532 (13.1) | 31 (4.4) | ||
| Height (mean (SD)) | 166.56 (9.64) | 158.75 (8.26) | <0.001 | |
| Weight (mean (SD)) | 82.91 (19.69) | 64.07 (15.87) | <0.001 | |
| Body Mass Index (mean (SD)) | 29.86 (6.39) | 25.34 (5.67) | <0.001 | |
| Arm Circumference (mean (SD)) | 33.18 (4.94) | 28.49 (4.45) | <0.001 | |
| Waist (mean (SD)) | 103.65 (15.12) | 93.12 (15.38) | <0.001 | |
| Serum Creatinine (mean (SD)) | 1.21 (0.72) | 1.24 (0.83) | 0.432 | |
| Blood Urea Nitrogen (mean (SD)) | 6.54 (3.08) | 7.26 (3.21) | 0.005 | |
| Serum Uric Acid (mean (SD)) | 363.16 (95.31) | 340.45 (102.70) | 0.002 | |
| Serum Albumin (mean (SD)) | 41.16 (3.29) | 40.95 (3.32) | 0.006 | |
| Calcium (mean (SD)) | 2.36 (0.10) | 2.37 (0.12) | 0.751 | |
| Phosphorus (mean (SD)) | 1.21 (0.19) | 1.26 (0.19) | <0.001 | |
| Alkaline Phosphatase (mean (SD)) | 76.53 (26.35) | 83.37 (46.42) | 0.001 | |
| Lactate Dehydrogenase (mean (SD)) | 144.66 (33.52) | 147.81 (37.11) | 0.016 | |
| Alanine Transaminase (mean (SD)) | 25.84 (15.00) | 25.55 (27.75) | 0.62 | |
| Aspartate Transaminase (mean (SD)) | 23.73 (21.56) | 19.82 (14.90) | 0.001 | |
| Urinary Albumin (mean (SD)) | 214.25 (798.50) | 177.33 (616.77) | 0.154 | |
| Urinary Creatinine (mean (SD)) | 114.90 (72.56) | 92.92 (61.45) | <0.001 | |
| Glycated Hemoglobin (mean (SD)) | 6.35 (1.42) | 6.04 (0.92) | <0.001 | |
| Total Cholesterol (mean (SD)) | 4.98 (1.18) | 5.05 (1.22) | 0.877 | |
| High-Density Lipoprotein Cholesterol (mean (SD)) | 1.34 (0.43) | 1.52 (0.47) | <0.001 | |
| Serum Ferritin (mean (SD)) | 14.56 (5.72) | 14.78 (6.20) | 0.484 | |
| Red Blood Cell Count (mean (SD)) | 4.56 (0.53) | 4.32 (0.50) | <0.001 | |
| Hemoglobin (mean (SD)) | 13.82 (1.62) | 13.27 (1.34) | <0.001 | |
| Red Cell Distribution Width (mean (SD)) | 13.61 (1.42) | 13.70 (1.82) | 0.082 | |
| White Blood Cell Count (mean (SD)) | 7.71 (5.74) | 7.22 (1.89) | 0.004 | |
| Platelet Count (mean (SD)) | 242.98 (72.76) | 244.27 (79.66) | 0.614 | |
| Monocyte Count (mean (SD)) | 0.61 (0.26) | 0.60 (0.21) | 0.957 | |
| Lymphocyte Count (mean (SD)) | 2.30 (4.89) | 1.96 (0.67) | 0.007 | |
| Neutrophil Count (mean (SD)) | 4.52 (1.84) | 4.41 (1.48) | 0.021 | |
| SII (mean (SD)) | 601.80 (373.22) | 612.50 (348.41) | 0.642 | |
| Dietary Calcium Intake (mean (SD)) | 836.59 (579.09) | 743.82 (410.80) | <0.001 | |
| Dietary Fat Intake (mean (SD)) | 23.50 (16.14) | 19.35 (11.71) | <0.001 | |
| Folate (mean (SD)) | 48.58 (36.50) | 62.36 (57.06) | <0.001 | |
| Vitamin D (mean (SD)) | 62.35 (29.11) | 65.71 (31.56) | 0.11 | |
| eGFR (mean (SD)) | 68.96 (26.77) | 58.33 (24.82) | <0.001 | |
| UACR (mean (SD)) | 222.91 (696.61) | 206.95 (511.73) | 0.318 | |
| Hypertension (%) | Yes | 1453 (59.8) | 255 (69.9) | 0.005 |
| No | 850 (40.2) | 109 (30.1) | ||
| Thyroid Disease (%) | Yes | 348 (17.2) | 80 (24.4) | 0.004 |
| No | 1955 (82.8) | 284 (75.6) | ||
| Coronary Heart Disease (%) | Yes | 251 (10.3) | 60 (16.7) | 0.013 |
| No | 2052 (89.7) | 304 (83.3) | ||
| Angina Pectoris (%) | Yes | 138 (5.1) | 41 (13.0) | 0.001 |
| No | 2165 (94.9) | 323 (87.0) | ||
| Arthritis (%) | Yes | 1028 (43.9) | 189 (55.4) | 0.002 |
| No | 1275 (56.1) | 175 (44.6) | ||
| Cancer (%) | Yes | 406 (18.5) | 82 (24.4) | 0.045 |
| No | 1897 (81.5) | 282 (75.6) | ||
| Glucocorticoid Use (%) | Yes | 4 (0.1) | 1 (0.3) | 0.345 |
| No | 2299 (99.9) | 363 (99.7) | ||
| Estrogen Use (%) | Yes | 19 (1.0) | 1 (0.3) | 0.189 |
| No | 2284 (99.0) | 363 (99.7) | ||
| Physical Exercise (%) | Yes | 783 (38.0) | 75 (23.7) | <0.001 |
| No | 1520 (62.0) | 289 (76.3) | ||
| Drink Status (%) | Yes | 1543 (72.9) | 194 (61.4) | <0.001 |
| No | 638 (27.1) | 154 (38.6) | ||
| Smoke Status (%) | Yes | 398 (16.7) | 51 (15.9) | 0.781 |
| No | 1905 (83.3) | 313 (84.1) | ||
| Diabetes Mellitus (%) | Yes | 905 (33.6) | 118 (27.9) | 0.149 |
| No | 1398 (66.4) | 246 (72.1) | ||
| Fracture-history (%) | Yes | 285 (12.7) | 91 (26.7) | <0.001 |
| No | 2018 (87.3) | 273 (73.3) | ||
| Family fracture-history (%) | Yes | 218 (11.8) | 42 (16.8) | 0.056 |
| No | 2085 (88.2) | 322 (83.2) |
Abbreviation: SII, Systemic Immune-Inflammation Index; UACR, Urine Albumin-to-Creatinine Ratio
Study cohort assembly and statistical analysis flowchart. (NHANES: National Health and Nutrition Examination Survey; CRDS: China Renal Data System or Chinese Renal Disease Data System)
Cluster analysis and phenotypic subgroups
K-means clustering analysis identified three distinct phenotypic subgroups based on kidney and bone-related biomarkers. The optimal number of clusters was determined using the elbow method and silhouette analysis. The elbow plots (Fig. 2A and D) displayed the within-cluster sum of squares (WCSS) for k = 1 to 10, with a clear elbow point at k = 3 in both cohorts. Silhouette analysis (Fig. 2B and E) further supported this, showing the highest average silhouette scores at k = 3, indicating good cluster separation and cohesion.
PCA visualization (Fig. 2C F) demonstrated clear visual separation of the three clusters in principal component space for both cohorts. Importantly, identical three-cluster structures were obtained in both cohorts, indicating high reproducibility and stability of the phenotypic classification. The baseline characteristics of clustering indicators in the training and external validation cohorts are presented in Table 2 and Table S4, respectively. Cluster 1 (n = 127) represented a small subgroup with distinct biochemical profiles. Cluster 2 (n = 1,570) and Cluster 3 (n = 2,109) represented the two larger subgroups with adequate sample sizes for model development.
Due to the limited sample size of Cluster 1, diagnostic models were developed only for Clusters 2 and 3 (designated as Group A and Group B, respectively). To enhance clinical utility, we developed interactive online calculators based on these cluster models, allowing cluster assessment at the bedside (available at: https://osteoporosis.shinyapps.io/distinguish_phenotype/).
Baseline characteristics of three phenotypes in the training cohort
| Cluster | n | ALP | CA | PH | VID | eGFR | BUN | Scr |
|---|---|---|---|---|---|---|---|---|
| 1 | 95 | 120.747 | 2.291 | 1.554 | 53.715 | 18.253 | 16.382 | 4.378 |
| 2 | 1476 | 73.701 | 2.369 | 1.215 | 72.046 | 51.243 | 7.663 | 1.304 |
| 3 | 1096 | 79.003 | 2.354 | 1.184 | 51.231 | 93.868 | 4.408 | 0.827 |
ALP, alkaline phosphatase; CA, serum calcium; PH, serum phosphorus; VID, 25-hydroxyvitamin D; eGFR, estimated glomerular filtration rate; BUN, blood urea nitrogen; Scr, serum creatinine
K-means clustering analysis results. (A) Elbow method for optimal cluster number determination in training cohort; (B) Silhouette analysis for cluster validation in training cohort; (C) PCA visualization of cluster separation in training cohort; (D-F) Corresponding plots for validation cohort
Feature selection results for Group A. (A) Boruta feature selection plot; (B) LASSO regression cross-validation error curves; (C) Venn diagram showing overlap between LASSO and Boruta selected variables
Feature selection results for Group B. (A) Boruta feature selection plot; (B) LASSO regression cross-validation error curves; (C) Venn diagram showing overlap between LASSO and Boruta selected variables
Training and internal validation model performance evaluation. (A–C) Total population model: (A) ROC curves; (B) Calibration curve; (C) Decision curve. (D–F) Group A model: (D) ROC curves; (E) Calibration curve; (F) Decision curve analysis. (G–I) Group B model: (G) ROC curves; (H) Calibration curve; (I) Decision curve analysis
External validation model performance evaluation. (A–C) Group A model: (A) ROC curves; (B) Calibration curve; (C) Decision curve. (D–F) Group B model: (D) ROC curves; (E) Calibration curve; (F) Decision curve analysis
Nomogram for osteoporosis diagnostic model
Feature selection
For Group A, 32 variables were significant in univariate analysis (Table S5); LASSO and Boruta selected 8 and 11 variables, respectively (Fig. 3), with 6 in the intersection: sex, age, body mass index, serum uric acid, serum creatinine, and fracture history. For Group B, 35 variables were significant (Table S6); LASSO and Boruta selected 11 and 15 variables (Fig. 4), yielding 7 final factors: sex, age, marital status, red blood cell count, body mass index, race, and fracture history.
For the Global Model, the same selection pipeline identified 8 variables: sex, age, marital status, body mass index, race, fracture history, alkaline phosphatase, and coronary heart disease.
Model performance metrics
| Group | AUC (95% CI) | Sensitivity (%) | Specificity (%) | PPV (%) | NPV (%) |
|---|---|---|---|---|---|
| NHANES | |||||
| Total Training | 0.849 (0.842-0.881) | 86 | 71.5 | 32.8 | 96.9 |
| Total Validation | 0.825 (0.772-0.843) | 86.7 | 62.1 | 25.9 | 96.8 |
| Group A Training | 0.880 (0.870-0.929) | 86.4 | 78.8 | 29.8 | 98.2 |
| Group A Validation | 0.839 (0.730-0.866) | 81 | 75.9 | 26 | 97.5 |
| Group B Training | 0.824 (0.810-0.859) | 84.4 | 67.5 | 34.6 | 95.5 |
| Group B Validation | 0.806 (0.763-0.853) | 81 | 62.5 | 28.4 | 94.7 |
| CRDS | |||||
| Group A Validation | 0.815(0.802-0.829) | 63.8 | 84.6 | 17.4 | 97.9 |
| Group B Validation | 0.808(0.798-0.818) | 68 | 79.1 | 14.5 | 97.9 |
Model development and performance
Both cluster-specific models showed strong discrimination (Tables 3 and 4, Figs. 5and 6). Group A achieved AUCs of 0.880 (0.854–0.906) in training, 0.839 (0.798–0.880) in internal validation, 0.852 (0.822–0.885) after bootstrap optimism correction, and 0.815 in external validation. Group B achieved 0.824 (0.798–0.850), 0.806 (0.772–0.840), 0.800 (0.773–0.825), and 0.808, respectively. The Global Model achieved 0.849 (0.842–0.881) and 0.825 (0.772–0.843). All models exhibited good calibration and DCA utility (5–30% thresholds). Model performance hinged critically on sample size. In the modest NHANES cohort (Group A: n=411; Group B: n=716), stratification offered no incremental value over the global model (IDI: −0.031; NRI: 0.014), with both subgroups showing negative IDI values (−0.049 and −0.019, respectively) indicative of power erosion upon partitioning.
Conversely, in the large CRDS external cohort (Group A: n=26,794; Group B: n=48,883; Group C: n=13,986), Group B exhibited significant improvement with stratification (IDI: 0.006; NRI: 0.001) despite overall neutrality (IDI: −0.001), whereas Group A remained negative (IDI: −0.015). Notably, Group C was excluded from this validation, as it was discarded during the initial model construction. This suggests that the phenotype characterized by mineral metabolism derangement and progressive renal dysfunction is better accommodated by conventional risk factors embedded in the global model.
Net reclassification improvement and integrated discrimination improvement for global versus cluster-stratified models
| Data | Comparison | Phenotype | N | IDI (95% CI) | NRI at 10% cutoff (95% CI) |
|---|---|---|---|---|---|
| NHANES | Global vs Stratified | A+B | 1139 | -0.0307(-0.0468, -0.0119) | 0.0142(-0.0307, 0.0545) |
| NHANES | Global vs Stratified | A | 411 | -0.0487(-0.0864, -0.0036) | 0.0754(-0.0367, 0.1891) |
| NHANES | Global vs Stratified | B | 716 | -0.0189(-0.0291, -0.0039) | -0.0048(-0.0248, 0.0171) |
| CRDS | Global vs Stratified | A+B | 89963 | -0.0014(-0.0021,-0.0007) | 0.001(-0.0002,0.0024) |
| CRDS | Global vs Stratified | A | 26794 | -0.0149(-0.0162,-0.0135) | 0.0014(0.0005,0.0031) |
| CRDS | Global vs Stratified | B | 48883 | 0.0059(0.0055,0.0062) | 0.0008(-0.0006,0.0026) |
Model interpretability and visualization
To facilitate clinical decision making, nomograms were constructed based on the final weighted logistic regression models (Fig. 7). These visual tools enable rapid individualized risk estimation without computational software. To enhance clinical utility, we developed interactive online calculators based on the nomograms of Group A and Group B, allowing real-time risk assessment at the bedside. (available at: https://osteoporosis.shinyapps.io/GroupA_calculator/ and https://osteoporosis.shinyapps.io/GroupB_calculator/).
Discussion
In this study, we developed and validated cluster-specific diagnostic models for osteoporosis in CKD patients. Unlike conventional one-size-fits-all approaches, our methodology acknowledges the substantial heterogeneity of CKD-MBD by identifying distinct phenotypic subgroups through K-means clustering. The resulting models demonstrated robust discriminative performance, with Group A achieving superior accuracy (AUC 0.880 in training, 0.839 in internal validation, and 0.815 in external validation) compared to Group B (AUC 0.824 in training, 0.806 in internal validation, and 0.808 in external validation).
The clustering algorithm identified three clinically distinct phenotypes reflect the heterogeneous nature of CKD mineral bone disorde [15]. Cluster 1 exhibited markedly elevated alkaline phosphatase concurrent with severe renal impairment [16], suggesting increased osteoblastic activity relative to the other subgroups [17]. Cluster 2 demonstrated relatively modest alterations in bone metabolism markers despite moderate renal dysfunction, serving as an intermediate metabolic reference. Cluster 3 showed preserved glomerular filtration with mineral profiles distinct from Cluster 1, particularly lower serum phosphate relative to the high-turnover group, a pattern consistent with alterations observed in early CKD stages when skeletal responsiveness to mineral changes may differ [18].
This dissociation between bone turnover indicators and glomerular filtration rate supports that renal osteodystrophy does not parallel kidney function decline in a linear fashion [19]. Cluster 3 achieved higher eGFR than Cluster 2 yet exhibited comparable alkaline phosphatase levels, indicating that staging systems based solely on eGFR may incompletely capture this metabolic spectrum.
Notably, Group A and Group B exhibited differential predictor profiles that may reflect distinct etiological contributions to bone disease in CKD [20]. Group A was characterized by elevated serum creatinine and uric acid levels, markers primarily indicative of declining renal function severity rather than mineral metabolism per se, suggesting bone loss patterns associated with progressive kidney disease burden [21, 22]. In this subgroup, serum creatinine serves as a proxy for muscle mass and renal clearance capacity [23], while uric acid may reflect both purine metabolism and oxidative stress pathways implicated in bone turnover in the setting of active disease [24, 25].
By contrast, Group B demonstrated a significantly older age distribution alongside traditional risk factors, consistent with bone health deterioration driven by senescent processes and age-related physiological changes [26, 27]. The predictive importance of RBC count likely reflects the multifaceted pathophysiology linking chronic anemia to bone loss in CKD. Compensatory erythroid hyperplasia may physically encroach upon trabecular and cortical structures within the confined marrow cavity [28], while chronic hypoxia upregulates HIF-1α to stimulate RANKL-mediated osteoclastogenesis and suppress osteoblast differentiation [29].
Furthermore, anemia-induced neuromuscular hypoxia increases fall risk through dizziness and muscle weakness, establishing a dangerous synergy with compromised bone quality that amplifies fracture susceptibility [30]. Beyond that, emerging evidence suggests that in CKD, supraphysiological HDL-C may become dysfunctional and pro-inflammatory, promoting marrow adipogenesis over osteoblastogenesis. Although excluded from the final nomogram, its prominence during feature selection signals a potentially underexplored metabolic axis in CKD-associated bone disease warranting further investigation [31, 32].
Compared to existing models for CKD related osteoporosis, our cluster-specific approach offers complementary methodological perspectives. Prior NHANES based studies have employed varying analytical strategies [33, 34]. She & Liu (2025) developed a conventional 5-factor nomogram (age, height, weight, ALP, fracture history) with an AUC of 0.8184 [33], capturing general population-level risk but not within-population heterogeneity. Our clustering method identified distinct phenotype-specific patterns, particularly in Group B where mineral markers showed differential significance. Kuang et al. (2024) constructed stage-specific nomograms (AUCs 0.83–0.93) in a hospital-based cohort (n=342) [35].
Machine learning approaches have recently achieved substantial predictive gains, with Li et al. (2025) reporting AUCs of 0.845–0.859 using Random Forest with LASSO-Boruta selection [34], and Hsu et al. (2025) attaining 0.930 with ANNs in a Taiwanese cohort [36]. While these advance algorithmic sophistication, our approach balances predictive accuracy with clinical interpretability through weighted logistic regression, leveraging NHANES complex sampling weights to enhance population generalizability.
The development of cluster-specific nomograms and interactive online calculators addresses a critical gap in CKD management: the need for accessible, interpretable diagnostic tools that can guide DXA referral decisions [37–39]. Our nomograms enable immediate visual risk estimation at the point of care. For instance, a 65-year-old male CKD patient with elevated creatinine and ALP but normal BMI would be classified into Group A, where his risk score would be heavily weighted toward declining renal function, prompting evaluation for hyperparathyroidism and phosphate binder therapy in addition to DXA screening.
Conversely, an underweight elder female in Group B would trigger immediate concerns regarding nutritional deficiency and frailty fracture risk, prompting interventions beyond bone density testing (e.g., fall prevention, nutritional supplementation). This phenotype guided approach allows clinicians to tailor diagnostic workup and interventions to the dominant pathophysiology. The positive net benefit observed in decision curve analysis across clinically relevant thresholds (5–30% risk) supports the integration of these tools into CKD clinics as a triage mechanism [40, 41], reserving limited DXA resources for high-risk individuals while avoiding unnecessary radiation exposure and costs in low-risk populations.
The modest post-stratification sample sizes in NHANES (Group A: n = 474; Group B: n = 633) may have limited the statistical power to demonstrate the superiority of cluster-specific models over the Global Model in the internal validation. The large CRDS external cohort (Group B: n = 48,883) confirmed that sufficient sample size enables the stratified approach to outperform the Global Model (IDI: 0.006), supporting our interpretation that the NHANES findings reflect sample-size constraints rather than methodological limitations. The divergent NRI results, reclassification gain in Group B but loss in Group A, warrant careful interpretation.
This directionality likely reflects the differing dominant pathophysiology between clusters: Group B’s risk profile, centered on age-related bone loss and anemia, aligns more closely with conventional osteoporosis risk factors that a unified model captures reasonably well, whereas Group A’s unique combination of mineral metabolism derangements and progressive renal dysfunction represents a phenotype poorly served by one-size-fits-all approaches. Thus, the overall non-significant NRI masks meaningful heterogeneity: cluster-specific modeling appears most advantageous precisely in the subgroup whose biology deviates furthest from population-average patterns, a finding consistent with the premise that personalization yields greatest incremental value when phenotypic divergence is greatest.
Several limitations should be acknowledged. First, the inherent cross-sectional nature of NHANES data precludes definitive assessment of temporal sequences between potential risk factors and osteoporosis outcomes, constraining our ability to infer causality [42]. Second, although DXA cannot capture cortical microarchitecture or mineralization defects inherent to CKD-associated bone disease, the study outcome was defined entirely by DXA-derived BMD classification. BMD-defined osteoporosis remains clinically relevant in KDIGO guidelines [4]. Consequently, the model diagnosed low BMD-defined osteoporosis rather than CKD-MBD bone quality, renal osteodystrophy.
BMD assessments were restricted to specific NHANES subpopulations and survey cycles, with some participants lacking complete three site measurements [43]. This selective data availability may yield a non-representative sample that differs systematically from the broader CKD population, potentially compromising the generalizability of our predictive model. Third, although the use of a single eGFR or UACR measurement is standard in NHANES-based studies [44], this approach differs from clinical CKD diagnosis, which generally requires persistence over time [45].
Because NHANES is cross-sectional, transient albuminuria or temporary changes in renal function could lead to misclassification. Fourth, several clinically relevant variables were excluded from the initial screening due to > 30% missing data (including CRP, PTH, FGF23, bone-specific ALP, bone turnover markers, phosphate binders, vitamin D analogs, calcimimetics, anti-osteoporosis medications, EPO medication) or structural missingness in male participants (menopausal status). Notably, the unavailability of ESA/EPO medication data represents a potential unmeasured confounder, as exogenous EPO may directly influence bone remodeling through osteoclast EPOR signaling.
High-dose EPO may theoretically accelerate bone resorption, though its net effect in CKD is complex and remains unclear [46]. Additionally, several well-established disease-related variables, including serum albumin, serum calcium and phosphorus, were not retained in the final model. Serum phosphorus was excluded during LASSO–Boruta selection due to collinearity with eGFR and mineral metabolism markers. Serum albumin and calcium, by contrast, showed no significant univariate association and were dropped before entering the selection pipeline. This likely reflects tight homeostatic maintenance that masks bone mineral deficits in cross-sectional analyses.
Fifth, although K-means clustering identified three distinct phenotypic subgroups, one cluster exhibited insufficient sample size (n = 127) for weighted model development, necessitating its exclusion from predictive analyses [47]. This limitation precludes diagnostic modeling for this minority subgroup and may obscure unique pathophysiological features distinct from the two larger clusters. Future studies with expanded cohorts are warranted to validate model performance across all phenotypic profiles.
Conclusion
This study presents user friendly models utilizing interpretable algorithms to diagnose osteoporosis in CKD patients. Cluster-specific diagnostic models were successfully developed with robust discriminative performance and clinical utility. These models may facilitate personalized diagnostic and early intervention strategies.
Supplementary Information
Below is the link to the electronic supplementary material.
Supplementary Material 1
Acknowledgements
We acknowledge the data from the NHANES and CRDS.
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Zicheng Liu and Sha Fu contributed equally to this work.
Abbreviations
ALPAlkaline phosphatase
ANNArtificial neural network
AUCArea under the curve
BMIBody mass index
BMDBone mineral density
BUNBlood urea nitrogen
CKDChronic kidney disease
CKD-EPICKD Epidemiology Collaboration
CKD-MBDChronic kidney disease-mineral and bone disorder
DCADecision curve analysis
DXADual-energy X-ray absorptiometry
eGFRestimated glomerular filtration rate
HDLHigh-density lipoprotein
ISCDInternational Society for Clinical Densitometry
KDIGOKidney Disease: Improving Global Outcomes
LASSOLeast Absolute Shrinkage and Selection Operator
LDLLow-density lipoprotein
MECMobile Examination Center
NCHSNational Center for Health Statistics
NHANESNational Health and Nutrition Examination Survey
NPVNegative predictive value
PCAPrincipal component analysis
PPVPositive predictive value
ROCReceiver operating characteristic
SDStandard deviation
SIISystemic immune-inflammation index
UACRUrine albumin-to-creatinine ratio
VIFVariance inflation factor
WHOWorld Health Organization
References
Author contributions
Ying Tang, Lili Zhou and Sheng Nie conceptualized and designed the study. Zicheng Liu and Sha Fu drafted the manuscript, contributed to data collection and the statistical analysis. Yi Lu contributed to method guidance. All of the authors revised the manuscript critically for important intellectual content, gave final approval of the version to be published and agreed to be accountable for all aspects of the work.
Funding
The authors declare that they have received no funding.
Data availability
The datasets analyzed during the current study are available on the NHANES website (https://www.cdc.gov/nchs/nhanes/) and the CRDS center.
Declarations
Ethical approval and consent to participate
This study constitutes a secondary analysis of publicly available data from the NHANES and CRDS database. The original investigation of NHANES was approved by the NCHS Institutional Review Board with written informed consent obtained from all participants. The present analysis is therefore exempt from additional ethical review. Informed consent was obtained from all subjects involved in the study. More details can be found at the following links: https://wwwn.cdc.gov/nchs/nhanes/continuousnhanes/documents.aspx? BeginYear = 2005, https://wwwn.cdc.gov/nchs/nhanes/continuousnhanes/documents.aspx? BeginYear = 2007, https://wwwn.cdc.gov/nchs/nhanes/continuousnhanes/documents.aspx? BeginYear = 2009, https://wwwn.cdc.gov/nchs/nhanes/continuousnhanes/ documents.aspx?
BeginYear = 2013, https://wwwn.cdc.gov/nchs/nhanes/continuousnhanes/documents.aspx?BeginYear = 2017.
Consent for publication
Not applicable.
Disclosure
All authors disclose that they have no relevant financial or commercial relationships with any industry entities that could pose a conflict of interest regarding the work presented in this manuscript.
Competing interests
The authors declare no competing interests.
Supplementary Information
The online version contains supplementary material available at https://doi.org/10.1186/s12882-026-05258-5.
Publication and source details
Original title: Development and validation of cluster-specific diagnostic models for osteoporosis in chronic kidney disease patients: based on NHANES and CRDS data
Zicheng Liu; Sha Fu; Yi Lu; Junzhe Chen; Lili Zhou; Sheng Nie; Ying Tang
BMC Nephrology · 2026
© The Author(s) 20262026https://creativecommons.org/licenses/by/4.0/Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.Repository JATS snapshot; version as supplied
Source retrieved: 2026-11-28T16:57:55.294323+00:00
DOI: 10.1186/s12882-026-05258-5 · PMC13772451
