<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" article-type="research-article">
<front>
<journal-meta>
<journal-id journal-id-type="nlm-ta">Biomol Biomed</journal-id>
<journal-title>Biomolecules and Biomedicine</journal-title>
<issn pub-type="ppub">2831-0896</issn>
<issn pub-type="epub">2831-090X</issn>
<publisher>
<publisher-name>Association of Basic Medical Sciences of Federation of Bosnia and Herzegovina</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">BB-24-375</article-id>
<article-id pub-id-type="doi">10.17305/bb.2024.10725</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Research article</subject>
</subj-group>
</article-categories>
<title-group>
<article-title>Development and evaluation of interpretable machine learning regressors for predicting femoral neck bone mineral density in elderly men using NHANES data</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name>
<surname>He</surname>
<given-names>Wen</given-names>
</name>
<uri content-type="orcid">https://orcid.org/0000-0003-1407-5049</uri>
<xref rid="aff1" ref-type="aff">1</xref>
<xref rid="cnt1" ref-type="fn">#</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Chen</surname>
<given-names>Song</given-names>
</name>
<uri content-type="orcid">https://orcid.org/0000-0002-2505-7930</uri>
<xref rid="aff2" ref-type="aff">2</xref>
<xref rid="cnt1" ref-type="fn">#</xref>
<xref rid="cor1" ref-type="corresp">*</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Fu</surname>
<given-names>Xianghong</given-names>
</name>
<uri content-type="orcid">https://orcid.org/0009-0003-2294-7991</uri>
<xref rid="aff1" ref-type="aff">1</xref>
<xref rid="cnt1" ref-type="fn">#</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Xu</surname>
<given-names>Licong</given-names>
</name>
<uri content-type="orcid">https://orcid.org/0000-0002-8985-8921</uri>
<xref rid="aff1" ref-type="aff">1</xref>
<xref rid="cnt1" ref-type="fn">#</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Xie</surname>
<given-names>Jun</given-names>
</name>
<uri content-type="orcid">https://orcid.org/0000-0002-3076-3557</uri>
<xref rid="aff2" ref-type="aff">2</xref>
<xref rid="cor1" ref-type="corresp">*</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Wan</surname>
<given-names>Jinxing</given-names>
</name>
<uri content-type="orcid">https://orcid.org/0000-0002-8465-7047</uri>
<xref rid="aff3" ref-type="aff">3</xref>
<xref rid="cor1" ref-type="corresp">*</xref>
</contrib>
</contrib-group>
<aff id="aff1"><label>1</label>Reproductive Medicine Center, Quzhou People’s Hospital, The Quzhou Affiliated Hospital of Wenzhou Medical University, Quzhou, China</aff>
<aff id="aff2"><label>2</label>Department of Orthopedics, Quzhou People’s Hospital, The Quzhou Affiliated Hospital of Wenzhou Medical University, Quzhou, China</aff>
<aff id="aff3"><label>3</label>Department of Endocrinology, Quzhou People’s Hospital, The Quzhou Affiliated Hospital of Wenzhou Medical University, Quzhou, China</aff>
<author-notes>
<corresp id="cor1"><label>*</label>Correspondence to Song Chen: <email xlink:href="mailto:chensong89@126.com">chensong89@126.com</email>; Jun Xie: <email xlink:href="mailto:xiejun572572@wmu.edu.cn">xiejun572572@wmu.edu.cn</email>; Jinxing Wan: <email xlink:href="mailto:Qrynfm661@wmu.edu.cn">Qrynfm661@wmu.edu.cn</email> </corresp>
<fn id="cnt1"><label>#</label>
<p>Wen He, Song Chen, Xianghong Fu, and Licong Xu contributed equally to this work and share first authorship.</p></fn>
</author-notes>
<pub-date pub-type="collection">
<day>14</day>
<month>1</month>
<year>2025</year>
</pub-date>
<pub-date pub-type="epub">
<day>5</day>
<month>7</month>
<year>2024</year>
</pub-date>
<volume>25</volume>
<issue>2</issue>
<fpage>375</fpage>
<lpage>390</lpage>
<history>
<date date-type="received">
<day>9</day>
<month>5</month>
<year>2024</year>
</date>
<date date-type="rev-recd">
<day>5</day>
<month>7</month>
<year>2024</year>
</date>
<date date-type="accepted">
<day>28</day>
<month>6</month>
<year>2024</year>
</date>
</history>
<permissions>
<copyright-statement>© 2024 He et al.</copyright-statement>
<copyright-year>2025</copyright-year>
<license license-type="standard"><p>This article is available under a Creative Commons License (Attribution 4.0 International, as described at <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link>).</p>
</license>
</permissions>
<abstract>
<p>Osteoporotic femoral neck fractures (OFNFs) pose a significant orthopedic challenge in the elderly population, accounting for up to 40% of all osteoporotic fractures and leading to considerable health deterioration and increased mortality. In addressing the critical need for early identification of osteoporosis through routine screening of femoral neck bone mineral density (FNBMD), this study developed a user-friendly prediction model aimed at men aged 50 years and older, a demographic often overlooked in osteoporosis screening. Utilizing data from the National Health and Nutrition Examination Survey (NHANES), the study involved outlier detection and handling, missing value imputation via the K-nearest neighbor (KNN) algorithm, and data normalization and encoding. The dataset was split into training and test sets with a 7:3 ratio, followed by feature screening through the least absolute shrinkage and selection operator (LASSO) and the Boruta algorithm. Eight different machine learning algorithms were then employed to construct predictive models, with their performance evaluated through a comprehensive metric suite. The random forest regressor (RFR) emerged as the most effective model, characterized by key predictors, such as age, body mass index (BMI), poverty income ratio (PIR), serum calcium, and race, achieving a coefficient of determination (<italic>R</italic><sup>2</sup>) of 0.218 and maintaining robustness in sensitivity analyses. Notably, excluding race from the model resulted in sustained high performance, underscoring the model’s adaptability. Interpretations using Shapley additive explanations (SHAP) highlighted the influence of each feature on FNBMD. These findings indicate that our predictive model effectively aids in the early detection of osteoporosis, potentially reducing the incidence of OFNFs in this high-risk population.</p>
</abstract>
<kwd-group>
<kwd>Femoral neck bone mineral density (FNBMD)</kwd>
<kwd>osteoporotic femoral neck fractures (OFNFs)</kwd>
<kwd>National Health and Nutrition Examination Survey (NHANES)</kwd>
<kwd>machine learning</kwd>
<kwd>random forest regressor (RFR)</kwd>
</kwd-group>
</article-meta>
</front>
<body>
<sec id="sec1"><title>Introduction</title>
<p>Osteoporotic femoral neck fractures (OFNFs) represent a prevalent orthopedic challenge among the elderly, comprising up to 40% of all osteoporotic fractures and significantly impairing health while increasing mortality [<xref rid="ref1 ref2 ref3" ref-type="bibr">1–3</xref>]. Experts anticipate a 2.7-fold increase in the incidence of such fractures in Eastern Asia, with projections rising from 18,388 cases in 2010 to 50,421 by 2035 [<xref rid="ref4" ref-type="bibr">4</xref>]. Early detection of individuals with osteoporosis and the implementation of anti-osteoporotic treatments are crucial measures for preventing these fractures [<xref rid="ref5" ref-type="bibr">5</xref>]. Femoral neck bone mineral density (FNBMD) is recognized as a valuable predictor of OFNFs and is recommended for diagnosing osteoporosis and assessing low bone mass [<xref rid="ref6" ref-type="bibr">6</xref>]. Although dual-energy X-ray absorptiometry (DXA) is the standard method for evaluating FNBMD, its high cost, limited accessibility, and associated radiation exposure restrict its widespread use in community screenings [<xref rid="ref7" ref-type="bibr">7</xref>]. Consequently, developing a simple, cost-effective, and reliable alternative for routine FNBMD assessment is imperative.</p>
<p>Machine learning (ML), a branch of artificial intelligence (AI), excels at handling extensive heterogeneous datasets and capturing intricate relationships between features [<xref rid="ref8 ref9 ref10" ref-type="bibr">8–10</xref>]. It has demonstrated significant potential in predicting healthcare outcomes and complications, aiding clinicians in making informed decisions, and improving patient care [<xref rid="ref11 ref12 ref13" ref-type="bibr">11–13</xref>]. This opens innovative avenues for creating accurate and reliable models for the real-time prediction of FNBMD, which is crucial for assessing patients’ bone health and facilitating early osteoporosis diagnosis. Currently, ML algorithms have been effectively utilized to screen for osteoporosis with satisfactory outcomes [<xref rid="ref14 ref15 ref16" ref-type="bibr">14–16</xref>]. Nevertheless, most studies have primarily focused on the models’ ability to identify patients with osteoporosis, rather than on the real-time prediction of bone mineral density (BMD) values. Moreover, while osteoporosis is more prevalent among women aged 50 and above, leading to a concentration of research within this demographic, fewer studies have addressed men of the same age group. There are increasing calls for routine BMD screenings for men aged 50 and older [<xref rid="ref17" ref-type="bibr">17</xref>, <xref rid="ref18" ref-type="bibr">18</xref>]. Addressing this research gap, the application of ML algorithms for real-time FNBMD prediction in this male population holds substantial clinical significance.</p>
<p>The objective of this study is to develop and validate a straightforward, cost-effective, and reliable ML prediction model for FNBMD in elderly men. This involves comparing the predictive performance of various ML algorithms. The hypothesis of this study is that the optimal model can accurately predict FNBMD using only a limited set of readily accessible features. This capability is crucial for the early identification of osteoporosis in older men, enabling the implementation of targeted preventive strategies aimed at reducing the incidence of OFNFs.</p>
</sec>
<sec id="sec2"><title>Materials and methods</title>
<p>This study adhered to the Strengthening the Reporting of Observational Studies in Epidemiology (STROBE) reporting guidelines. The overall design is depicted in <xref ref-type="fig" rid="f1">Figure 1</xref>.</p>
<fig id="f1"><label>Figure 1.</label>
<caption>
<p><bold>Flowchart of the study design.</bold> NHANES: National health and nutrition examination survey; KNN: K-nearest neighbors; MLR: Multivariable linear regression; DTR: Decision tree regression; SVR: Support vector regression; GPR: Gaussian process regression; XGBR: Extreme gradient boosting regression; RFR: Random forest regression; ETR: Extra-trees regression; MLPR: Multi-layer perceptron regression; R<sup>2</sup>: Coefficient of determination; MAE: Mean absolute error; MSE: Mean squared error; MAPE: Mean absolute percentage error; RMSE: Root mean squared error; TyG-BMI: Triglyceride and glucose-body mass index; PIR: Poverty income ratio; LASSO: Least absolute shrinkage and selection operator; RCS: Restricted cubic spline.</p>
</caption>
<graphic xlink:href="bb-2024-10725f1.jpg"/></fig>
<sec id="sec2a"><title>Data source</title>
<p>The data for this study were sourced from the continuous National Health and Nutrition Examination Survey (NHANES), conducted by the National Center for Health Statistics of the Centers for Disease Control and Prevention (CDC) (<ext-link xmlns:xlink="http://www.w3.org/1999/xlink" ext-link-type="uri" xlink:href="https://wwwn.cdc.gov/nchs/nhanes/">https://wwwn.cdc.gov/nchs/nhanes/</ext-link>). NHANES data were gathered from a nationally representative sample of the civilian, noninstitutionalized U.S. population, utilizing a multistage probability design. The dataset includes questionnaire responses, laboratory test results, and physical examination data.</p>
</sec>
<sec id="sec2b"><title>Study population</title>
<p>We incorporated data from NHANES covering the period from January 2005 to March 2020, excluding the 2011–2012 and 2015–2016 cycles due to the unavailability of FNBMD data. To ensure a comprehensive and representative dataset while avoiding potential biases and redundancies, we merged data from the specified periods and took careful measures to include each individual only once. The exclusion criteria were as follows: (1) female participants; (2) individuals under the age of 50; (3) participants with hypoglycemia (fasting plasma glucose [FPG] ≤ 50 mg/dL or 2.8 mmol/L) or diabetes (FPG ≥ 110 mg/dL or 7.0 mmol/L) at baseline; and (4) individuals with conditions including cancer, thyroid disorders, chronic renal failure, inflammatory arthritis, and chronic liver disease, as well as those using medications for dyslipidemia, corticosteroids, sex hormones, and diuretics. Participants with incomplete or invalid FNBMD data were excluded from the final analysis. Additionally, cases with outliers, defined as data points exceeding three times the interquartile range (IQR), were removed, as they constituted only 1% of the dataset.</p>
</sec>
<sec id="sec2c"><title>BMD examination</title>
<p>BMD measurements, expressed in grams per square centimeter (gm/cm<sup>2</sup>), were conducted using DXA with Hologic QDR 4500A fan-beam densitometers (Hologic Inc., Bedford, MA, USA) [<xref rid="ref1" ref-type="bibr">1</xref>, <xref rid="ref2" ref-type="bibr">2</xref>]. All measurements were conducted by NHANES radiological technologists, who had undergone extensive training and certification. In the present research, FNBMD data were selected as the outcome because the femoral neck is often proposed as the reference skeletal site for defining osteoporosis in epidemiological research [<xref rid="ref3" ref-type="bibr">3</xref>].</p>
</sec>
<sec id="sec2d"><title>Features</title>
<p>Based on the literature [<xref rid="ref4 ref5 ref6" ref-type="bibr">4–6</xref>], the following features were included: age, body mass index (BMI), race, education level, marital status, drinking status, smoking status, physical activity, family history of osteoporosis (FHOS), poverty income ratio (PIR), systolic blood pressure (SBP), diastolic blood pressure (DBP), high-density lipoprotein (HDL), FPG, total cholesterol (TC), triglycerides, low-density lipoprotein (LDL), serum calcium, serum phosphorus, and serum 25-hydroxyvitamin D3 (25(OH)D3). Race was categorized as “Mexican American,” “non-Hispanic White,” “non-Hispanic Black,” or “other race”; education level was classified as “less than high school,” “high school,” or “college or above”; and marital status was divided into “married or living with partner” or “single.” Regarding health-related behaviors, smoking status was defined based on a lifetime history of smoking at least five packs of cigarettes (equivalent to 100 cigarettes), categorized as “yes” for those meeting this criterion and “no” for those who smoked fewer than five packs and were currently nonsmoking. Alcohol consumption was binary, with individuals drinking at least once a month over the past year classified as “yes” and all others as “no”. FHOS was specifically noted if a parent had been diagnosed with the condition. Physical activity was quantified in metabolic equivalent hours per week (MET-min/week) of moderate-to-vigorous physical activity, with categories set at “less active (&lt; 600 MET-min/week)” and “active (≥ 600 MET-min/week)” [<xref rid="ref7" ref-type="bibr">7</xref>].</p>
</sec>
<sec id="sec2e"><title>Missing data</title>
<p>The details of the missing data are presented in <xref ref-type="table" rid="TBS1">Table S1</xref>. To enhance statistical power and reduce bias, the K-nearest neighbor (KNN) imputation [<xref rid="ref19" ref-type="bibr">19</xref>], with K equal to 10, was employed to address missing values in eligible cases. To assess the imputation effect, we performed separate outlier tests on the imputed data and compared them with the raw data to identify any between-group differences, as detailed in <xref ref-type="table" rid="TBS1">Table S1</xref>. Following the acquisition of the qualified interpolated data, we applied Z-score standardization to quantitative features and one-hot encoding to qualitative features. The data were then divided into a training set and a test set in a ratio of 7:3 for subsequent analysis.</p>
</sec>
<sec id="sec2f"><title>Feature selection</title>
<p>We implemented a stringent feature selection process to pinpoint the most pertinent predictors for constructing the prediction model, using only the training cohort to prevent data leakage. Initially, a pairwise Pearson or Spearman correlation matrix was utilized to evaluate the continuous features for collinearity, setting a correlation threshold of <italic>r</italic> &gt; 0.8. Collinearity, which occurs when two or more predictor variables are highly correlated, can obscure the unique contribution of each variable to the outcome. Consequently, we selected the most readily available variables among the collinear ones for further analysis. Next, we employed a two-step approach using both the Boruta algorithm [<xref rid="ref8" ref-type="bibr">8</xref>] and the least absolute shrinkage and selection operator (LASSO) [<xref rid="ref9" ref-type="bibr">9</xref>]. We then took the intersection of the predictors identified by both algorithms to ensure only the most relevant and robust variables were included in the development of our prediction model. This combined methodology aims to enhance the model’s accuracy and generalizability while minimizing the risk of overfitting or incorporating irrelevant predictors.</p>
</sec>
<sec id="sec2g"><title>Model development and validation</title>
<p>Common supervised ML algorithms for regression encompass linear models such as linear regression, foundational tree-based methods like decision trees and ensemble-based random forests, support vector machines (SVMs) which excel in complex function mapping with kernel function selection, neural networks renowned for their adaptability and proficiency in managing noisy data, and Gaussian process models, prized for their probabilistic approach and ability to estimate prediction uncertainty [<xref rid="ref10" ref-type="bibr">10</xref>]. (1) A linear model, specifically multivariable linear regression (MLR), posits a linear relationship between input and output variables. It is straightforward and establishes a baseline for comparison. While predicting phenomena such as FNBMD might surpass the complexity MLR can handle, it remains an excellent benchmark to gauge the degree of enhancement provided by more sophisticated non-linear ML algorithms. (2) Tree-based models such as decision tree regression (DTR), extreme gradient boosting regression (XGBR), random forest regression (RFR), and extra-trees regression (ETR) are highly effective in managing complex medical datasets. Renowned for their interpretability and capability to process both numerical and categorical data, these models excel at identifying non-linear relationships and intricate interactions among variables, making them particularly valuable in health research [<xref rid="ref11" ref-type="bibr">11</xref>]. (3) Support vector regression (SVR), a variant of the SVM, is frequently selected for its effectiveness in high-dimensional spaces. SVR is particularly skilled at navigating the complex patterns prevalent in medical datasets, establishing it as a robust choice for intricate data analysis [<xref rid="ref12" ref-type="bibr">12</xref>]. (4) Gaussian process regression (GPR), a non-parametric method, is highly valued for its ability to provide uncertainty measures alongside predictions. This feature is particularly advantageous for analyzing medical data, which often involves considerable uncertainty [<xref rid="ref13" ref-type="bibr">13</xref>]. (5) Multi-layer perceptron regression (MLPR), a neural network approach, is adept at capturing the intricate and often non-linear patterns found in large health datasets [<xref rid="ref14" ref-type="bibr">14</xref>]. By incorporating a diverse array of ML approaches, our study offers a comprehensive comparison of FNBMD prediction across various models.</p>
<p>All models were implemented using the “sklearn,” “xgboost,” “numpy,” and “pandas” packages, with grid search utilized to optimize the hyperparameters for each model. This method systematically explores a broad spectrum of hyperparameter values, enhancing the probability of discovering the most effective global solution for all critical parameters. This approach facilitates thorough yet efficient tuning, which is particularly advantageous given the limited size of our dataset. To assess the effectiveness of the predictive ML models, we employed five specific metrics for regression issues: the coefficient of determination (R<sup>2</sup>), mean absolute error (MAE), mean squared error (MSE), mean absolute percentage error (MAPE), and root mean squared error (RMSE).</p>
</sec>
<sec id="sec2h"><title>Model explainability</title>
<p>ML models often face challenges in terms of explainability, particularly as the complexity and accuracy of the models increase, potentially reducing interpretability [<xref rid="ref15" ref-type="bibr">15</xref>, <xref rid="ref16" ref-type="bibr">16</xref>]. To address this issue, we utilized SHapley Additive exPlanations (SHAP) values from the game theory-based “shap” package to plot feature importance for global explainability. This approach enhanced our understanding of the decision-making processes within the model that demonstrated the best performance [<xref rid="ref16" ref-type="bibr">16</xref>].</p>
<p>To ascertain the most critical features for predicting FNBMD, we employed the permutation importance method. This technique evaluates feature importance by assessing the impact of randomly permuting (shuffling) the values of a feature on the model’s predictive performance. To minimize error and stabilize the results, we conducted 1000 permutations for each feature across all constructed models, thereby generating 1000 importance values per feature. We then calculated the mean of these importance values and ranked the features based on these averages.</p>
</sec>
<sec id="sec2i"><title>Sensitivity analysis</title>
<p>To ensure the robustness of our main findings, we implemented three sensitivity analyses. Firstly, we removed racial features from the optimal model and then evaluated the new model’s performance in both the training and test sets. This was undertaken to develop a model independent of racial features, thereby expanding its applicability. Secondly, recognizing the documented reliability of the TyG-BMI index as a predictor of BMD [<xref rid="ref17" ref-type="bibr">17</xref>, <xref rid="ref18" ref-type="bibr">18</xref>], we computed this index from imputed data and integrated it into the selected algorithm for comparison with our optimal model. Details on the TyG-BMI calculation are provided in the supplementary material (Data S1). Lastly, we conducted restricted cubic spline (RCS) analyses [<xref rid="ref20" ref-type="bibr">20</xref>] for TyG-BMI and each quantitatively selected feature post-engineering, setting five knots at the 5th, 35th, 50th, 65th, and 95th percentiles to flexibly model its relationship with FNBMD. This analysis was aimed at verifying the plausibility of the interpretations suggested by the SHAP values.</p>
</sec>
<sec id="sec2j"><title>Sample size calculation</title>
<p>The R package “pmsampsize,” version 1.1.2, was employed to calculate the required minimum sample size for training [<xref rid="ref21" ref-type="bibr">21</xref>]. We selected 22 candidate predictor parameters to construct a multivariable prediction model for the continuous outcome. We based our calculations on the assumption that an existing prediction model in the same field has an adjusted <italic>R</italic><sup>2</sup> of 0.8 [<xref rid="ref6" ref-type="bibr">6</xref>, <xref rid="ref17" ref-type="bibr">17</xref>], and that FNBMD values in the present population have a mean of 0.81 and a standard deviation of 0.13. Consequently, the minimum sample size needed for the training cohort was determined to be 256 cases. Additionally, following Richard’s recommendations for external validation of a prognostic model [<xref rid="ref22" ref-type="bibr">22</xref>], we used a confidence interval width of ≤ 5 for the calibration-in-the-large (considered precise on an outcome scale of 0–100) and ≤ 0.3 for the calibration slope to calculate the sample size, which indicated a minimum of 235 cases were required. This analysis confirms that the eligible population is adequate for both model construction and validation.</p>
</sec>
<sec id="sec2k"><title>Ethical statement</title>
<p>According to the Helsinki Declaration of 1975, as revised in 2000, all procedures adhered to the ethical standards of the responsible committee on human experimentation. All participants provided written informed consent to participate in this study, which was approved by the Institutional Review Board of the NHANES. All methods in this study were carried out in accordance with relevant guidelines and regulations.</p>
</sec>
<sec id="sec2l"><title>Statistical analysis</title>
<p>Continuous data were evaluated for normality using the Shapiro–Wilk test and presented as mean with standard deviation (SD) for normally distributed data, or median with IQR for non-normally distributed data. The outliers were detected using boxplots and Grubbs’ test. The homogeneity of variance across groups was assessed using the Levene test. For data following a Gaussian distribution, parametric tests such as the unpaired two-tailed Student’s <italic>t</italic>-test or Welch’s <italic>t</italic>-test were used for comparisons between the two groups. For non-Gaussian data, the Mann–Whitney <italic>U</italic> test was employed for two-group comparisons. Categorical data were expressed as counts and percentages and analyzed using the chi-squared test or Fisher’s exact test, the latter being applied when more than 20% of cells had expected frequencies of less than 5. Statistical significance was determined by a two-sided <italic>P</italic> value of less than 0.05. All statistical analyses were performed using R software, version 4.1.0.</p>
</sec></sec>
<sec id="sec3"><title>Results</title>
<sec id="sec3a"><title>Participant characteristics</title>
<p>A total of 1182 eligible participants from the NHANES data collected between January 2005 and March 2020 were included in the analysis. The exclusion criteria are detailed in <xref ref-type="fig" rid="f1">Figure 1</xref>. Missing values were found in BMI, smoking status, drinking status, and nearly all laboratory test-related features. Comparative analyses between the raw data and the imputed data showed no statistically significant differences (<xref ref-type="table" rid="TBS1">Table S1</xref>). No outliers were detected in either the complete dataset (data with all missing values removed) or the imputed data.</p>
<p>In the imputed dataset, the median age of participants was 61 years (IQR 55–68), and the median BMI was 33.4 kg/m<sup>2</sup> (IQR 29.7–36.5). The majority were non-Hispanic White (42.8%), had at least a bachelor’s degree (48.5%), were not single (71.3%), and reported drinking alcohol (75.9%). The median FNBMD of these participants was 0.80 (IQR 0.71–0.89).</p>
<p>Of all eligible participants, 829 were assigned to the training group and 353 to the test group. Participant characteristics were similar across both cohorts, with no significant differences (<italic>P</italic> &gt; 0.05) noted (<xref ref-type="table" rid="TB1">Table 1</xref>). The median TyG-BMI values were 228 (IQR 200–260) for the training group and 231 (IQR 206–265) for the test group. The median FNBMD values were consistent across both groups, each registering at 0.80 (IQR 0.71–0.89).</p>
<table-wrap id="TB1">
<label>Table 1</label>
<caption>
<p>Baseline characteristics of training and test datasets</p></caption>
<table frame="hsides" rules="groups">
<colgroup>
<col span="1" align="left"/>
<col span="2" align="center"/>
<col span="3" align="center"/>
<col span="4" align="center"/>
</colgroup>
<thead>
<tr valign="bottom">
<th><bold>Characteristics</bold></th>
<th><bold>Training set (<italic>n</italic> ═ 829)</bold></th>
<th><bold>Test set (<italic>n</italic> ═ 353)</bold></th>
<th><bold><italic>P</italic> value</bold></th>
</tr>
</thead>
<tbody>
<tr valign="top">
<td>FNBMD (gm/cm<sup>2</sup>), median (IQR)</td>
<td>0.80 (0.71, 0.89)</td>
<td>0.80 (0.71, 0.89)</td>
<td>0.725</td>
</tr>
<tr valign="top">
<td>TyG-BMI, median (IQR)</td>
<td>228 (200, 260)</td>
<td>231 (206, 265)</td>
<td>0.135</td>
</tr>
<tr valign="top">
<td>Age (years), median (IQR)</td>
<td>61.0 (55.0, 68.0)</td>
<td>61.0 (55.0, 70.0)</td>
<td>0.225</td>
</tr>
<tr valign="top">
<td>BMI (kg/m<sup>2</sup>), median (IQR)</td>
<td>32.8 (29.7, 36.5)</td>
<td>33.4 (29.9, 36.5)</td>
<td>0.421</td>
</tr>
<tr valign="top">
<td>Race, <italic>n</italic> (%)</td>
<td/>
<td/>
<td>0.084</td>
</tr>
<tr valign="top">
<td> Mexican American</td>
<td>108 (13.0)</td>
<td>47 (13.3)</td>
<td/>
</tr>
<tr valign="top">
<td> Other Hispanic</td>
<td>93 (11.2)</td>
<td>25 (7.08)</td>
<td/>
</tr>
<tr valign="top">
<td> Non-Hispanic White</td>
<td>353 (42.6)</td>
<td>153 (43.3)</td>
<td/>
</tr>
<tr valign="top">
<td> Non-Hispanic Black</td>
<td>202 (24.4)</td>
<td>83 (23.5)</td>
<td/>
</tr>
<tr valign="top">
<td> Other race</td>
<td>73 (8.81)</td>
<td>45 (12.7)</td>
<td/>
</tr>
<tr valign="top">
<td>Education, <italic>n</italic> (%)</td>
<td/>
<td/>
<td>0.130</td>
</tr>
<tr valign="top">
<td> Less than high school</td>
<td>227 (27.4)</td>
<td>115 (32.6)</td>
<td/>
</tr>
<tr valign="top">
<td> High school</td>
<td>197 (23.8)</td>
<td>70 (19.8)</td>
<td/>
</tr>
<tr valign="top">
<td> College or above</td>
<td>405 (48.9)</td>
<td>168 (47.6)</td>
<td/>
</tr>
<tr valign="top">
<td>Marital status, <italic>n</italic> (%)</td>
<td/>
<td/>
<td>0.114</td>
</tr>
<tr valign="top">
<td> Married or living with partner</td>
<td>580 (70.0)</td>
<td>263 (74.5)</td>
<td/>
</tr>
<tr valign="top">
<td> Single</td>
<td>249 (30.0)</td>
<td>90 (25.5)</td>
<td/>
</tr>
<tr valign="top">
<td>Drinking status, <italic>n</italic> (%)</td>
<td/>
<td/>
<td>0.447</td>
</tr>
<tr valign="top">
<td> No</td>
<td>205 (24.7)</td>
<td>80 (22.7)</td>
<td/>
</tr>
<tr valign="top">
<td> Yes</td>
<td>624 (75.3)</td>
<td>273 (77.3)</td>
<td/>
</tr>
<tr valign="top">
<td>Smoking status, <italic>n</italic> (%)</td>
<td/>
<td/>
<td>0.292</td>
</tr>
<tr valign="top">
<td> No</td>
<td>571 (68.9)</td>
<td>254 (72.0)</td>
<td/>
</tr>
<tr valign="top">
<td> Yes</td>
<td>258 (31.1)</td>
<td>99 (28.0)</td>
<td/>
</tr>
<tr valign="top">
<td>Physical activity, <italic>n</italic> (%)</td>
<td/>
<td/>
<td>0.779</td>
</tr>
<tr valign="top">
<td> Less active</td>
<td>369 (44.5)</td>
<td>154 (43.6)</td>
<td/>
</tr>
<tr valign="top">
<td> Active</td>
<td>460 (55.5)</td>
<td>199 (56.4)</td>
<td/>
</tr>
<tr valign="top">
<td>FHOS, <italic>n</italic> (%)</td>
<td/>
<td/>
<td>0.367</td>
</tr>
<tr valign="top">
<td> No</td>
<td>765 (92.3)</td>
<td>331 (93.8)</td>
<td/>
</tr>
<tr valign="top">
<td> Yes</td>
<td>64 (7.72)</td>
<td>22 (6.23)</td>
<td/>
</tr>
<tr valign="top">
<td>PIR, median (IQR)</td>
<td>2.70 (1.40, 4.28)</td>
<td>2.59 (1.35, 4.04)</td>
<td>0.364</td>
</tr>
<tr valign="top">
<td>SBP (mmHg), median (IQR)</td>
<td>127 (117, 139)</td>
<td>128 (119, 139)</td>
<td>0.598</td>
</tr>
<tr valign="top">
<td>DBP (mmHg), median (IQR)</td>
<td>74.0 (67.0, 80.0)</td>
<td>74.0 (67.0, 81.0)</td>
<td>0.71</td>
</tr>
<tr valign="top">
<td>HDL (mmol/L), median (IQR)</td>
<td>1.29 (1.09, 1.55)</td>
<td>1.29 (1.09, 1.60)</td>
<td>0.751</td>
</tr>
<tr valign="top">
<td>FPG (mmol/L), median (IQR)</td>
<td>5.66 (5.33, 6.05)</td>
<td>5.77 (5.38, 6.11)</td>
<td>0.171</td>
</tr>
<tr valign="top">
<td>TC (mmol/L), median (IQR)</td>
<td>4.99 (4.40, 5.61)</td>
<td>4.97 (4.32, 5.56)</td>
<td>0.323</td>
</tr>
<tr valign="top">
<td>Triglycerides (mmol/L), median (IQR)</td>
<td>1.09 (0.81, 1.43)</td>
<td>1.09 (0.79, 1.46)</td>
<td>0.522</td>
</tr>
<tr valign="top">
<td>LDL (mmol/L), median (IQR)</td>
<td>3.10 (2.53, 3.60)</td>
<td>3.03 (2.46, 3.60)</td>
<td>0.346</td>
</tr>
<tr valign="top">
<td>Serum calcium (mmol/L), median (IQR)</td>
<td>2.33 (2.28, 2.38)</td>
<td>2.33 (2.28, 2.38)</td>
<td>0.609</td>
</tr>
<tr valign="top">
<td>Serum phosphorus (mmol/L), median (IQR)</td>
<td>1.10 (1.00, 1.20)</td>
<td>1.07 (0.97, 1.16)</td>
<td>0.565</td>
</tr>
<tr valign="top">
<td>Serum 25(OH)D3 (ng/mL), median (IQR)</td>
<td>59.7 (52.4, 67.6)</td>
<td>58.9 (51.0, 67.0)</td>
<td>0.253</td>
</tr>
</tbody></table> <table-wrap-foot>
<p><italic>P</italic> values between groups were assessed by the chi-square and Mann–Whitney <italic>U</italic> tests. IQR: Inter-quartile range; FNBMD: Femoral neck bone mineral density; TyG-BMI: Triglyceride and glucose to body mass index; FHOS: Family history of osteoporosis; PIR: Poverty income ratio; SBP: Systolic blood pressure; DBP: Diastolic blood pressure; HDL: High-density lipoprotein; FPG: Fasting plasma glucose; TC: Total cholesterol; LDL: Low-density lipoprotein.</p></table-wrap-foot></table-wrap></sec>
<sec id="sec3b"><title>Feature selection</title>
<p>As depicted in <xref ref-type="fig" rid="f2">Figure 2A</xref>, Pearson correlation values for LDL and TC exceeded 0.8, signaling the presence of collinearity. We opted to select LDL for the subsequent feature selection phase. The Boruta algorithm (<xref ref-type="fig" rid="f2">Figure 2B</xref>) and LASSO algorithm (<xref ref-type="fig" rid="f2">Figure 2C</xref> and <xref ref-type="fig" rid="f2">2D</xref>) identified a total of six features as significant predictors of the outcome. These encompassed age, BMI, non-Hispanic Black, non-Hispanic White, PIR, and serum calcium. The chosen features were then integrated into eight ML regressors to develop predictive models.</p>
<fig id="f2"><label>Figure 2.</label>
<caption>
<p><bold>Feature engineering.</bold> (A) Displaying Spearman and Pearson correlation matrix of continuous variables. Feature pairs with correlation coefficients greater than 0.8 are bolded; (B) Illustrating feature selection with the Boruta algorithm. The features highlighted in bold and color are identified by intersecting the results from the Boruta and LASSO algorithms; (C and D) Showcasing feature selection using the LASSO algorithm. HDL: High-density lipoprotein; PIR: Poverty income ratio; SBP: Systolic blood pressure; DBP: Diastolic blood pressure; BMI: Body mass index; FPG: Fasting plasma glucose; TC: Total cholesterol; LDL: Low-density lipoprotein.</p>
</caption>
<graphic xlink:href="bb-2024-10725f2.jpg"/></fig></sec>
<sec id="sec3c"><title>Hyperparameters tuning</title>
<p><xref ref-type="table" rid="TBS2">Table S2</xref> lists the optimized hyperparameters for each algorithm. Hyperparameter tuning was not conducted on the MLR model, as it does not involve hyperparameters.</p>
</sec>
<sec id="sec3d"><title>Development and validation of prediction models</title>
<p>The identified six predictors and optimized hyperparameters were incorporated into the FNBMD prediction regressors. Within the training cohort, the RFR model demonstrated superior performance, achieving the highest <italic>R</italic><sup>2</sup> at 0.712, the lowest MSE at 0.005, and an RMSE of 0.072. Upon removing the racial features from the model, the performance of the adjusted model (referred to as ABPC-RFR, which includes age, BMI, PIR, and serum calcium) improved significantly, with <italic>R</italic><sup>2</sup> rising to 0.841 and reductions in MAE, MSE, MAPE, and RMSE reaching the most favorable values of 0.043, 0.003, 0.054, and 0.057, respectively. This model outperformed all others, including the TyG-BMI-RFR model, which solely incorporates TyG-BMI. In the test cohort, the ABPC-RFR model’s performance was comparable to that of the original RFR model, which integrates six features, and it surpassed the performance of all other models examined (as detailed in <xref ref-type="table" rid="TB2">Table 2</xref>).</p>
<table-wrap id="TB2">
<label>Table 2</label>
<caption>
<p>FNBMD prediction results for each model with metrics</p></caption>
<table frame="hsides" rules="groups">
<colgroup>
<col span="1" align="left"/>
<col span="2" align="center"/>
<col span="3" align="center"/>
<col span="4" align="center"/>
<col span="5" align="center"/>
<col span="6" align="center"/>
<col span="7" align="center"/>
<col span="8" align="center"/>
<col span="9" align="center"/>
<col span="10" align="center"/>
<col span="11" align="center"/>
</colgroup>
<thead>
<tr valign="bottom">
<th><bold>Model</bold></th>
<th colspan="2"><bold><italic>R</italic><sup>2</sup></bold></th>
<th colspan="2"><bold>MAE</bold></th>
<th colspan="2"><bold>MSE</bold></th>
<th colspan="2"><bold>MAPE</bold></th>
<th colspan="2"><bold>RMSE</bold></th>
</tr>
<tr valign="top">
<td/>
<td><bold>Training</bold></td>
<td><bold>Test</bold></td>
<td><bold>Training</bold></td>
<td><bold>Test</bold></td>
<td><bold>Training</bold></td>
<td><bold>Test</bold></td>
<td><bold>Training</bold></td>
<td><bold>Test</bold></td>
<td><bold>Training</bold></td>
<td><bold>Test</bold></td>
</tr>
</thead>
<tbody>
<tr valign="top">
<td>MLR</td>
<td>0.264</td>
<td>0.168</td>
<td>0.092</td>
<td>0.095</td>
<td>0.014</td>
<td>0.014</td>
<td>0.116</td>
<td>0.121</td>
<td>0.116</td>
<td>0.120</td>
</tr>
<tr valign="top">
<td>DTR</td>
<td>0.252</td>
<td>0.150</td>
<td>0.092</td>
<td>0.095</td>
<td>0.014</td>
<td>0.015</td>
<td>0.117</td>
<td>0.121</td>
<td>0.117</td>
<td>0.121</td>
</tr>
<tr valign="top">
<td>SVR</td>
<td>0.298</td>
<td>0.204</td>
<td>0.090</td>
<td>0.093</td>
<td>0.013</td>
<td>0.014</td>
<td>0.114</td>
<td>0.119</td>
<td>0.114</td>
<td>0.117</td>
</tr>
<tr valign="top">
<td>GPR</td>
<td>0.691</td>
<td>0.099</td>
<td>0.058</td>
<td>0.106</td>
<td>0.006</td>
<td>0.019</td>
<td>0.072</td>
<td>0.134</td>
<td>0.075</td>
<td>0.138</td>
</tr>
<tr valign="top">
<td>XGBR</td>
<td>0.174</td>
<td>0.115</td>
<td>0.096</td>
<td>0.097</td>
<td>0.015</td>
<td>0.015</td>
<td>0.119</td>
<td>0.123</td>
<td>0.123</td>
<td>0.123</td>
</tr>
<tr valign="top">
<td>RFR<sup>a</sup></td>
<td>0.712</td>
<td><bold>0.218</bold></td>
<td>0.053</td>
<td><bold>0.092</bold></td>
<td>0.005</td>
<td><bold>0.013</bold></td>
<td>0.067</td>
<td><bold>0.118</bold></td>
<td>0.072</td>
<td><bold>0.116</bold></td>
</tr>
<tr valign="top">
<td>RFR<sup>b</sup></td>
<td><bold>0.821</bold></td>
<td>0.199</td>
<td><bold>0.043</bold></td>
<td><bold>0.092</bold></td>
<td><bold>0.003</bold></td>
<td>0.014</td>
<td><bold>0.054</bold></td>
<td>0.119</td>
<td><bold>0.057</bold></td>
<td>0.117</td>
</tr>
<tr valign="top">
<td>RFR<sup>c</sup></td>
<td>0.158</td>
<td>0.073</td>
<td>0.097</td>
<td>0.100</td>
<td>0.015</td>
<td>0.017</td>
<td>0.124</td>
<td>0.127</td>
<td>0.123</td>
<td>0.130</td>
</tr>
<tr valign="top">
<td>ETR</td>
<td>0.708</td>
<td>0.212</td>
<td>0.052</td>
<td>0.093</td>
<td>0.005</td>
<td>0.014</td>
<td>0.064</td>
<td><bold>0.118</bold></td>
<td>0.073</td>
<td>0.117</td>
</tr>
<tr valign="top">
<td>MLPR</td>
<td>0.135</td>
<td>0.094</td>
<td>0.098</td>
<td>0.097</td>
<td>0.016</td>
<td>0.016</td>
<td>0.119</td>
<td>0.119</td>
<td>0.126</td>
<td>0.125</td>
</tr>
</tbody></table> <table-wrap-foot>
<p>The metrics of the best-performing model are bolded. <sup>a</sup>The model included predictors of age, BMI, PIR, non-Hispanic Black, non-Hispanic White, and serum calcium. <sup>b</sup>The model included predictors of age, BMI, PIR, and serum calcium. <sup>c</sup>The model employed TyG-BMI as a predictor. FNBMD: Femoral neck bone mineral density; R<sup>2</sup>: Coefficient of determination; MAE: Mean absolute error; MSE: Mean squared error; MAPE: Mean absolute percentage error; RMSE: Root mean squared error; MLR: Multivariable linear regression; DTR: Decision tree regression; SVR: Support vector regression; GPR: Gaussian process regression; XGBR: Extreme gradient boosting regression; RFR: Random forest regression; ETR: Extra-trees regression; MLPR: Multi-layer perceptron regression; TyG-BMI: Triglyceride and glucose-body mass index.</p></table-wrap-foot></table-wrap>
<p>In <xref ref-type="fig" rid="f3">Figure 3</xref>, the predictive behavior of the RFR, ABPC-RFR, and TyG-BMI-RFR models varies with the true value of FNBMD. Specifically, when the true FNBMD value is below 0.8, the predicted values from these models are consistently higher than the actual values. Conversely, when the true FNBMD value exceeds 0.8, the predictions fall below the true values. This pattern suggests a decline in model performance when predicting extreme values. The scatter density plots (<xref ref-type="fig" rid="f3">Figure 3A</xref>, <xref ref-type="fig" rid="f3">3B</xref>, and <xref ref-type="fig" rid="f3">3C</xref>) show that the ABPC-RFR model’s fitted line deviates the least from the ideal line, signifying it has the best predictive performance among the models. Similarly, in the scatter plots for the training set (<xref ref-type="fig" rid="f3">Figure 3D</xref>, <xref ref-type="fig" rid="f3">3E</xref>, and <xref ref-type="fig" rid="f3">3F</xref>), the ABPC-RFR model again shows the smallest angle of deviation from the perfect line, indicating superior performance in the training phase. In the test set, the fitted lines of the RFR and ABPC-RFR models exhibit similar angles of deviation from the perfect line, suggesting that their performance in the test set is comparable. These observations align with the findings presented in <xref ref-type="table" rid="TB2">Table 2</xref>.</p>
<fig id="f3"><label>Figure 3.</label>
<caption>
<p><bold>Scatter plots for FNBMD prediction in RFR models.</bold> (A and D) Illustrating scatter density plots (A) and scatter training/test plots (D) for the RFR model, incorporating age, BMI, non-Hispanic Black and White, PIR, and serum calcium; (B and E) Displaying plots for the RFR model including age, BMI, PIR, and serum calcium; (C and F) Displaying plots for the RFR model solely containing the TyG-BMI index. Scatter density plots comprise all data points, whereas the scatter plots are separately composed of training and test sets. FNBMD: Femoral neck bone mineral density; RFR: Random forest regressor; BMI: Body mass index; PIR: Poverty income ratio; TyG-BMI: Triglyceride and glucose-body mass index.</p>
</caption>
<graphic xlink:href="bb-2024-10725f3.jpg"/></fig></sec>
<sec id="sec3e"><title>Model explainability</title>
<p>The SHAP summary plots illustrate the impact of each feature across the random forest (RF) model (<xref ref-type="fig" rid="f4">Figure 4A</xref>), the adjusted BMI, PIR, and serum calcium random forest (ABPC-RFR) model (<xref ref-type="fig" rid="f4">Figure 4B</xref>), and the TyG-BMI random forest (TyG-BMI-RFR) model (<xref ref-type="fig" rid="f4">Figure 4C</xref>). SHAP values above zero suggest higher FNBMD values, whereas values below zero indicate lower FNBMD values. For instance, a higher BMI (depicted in red) correlates with larger SHAP values, suggesting that individuals with a higher BMI tend to have greater FNBMD values. Conversely, as age increases, the SHAP values typically decrease, indicating an association between advancing age and bone loss. These trends are depicted in <xref ref-type="fig" rid="f5">Figure 5A</xref> and <xref ref-type="fig" rid="f5">5B</xref>. Additionally, a higher TyG-BMI value generally results in a larger SHAP value, demonstrating a positive relationship between this index and FNBMD (<xref ref-type="fig" rid="f4">Figure 4C</xref>).</p>
<fig id="f4"><label>Figure 4.</label>
<caption>
<p><bold>SHAP value of features and their impact on the model output for FNBMD prediction in RFR models.</bold> (A) Displaying SHAP plots for the RFR model, incorporating age, BMI, non-Hispanic Black and White, PIR, and serum calcium; (B) Illustrating SHAP plots for the RFR model including age, BMI, PIR, and serum calcium; (C) Showcasing SHAP plots for the RFR model solely containing the TyG-BMI index. SHAP: Shapley additive exPlanations; FNBMD: Femoral neck bone mineral density; BMI: Body mass index; PIR: Poverty income ratio; TyG-BMI: Triglyceride and glucose-body mass index.</p>
</caption>
<graphic xlink:href="bb-2024-10725f4.jpg"/></fig>
<fig id="f5"><label>Figure 5.</label>
<caption>
<p><bold>Restricted cubic spline analysis.</bold> (A–E) Displaying the association between continuous features and FNBMD. Each curve employs five knots located at the 5th, 35th, 50th, 65th, and 95th percentiles. Shaded regions denote the 95% confidence intervals. FNBMD: Femoral neck bone mineral density; BMI: Body mass index; PIR: Poverty income ratio; TyG-BMI: Triglyceride and glucose-body mass index.</p>
</caption>
<graphic xlink:href="bb-2024-10725f5.jpg"/></fig>
<p>Permutation feature importance analysis identified the pivotal features for predicting FNBMD. To evaluate the relative importance of these features across all eight models, a ranking score system was employed. The most critical feature in each model was assigned a ranking of 1, with rankings progressively decreasing down to 6 for the least significant variable. As detailed in <xref ref-type="table" rid="TB3">Table 3</xref>, BMI emerged as the most influential predictor, achieving a mean ranking of 1.0 ± 0.0 and a median ranking of 1.0 (IQR 1.0–1.0). It was followed by non-Hispanic Black, age, PIR, serum calcium, and non-Hispanic White in terms of their impact on FNBMD prediction.</p>
</sec>
<sec id="sec3f"><title>Sensitivity analysis</title>
<p>In the RCS analysis depicted in <xref ref-type="fig" rid="f5">Figure 5</xref>, age demonstrates a negative linear correlation with FNBMD, as evidenced by non-significance for non-linearity (<italic>P</italic> ═ 0.879) (<xref ref-type="fig" rid="f5">Figure 5A</xref>). Serum calcium displays a positive linear relationship with FNBMD (<italic>P</italic> for non-linearity ═ 0.239) (<xref ref-type="fig" rid="f5">Figure 5D</xref>). BMI and TyG-BMI both exhibit positive non-linear associations with FNBMD, with <italic>P</italic> values for non-linearity being less than 0.001 and 0.030, respectively (<xref ref-type="fig" rid="f5">Figure 5B</xref> and <xref ref-type="fig" rid="f5">Figure 5E</xref>). PIR also shows a distinct non-linear association with FNBMD (<italic>P</italic> for non-linearity &lt; 0.001) (<xref ref-type="fig" rid="f5">Figure 5C</xref>). These findings align with the interpretations provided by the SHAP values, confirming the consistency of the results across different analytical approaches.</p>
</sec></sec>
<sec id="sec4"><title>Discussion</title>
<p>Osteoporotic fractures of the proximal femur significantly impact health and increase the mortality rate among the elderly. Early detection of osteoporosis and the initiation of anti-osteoporotic treatments are critical in preventing such fractures. FNBMD is utilized both for diagnosing osteoporosis and as a key predictor of OFNFs. However, the methods currently available for assessing FNBMD are not suitable for routine osteoporosis screening. Therefore, it is essential to develop a straightforward, cost-effective, and reliable alternative method for assessment. In this study, we created and validated an ML-based prediction model for FNBMD specifically for men aged 50 years and older. Through meticulous feature selection, six key predictors were identified: age, BMI, non-Hispanic Black, non-Hispanic White, PIR, and serum calcium. Among the eight models evaluated, the RFR model showed the best performance across all metrics. When race-related variables were excluded, the adjusted RFR model (ABPC-RFR), incorporating the remaining predictors, performed comparably to the full RFR model and significantly outperformed the TyG-BMI-RFR model. The simplified model required only three demographic factors (age, BMI, and PIR) and one laboratory test variable (serum calcium) for making predictions. This simplicity enhances its usability for routine osteoporosis checks among older men of diverse races, aligning well with the study’s hypothesis.</p>
<p>Our important analysis revealed that BMI was the most valuable predictor of FNBMD in this study population (<xref ref-type="table" rid="TB3">Table 3</xref>). Indeed, BMI is not only a simple and widely used health indicator but also a significant predictor of bone tissue structure, closely associated with BMD [<xref rid="ref23 ref24 ref25" ref-type="bibr">23–25</xref>]. Compared to the BMD of the lumbar vertebral body, FNBMD is more stable and less influenced by factors such as degeneration, osteophytes, and sclerosis [<xref rid="ref26" ref-type="bibr">26</xref>]. Several studies have consistently shown a positive correlation between BMI and the absolute values of FNBMD, exhibiting a synergistic increasing trend [<xref rid="ref19" ref-type="bibr">19</xref>, <xref rid="ref23 ref24 ref25" ref-type="bibr">23–25</xref>]. In research involving 900 elderly individuals, Dogan et al. [<xref rid="ref27" ref-type="bibr">27</xref>] confirmed that femoral BMD increased with rising BMI levels, noting statistically significant differences in femoral BMD among men across different BMI categories, with the highest levels observed in the obese group (BMI of 30 kg/m<sup>2</sup> and above) compared to those with ideal body weight. Similarly, Kirchengast et al. [<xref rid="ref28" ref-type="bibr">28</xref>] found that BMD increased with both weight and BMI in both sexes, with higher BMD values in overweight individuals compared to those with ideal body weight, aligning with the findings of our study (<xref ref-type="fig" rid="f4">Figure 4A</xref> and <xref ref-type="fig" rid="f4">4B</xref> and <xref ref-type="fig" rid="f5">5B</xref>).</p>
<p>By combining model interpretative analysis with RCS analysis, we observed that changes in FNBMD values with increasing BMI were more pronounced when BMI was below 30 and diminished when BMI exceeded 30. This pattern may be attributed to both mechanical effects—where heavier loads on the skeleton induce bone-specific deformations that stimulate osteoblast activity, enhancing the synthesis and expression of osteoblast-related genes, thereby increasing bone density and enabling the skeleton to adapt to applied stress [<xref rid="ref29" ref-type="bibr">29</xref>, <xref rid="ref30" ref-type="bibr">30</xref>]—and hormonal effects due to increased estrogen production in adipose tissue. Weight gain and enhanced adipose tissue may promote the conversion of androgens to estrogens, improving bone mass in both men and women while maintaining healthy levels of insulin and regulatory factors like insulin-like growth factor-1, leptin, and lipocalin [<xref rid="ref26" ref-type="bibr">26</xref>, <xref rid="ref31" ref-type="bibr">31</xref>]. These observations suggest potential variations in FNBMD between non-obese and obese populations, possibly necessitating distinct diagnostic criteria for osteoporosis in each group. Additionally, to address the modifiable factor of BMI, we recommend promoting exercise, particularly strength training, to increase lean body mass and stimulate bone remodeling to better accommodate loading. However, it is crucial to note that while a higher BMI can be protective against osteoporosis, maintaining a BMI around or slightly below 30 is advisable to prevent the increased risks of falls, degenerative changes, and systemic diseases associated with obesity in the elderly [<xref rid="ref26" ref-type="bibr">26</xref>, <xref rid="ref27" ref-type="bibr">27</xref>].</p>
<p>Age is another important predictor of FNBMD. In this research, we used SHAP values to understand the ML models (RFR and ABPC-RFR) along with RCS analysis to show how age and FNBMD are related. The results showed that age is inversely related to FNBMD, i.e., BMD decreases significantly with age. This finding is consistent with the existing literature [<xref rid="ref25" ref-type="bibr">25</xref>, <xref rid="ref26" ref-type="bibr">26</xref>]. In a study of adult men in Kosovo, Hoxha et al. [<xref rid="ref25" ref-type="bibr">25</xref>] identified a negative relationship between age and FNBMD, attributing this natural bone mass loss to the aging process. This insight is crucial for guiding local BMD assessments and initiating early preventive strategies against osteoporosis and related fractures in older men. Similarly, Jiang et al. [<xref rid="ref26" ref-type="bibr">26</xref>] studied the FNBMD of 358 Chinese males aged 50 and older, arriving at the same conclusion. They interpreted this trend as a decline in bone mass beginning around the age of 50, due to osteoblast dysfunction and an increase in osteoclast resorption. The application of ML in this research offers a detailed understanding of how age interacts with other factors to influence bone health. Importantly, incorporating age as a predictor in our model underscores the necessity of early intervention and tailored preventive measures for the elderly. The data-driven insights provided by this study showcase the potential of ML to enhance predictive models for FNBMD, enabling healthcare providers to more effectively identify and manage individuals at high risk for osteoporosis.</p>
<p>The association between PIR and FNBMD observed in our study adds a critical socioeconomic dimension to the understanding of bone health. Our analysis revealed that a higher PIR (≥ 4 in the RCS analysis), indicative of greater socioeconomic status, correlates with improved FNBMD. This aligns with research by Du et al. [<xref rid="ref32" ref-type="bibr">32</xref>], who reported similar findings and suggested that individuals with higher socioeconomic status have better access to healthcare resources, nutrition, and lifestyle choices conducive to bone health. A meta-analysis encompassing eight epidemiological studies demonstrated that most population-based research supports the observation that individuals with higher income levels are more likely to exhibit higher BMD [<xref rid="ref33" ref-type="bibr">33</xref>]. This finding was further validated in another cross-sectional study involving 11,075 representative participants from the United States [<xref rid="ref34" ref-type="bibr">34</xref>]. The positive impact of socioeconomic status on FNBMD emphasizes the potential barriers faced by lower-income populations in maintaining bone health, possibly due to limited access to nutritious food, healthcare services, and opportunities for physical activity [<xref rid="ref34" ref-type="bibr">34</xref>]. Addressing these disparities could significantly improve bone health outcomes across different population segments. Therefore, our findings advocate for targeted public health interventions and policies that enhance access to bone health resources in economically disadvantaged communities, potentially reducing the prevalence of osteoporosis-related complications.</p>
<table-wrap id="TB3">
<label>Table 3</label>
<caption>
<p>Predictor importance ranking in each model</p></caption>
<table frame="hsides" rules="groups">
<colgroup>
<col span="1" align="left"/>
<col span="2" align="center"/>
<col span="3" align="center"/>
<col span="4" align="center"/>
<col span="5" align="center"/>
<col span="6" align="center"/>
<col span="7" align="center"/>
<col span="8" align="center"/>
<col span="9" align="center"/>
<col span="10" align="center"/>
<col span="11" align="center"/>
<col span="12" align="center"/>
<col span="13" align="center"/>
</colgroup>
<thead>
<tr valign="bottom">
<th><bold>Model</bold></th>
<th colspan="2"><bold>BMI</bold></th>
<th colspan="2"><bold>Non-Hispanic Black</bold></th>
<th colspan="2"><bold>Age</bold></th>
<th colspan="2"><bold>PIR</bold></th>
<th colspan="2"><bold>Serum calcium</bold></th>
<th colspan="2"><bold>Non-Hispanic White</bold></th>
</tr>
<tr valign="top">
<td/>
<td><bold>Training</bold></td>
<td><bold>Test</bold></td>
<td><bold>Training</bold></td>
<td><bold>Test</bold></td>
<td><bold>Training</bold></td>
<td><bold>Test</bold></td>
<td><bold>Training</bold></td>
<td><bold>Test</bold></td>
<td><bold>Training</bold></td>
<td><bold>Test</bold></td>
<td><bold>Training</bold></td>
<td><bold>Test</bold></td>
</tr>
</thead>
<tbody>
<tr valign="top">
<td>MLR</td>
<td>1</td>
<td>1</td>
<td>2</td>
<td>2</td>
<td>3</td>
<td>3</td>
<td>6</td>
<td>4</td>
<td>4</td>
<td>5</td>
<td>5</td>
<td>6</td>
</tr>
<tr valign="top">
<td>DTR</td>
<td>1</td>
<td>1</td>
<td>2</td>
<td>2</td>
<td>3</td>
<td>3</td>
<td>4</td>
<td>4</td>
<td>5</td>
<td>5</td>
<td>6</td>
<td>6</td>
</tr>
<tr valign="top">
<td>SVR</td>
<td>1</td>
<td>1</td>
<td>2</td>
<td>2</td>
<td>3</td>
<td>3</td>
<td>5</td>
<td>4</td>
<td>4</td>
<td>5</td>
<td>6</td>
<td>6</td>
</tr>
<tr valign="top">
<td>GPR</td>
<td>1</td>
<td>1</td>
<td>6</td>
<td>5</td>
<td>2</td>
<td>2</td>
<td>4</td>
<td>3</td>
<td>3</td>
<td>6</td>
<td>5</td>
<td>4</td>
</tr>
<tr valign="top">
<td>XGBR</td>
<td>1</td>
<td>1</td>
<td>3</td>
<td>2</td>
<td>2</td>
<td>3</td>
<td>5</td>
<td>5</td>
<td>6</td>
<td>6</td>
<td>4</td>
<td>4</td>
</tr>
<tr valign="top">
<td>RFR</td>
<td>1</td>
<td>1</td>
<td>2</td>
<td>2</td>
<td>3</td>
<td>3</td>
<td>4</td>
<td>4</td>
<td>5</td>
<td>5</td>
<td>6</td>
<td>6</td>
</tr>
<tr valign="top">
<td>ETR</td>
<td>1</td>
<td>1</td>
<td>2</td>
<td>2</td>
<td>3</td>
<td>3</td>
<td>4</td>
<td>4</td>
<td>5</td>
<td>5</td>
<td>6</td>
<td>6</td>
</tr>
<tr valign="top">
<td>MLPR</td>
<td>1</td>
<td>1</td>
<td>2</td>
<td>3</td>
<td>3</td>
<td>4</td>
<td>4</td>
<td>2</td>
<td>6</td>
<td>6</td>
<td>5</td>
<td>5</td>
</tr>
<tr valign="top">
<td>Mean ± SD</td>
<td>1.0 ± 0.0</td>
<td>1.0 ± 0.0</td>
<td>2.6 ± 1.4</td>
<td>2.5 ± 1.1</td>
<td>2.8 ± 0.5</td>
<td>3.0 ± 0.5</td>
<td>4.5 ± 0.8</td>
<td>3.8 ± 0.9</td>
<td>4.8 ± 1.0</td>
<td>5.4 ± 0.5</td>
<td>5.4 ± 0.7</td>
<td>5.4 ± 0.9</td>
</tr>
<tr valign="top">
<td>Median (IQR)</td>
<td>1.0 (1.0, 1.0)</td>
<td>1.0 (1.0, 1.0)</td>
<td>2.0 (2.0, 2.3)</td>
<td>2.0 (2.0, 2.3)</td>
<td>3.0 (2.8, 3.0)</td>
<td>3.0 (3.0, 3.0)</td>
<td>4.0 (4.0, 5.0)</td>
<td>4.0 (3.8, 4.0)</td>
<td>5.0 (4.0, 5.3)</td>
<td>5.0 (5.0, 6.0)</td>
<td>5.5 (5.0, 6.0)</td>
<td>6.0 (4.8, 6.0)</td>
</tr>
</tbody></table> <table-wrap-foot>
<p>BMI: Body mass index; PIR: Family income to poverty ratio; MLR: Multivariable linear regression; DTR: Decision tree regression; SVR: Support vector regression; GPR: Gaussian process regression; XGBR: Extreme gradient boosting regression; RFR: Random forest regression; ETR: Extra-trees regression; MLPR: Multi-layer perceptron regression; SD: Standard deviation; IQR: Inter-quartile range.</p></table-wrap-foot></table-wrap>
<p>Serum calcium, a critical element in bone metabolism, was positively correlated with FNBMD in our study, supporting the hypothesis that adequate calcium levels are essential for optimal bone density. This observation is in concordance with the work of Pan et al. [<xref rid="ref35" ref-type="bibr">35</xref>], who noted that calcium plays a pivotal role not only in bone formation but also in maintaining the structural integrity of the bone matrix. The implications of these findings suggest that monitoring and managing serum calcium levels could be a key strategy for preventing bone density deterioration, especially in populations at risk for osteoporosis [<xref rid="ref36" ref-type="bibr">36</xref>]. Additionally, our models reinforce the importance of integrating nutritional and metabolic factors into comprehensive assessments of bone health, advocating for a holistic approach to osteoporosis prevention and treatment strategies that encompass dietary calcium intake and its metabolic management.</p>
<p>The TyG-BMI, a novel metabolic marker explored in our study, demonstrated a significant predictive value for FNBMD. This finding underscores the intertwined roles of metabolic health and bone density. Notably, our analysis indicates that higher TyG-BMI values correlate with increased FNBMD, suggesting that metabolic efficiency and body composition collectively influence bone health. This relationship mirrors the results presented by Zhan et al. [<xref rid="ref37" ref-type="bibr">37</xref>], who found that metabolic markers like the TyG index provide insight into the risk of metabolic bone diseases beyond traditional lipid and glucose measurements. The association between TyG-BMI and FNBMD enhances our understanding of how composite indices, which encapsulate multiple metabolic risks, can serve as effective tools for assessing bone health. Emphasizing the TyG-BMI in clinical evaluations could offer a more comprehensive assessment strategy, aiding in the early identification of individuals at risk for osteoporosis, thus facilitating timely intervention strategies.</p>
<p>Leveraging demographic (age, BMI, and PIR), laboratory test (serum calcium) characteristics, and the novel metabolic index (TyG-BMI) associated with FNBMD, we selected the RFR algorithm to construct three models: the RFR, ABPC-RFR, and TyG-BMI-RFR model. Among these, the ABPC-RFR model emerged as the simplest and most practical. The computation of TyG-BMI is relatively cumbersome, and the predictive efficacy based on this index is significantly lower compared to the ABPC-RFR model. Furthermore, the fact that race-related characteristics do not influence the ABPC-RFR model’s performance suggests that race may not be a prominent factor in our specific dataset. These findings indicate that the ABPC-RFR model can effectively predict FNBMD in men over 50 years of age and holds potential for routine community screening. This facilitates the early detection of osteoporosis and the initiation of anti-osteoporosis treatments to prevent OFNFs. It is noteworthy that the present study did not encompass races from Asia and other regions. This limitation could influence the generalizability of our findings. Future analyses should aim to include more diverse racial groups to better understand the impact of race on FNBMD predictions and ensure the model’s applicability across different populations.</p>
<p>Our study has several strengths. First, we utilized the large, nationally representative NHANES dataset, which provides a diverse and statistically significant sample, enhancing the generalizability of our findings. Meticulous data processing techniques were also employed, including the handling of outliers and the KNN estimation of missing data, ensuring data integrity. Furthermore, our study featured rigorous feature selection and a comprehensive model development and validation process. Multiple ML algorithms were utilized to pinpoint the best-performing model, optimizing predictive accuracy. Moreover, we incorporated various evaluation metrics and model interpretability techniques, such as SHAP values, to ensure transparency and facilitate the interpretation of results. Lastly, several sensitivity analyses were conducted to test the robustness of our findings, ensuring the reliability of our conclusions in different scenarios and settings.</p>
<p>The present study has several limitations that warrant consideration. First, the exclusion of female participants and certain age groups limits the generalizability of our findings to the entire population. Women, particularly post-menopausal women, are at high risk for osteoporosis, and the dynamics of BMD may differ significantly between genders. Our study also excluded patients with hypoglycemia, diabetes, and those on medications for chronic diseases. These exclusions were made to control for potential confounding factors that could introduce bias into the model. However, we recognize that these patients represent a significant subset of the population, and their exclusion may limit the applicability of our findings to broader populations. Future research should aim to validate our models in more diverse populations that include these important subsets to ensure the generalizability and robustness of the predictive models and to detect changes in the ranking of feature importance. Additionally, our reliance on cross-sectional data from NHANES prevents us from establishing causality between the predictors and FNBMD; longitudinal studies would be required to confirm the directionality of these associations. Another limitation is the potential for residual confounding due to variables not included or not available in the NHANES dataset. Lastly, while ML models offer potent predictive capabilities, generalizing these models to different healthcare settings can be challenging. Future research should focus on further validating the model across diverse populations to ensure its broader applicability and effectiveness in varying healthcare contexts.</p>
</sec>
<sec id="sec5"><title>Conclusion</title>
<p>In conclusion, our study demonstrates that FNBMD can be easily and accurately assessed by integrating four readily accessible features (age, BMI, PIR, and serum calcium) through advanced ML techniques, outperforming the novel metabolic index (TyG-BMI). Our model interpretation results provide a deeper and more nuanced understanding of femoral neck bone health risks. These insights pave the way for more targeted and effective interventions to prevent and manage OFNFs in the development of femoral neck osteoporosis, especially in populations traditionally underrepresented in bone health studies, such as older men. Future research should aim to validate these predictive models in a broader range of populations to enhance their applicability and effectiveness. By continually refining these models and addressing the limitations outlined, we can better meet the healthcare needs of diverse populations and improve outcomes in bone health management.</p>
</sec>

<sec sec-type="supplementary-material" id="sec7"><title>Supplemental data</title> 
<p><bold>Data S1. Triglyceride and glucose-body mass index (TyG-BMI)</bold></p>
<p>Body mass index (BMI) was calculated using the weight divided by the square of height (weight/height<sup>2</sup>) formula. After an overnight fast, venous samples were collected using aseptic techniques for the analysis of phosphorus, total calcium, plasma glucose, and lipid levels.</p>
<p>The definitions of the TyG-BMI terms were determined as follows:
<list list-type="order">
<list-item>
<p>The TyG index was calculated using the formula: Ln [triglycerides (TG) in mg/dL × fasting plasma glucose (FPG) in mg/dL / 2].</p>
</list-item>
<list-item>
<p>TyG-BMI was derived by multiplying the TyG index by BMI, expressed in kg/m<sup>2</sup>.</p>
</list-item>
</list></p>
<table-wrap id="TBS1">
<label>Table S1</label>
<caption>
<p>Comparisons between raw and imputation datasets</p></caption>
<table frame="hsides" rules="groups">
<colgroup>
<col span="1" align="left"/>
<col span="2" align="center"/>
<col span="3" align="center"/>
<col span="4" align="center"/>
<col span="5" align="center"/>
</colgroup>
<thead>
<tr valign="bottom">
<th><bold>Characteristics</bold></th>
<th><bold>Missing values</bold> <italic> n</italic> <bold>(%)</bold></th>
<th><bold>Raw dataset</bold> <bold>(<italic>n</italic> ═ 1182)</bold></th>
<th><bold>Imputation dataset</bold> <bold>(<italic>n</italic> ═ 1182)</bold></th>
<th><italic>P</italic> <bold>value</bold></th>
</tr>
</thead>
<tbody>
<tr valign="top">
<td>FNBMD (gm/cm<sup>2</sup>), median (IQR)</td>
<td/>
<td>0.80 (0.71, 0.89)</td>
<td>0.80 (0.71, 0.89)</td>
<td>1.000</td>
</tr>
<tr valign="top">
<td>Age (years), median (IQR)</td>
<td/>
<td>61.0 (55.0, 68.0)</td>
<td>61.0 (55.0, 68.0)</td>
<td>1.000</td>
</tr>
<tr valign="top">
<td>BMI (kg/m<sup>2</sup>), median (IQR)</td>
<td>20 (1.7)</td>
<td>32.8 (29.7, 36.6)</td>
<td>33.4 (29.7, 36.5)</td>
<td>0.917</td>
</tr>
<tr valign="top">
<td>Race, <italic>n</italic> (%)</td>
<td/>
<td/>
<td/>
<td>1.000</td>
</tr>
<tr valign="top">
<td> Mexican American</td>
<td/>
<td>155 (13.1)</td>
<td>155 (13.1)</td>
<td/>
</tr>
<tr valign="top">
<td> Other Hispanic</td>
<td/>
<td>118 (10.0)</td>
<td>118 (10.0)</td>
<td/>
</tr>
<tr valign="top">
<td> Non-Hispanic White</td>
<td/>
<td>506 (42.8)</td>
<td>506 (42.8)</td>
<td/>
</tr>
<tr valign="top">
<td> Non-Hispanic Black</td>
<td/>
<td>285 (24.1)</td>
<td>285 (24.1)</td>
<td/>
</tr>
<tr valign="top">
<td> Other race</td>
<td/>
<td>118 (10.0)</td>
<td>118 (10.0)</td>
<td/>
</tr>
<tr valign="top">
<td>Education, <italic>n</italic> (%)</td>
<td/>
<td/>
<td/>
<td>1.000</td>
</tr>
<tr valign="top">
<td> Less than high school</td>
<td/>
<td>342 (28.9)</td>
<td>342 (28.9)</td>
<td/>
</tr>
<tr valign="top">
<td> High school</td>
<td/>
<td>267 (22.6)</td>
<td>267 (22.6)</td>
<td/>
</tr>
<tr valign="top">
<td> College or above</td>
<td/>
<td>573 (48.5)</td>
<td>573 (48.5)</td>
<td/>
</tr>
<tr valign="top">
<td>Marital status, <italic>n</italic> (%)</td>
<td/>
<td/>
<td/>
<td>1.000</td>
</tr>
<tr valign="top">
<td> Married or living with partner</td>
<td/>
<td>843 (71.3)</td>
<td>843 (71.3)</td>
<td/>
</tr>
<tr valign="top">
<td> Single</td>
<td/>
<td>339 (28.7)</td>
<td>339 (28.7)</td>
<td/>
</tr>
<tr valign="top">
<td>Drinking status, <italic>n</italic> (%)</td>
<td>276 (23.4)</td>
<td/>
<td/>
<td>0.365</td>
</tr>
<tr valign="top">
<td> No</td>
<td/>
<td>235 (25.9)</td>
<td>285 (24.1)</td>
<td/>
</tr>
<tr valign="top">
<td> Yes</td>
<td/>
<td>671 (74.1)</td>
<td>897 (75.9)</td>
<td/>
</tr>
<tr valign="top">
<td>Smoking status, <italic>n</italic> (%)</td>
<td>426 (36.0)</td>
<td/>
<td/>
<td>0.056</td>
</tr>
<tr valign="top">
<td> No</td>
<td/>
<td>487 (64.4)</td>
<td>825 (69.8)</td>
<td/>
</tr>
<tr valign="top">
<td> Yes</td>
<td/>
<td>269 (35.6)</td>
<td>357 (30.2)</td>
<td/>
</tr>
<tr valign="top">
<td>Physical activity, <italic>n</italic> (%)</td>
<td/>
<td/>
<td/>
<td>1.000</td>
</tr>
<tr valign="top">
<td> Less active</td>
<td/>
<td>523 (44.2)</td>
<td>523 (44.2)</td>
<td/>
</tr>
<tr valign="top">
<td> Active</td>
<td/>
<td>659 (55.8)</td>
<td>659 (55.8)</td>
<td/>
</tr>
<tr valign="top">
<td>FHOS, <italic>n</italic> (%)</td>
<td/>
<td/>
<td/>
<td>1.000</td>
</tr>
<tr valign="top">
<td> No</td>
<td/>
<td>1096 (92.7)</td>
<td>1096 (92.7)</td>
<td/>
</tr>
<tr valign="top">
<td> Yes</td>
<td/>
<td>86 (7.28)</td>
<td>86 (7.28)</td>
<td/>
</tr>
<tr valign="top">
<td>PIR, median (IQR)</td>
<td>118 (10.0)</td>
<td>2.44 (1.29, 4.42)</td>
<td>2.64 (1.39, 4.21)</td>
<td>0.355</td>
</tr>
<tr valign="top">
<td>SBP (mmHg), median (IQR)</td>
<td/>
<td>127.0 (117.0, 140.0)</td>
<td>127.0 (117.0, 139.0)</td>
<td>0.745</td>
</tr>
<tr valign="top">
<td>DBP (mmHg), median (IQR)</td>
<td>70 (5.9)</td>
<td>74.0 (67.0, 81.0)</td>
<td>74.0 (67.0, 80.8)</td>
<td>0.979</td>
</tr>
<tr valign="top">
<td>HDL (mmol/L), median (IQR)</td>
<td>24 (2.0)</td>
<td>1.29 (1.09, 1.55)</td>
<td>1.29 (1.09, 1.55)</td>
<td>0.670</td>
</tr>
<tr valign="top">
<td>FPG (mmol/L), median (IQR)</td>
<td>4 (0.3)</td>
<td>5.72 (5.33, 6.11)</td>
<td>5.72 (5.33, 6.11)</td>
<td>0.947</td>
</tr>
<tr valign="top">
<td>TC (mmol/L), median (IQR)</td>
<td>(1.4)</td>
<td>4.97 (4.37, 5.61)</td>
<td>4.97 (4.37, 5.61)</td>
<td>0.847</td>
</tr>
<tr valign="top">
<td>Triglycerides (mmol/L), median (IQR)</td>
<td>67 (5.7)</td>
<td>1.07 (0.79, 1.45)</td>
<td>1.09 (0.80, 1.44)</td>
<td>0.404</td>
</tr>
<tr valign="top">
<td>LDL (mmol/L), median (IQR)</td>
<td>21 (1.8)</td>
<td>3.08 (2.51, 3.60)</td>
<td>3.08 (2.51, 3.60)</td>
<td>0.764</td>
</tr>
<tr valign="top">
<td>Serum calcium (mmol/L), median (IQR)</td>
<td>28 (2.4)</td>
<td>2.33 (2.28, 2.38)</td>
<td>2.33 (2.28, 2.38)</td>
<td>0.985</td>
</tr>
<tr valign="top">
<td>Serum phosphorus (mmol/L), median (IQR)</td>
<td>14 (1.2)</td>
<td>1.07 (1.00, 1.20)</td>
<td>1.07 (1.00, 1.18)</td>
<td>0.986</td>
</tr>
<tr valign="top">
<td>Serum 25(OH)D3 (ng/mL), median (IQR)</td>
<td>668 (56.5)</td>
<td>59.3 (42.0, 75.1)</td>
<td>59.4 (51.9, 67.5)</td>
<td>0.545</td>
</tr>
</tbody></table> <table-wrap-foot>
<p><italic>P</italic> values between groups were assessed by the chi-square and Mann–Whitney U tests. IQR: Inter-quartile range; FNBMD: Femoral neck bone mineral density; BMI: Body mass index; FHOS: Family history of osteoporosis; PIR: Poverty income ratio; SBP: Systolic blood pressure; DBP: Diastolic blood pressure; HDL: High-density lipoprotein; FPG: Fasting plasma glucose; TC: Total cholesterol; LDL: Low-density lipoprotein.</p></table-wrap-foot></table-wrap>
<table-wrap id="TBS2">
<label>Table S2</label>
<caption>
<p>Optimization of hyperparameters using grid search</p></caption>
<table frame="hsides" rules="groups">
<colgroup>
<col span="1" align="left"/>
<col span="2" align="left"/>
<col span="3" align="center"/>
<col span="4" align="center"/>
</colgroup>
<thead>
<tr valign="bottom">
<th><bold>Model</bold></th>
<th><bold>Hyperparameter</bold></th>
<th><bold>Range of hyperparameter in grid search</bold></th>
<th><bold>Selected value</bold></th>
</tr>
</thead>
<tbody>
<tr valign="top">
<td>MLR</td>
<td>–</td>
<td>–</td>
<td>–</td>
</tr>
<tr valign="top">
<td>DTR</td>
<td>max_depth</td>
<td>50, 200, 500, 800, 1000, 1200</td>
<td>1000</td>
</tr>
<tr valign="top">
<td/>
<td>min_samples_split</td>
<td>2, 10, 18, 26, 34, 42</td>
<td>10</td>
</tr>
<tr valign="top">
<td/>
<td>min_samples_leaf</td>
<td>3, 11, 19, 27, 35, 43</td>
<td>43</td>
</tr>
<tr valign="top">
<td/>
<td>max_features</td>
<td>0.8, 0.9, 1.0</td>
<td>0.8</td>
</tr>
<tr valign="top">
<td>SVR</td>
<td>gamma</td>
<td>10<sup>-6</sup>, 10<sup>-5</sup>, 10<sup>-4</sup>, 10<sup>-3</sup>, 10<sup>-2</sup>, 10<sup>-1</sup>, 10<sup>0</sup></td>
<td>10<sup>-1</sup></td>
</tr>
<tr valign="top">
<td/>
<td>C</td>
<td>10<sup>-3</sup>, 10<sup>-2</sup>, 10<sup>-1</sup>, 10<sup>0</sup>, 10<sup>1</sup>, 10<sup>2</sup>, 10<sup>3</sup>, 10<sup>4</sup></td>
<td>10<sup>-1</sup></td>
</tr>
<tr valign="top">
<td/>
<td>epsilon</td>
<td>10<sup>-3</sup>, 10<sup>-2</sup>, 10<sup>-1</sup>, 10<sup>0</sup>, 10<sup>1</sup>, 10<sup>2</sup></td>
<td>10<sup>-1</sup></td>
</tr>
<tr valign="top">
<td>GPR</td>
<td>alpha</td>
<td>10<sup>-10</sup>, 10<sup>-9</sup>, 10<sup>-8</sup>, 10<sup>-7</sup>, 10<sup>-6</sup>, 10<sup>-5</sup>, 10<sup>-4</sup>, 10<sup>-3</sup>, 10<sup>-2</sup>, 10<sup>-1</sup>, 10<sup>0</sup>, 10<sup>1</sup></td>
<td>10<sup>-1</sup></td>
</tr>
<tr valign="top">
<td>XGBR</td>
<td>n_estimators</td>
<td>100, 200, 400</td>
<td>100</td>
</tr>
<tr valign="top">
<td/>
<td>max_depth</td>
<td>3, 5, 7, 10</td>
<td>7</td>
</tr>
<tr valign="top">
<td/>
<td>learning_rate</td>
<td>0.1, 0.2, 0.3</td>
<td>0.3</td>
</tr>
<tr valign="top">
<td/>
<td>gamma</td>
<td>0, 5, 10, 20</td>
<td>0</td>
</tr>
<tr valign="top">
<td/>
<td>reg_alpha</td>
<td>5, 10, 15</td>
<td>5</td>
</tr>
<tr valign="top">
<td>RFR<sup>a</sup></td>
<td>n_estimators</td>
<td>100, 200, 400</td>
<td>100</td>
</tr>
<tr valign="top">
<td/>
<td>criterion</td>
<td>‘squared_error’, ‘absolute_error’, ‘poisson’</td>
<td>‘absolute_error’</td>
</tr>
<tr valign="top">
<td/>
<td>max_depth</td>
<td>10, 50, 100, 200, 400</td>
<td>100</td>
</tr>
<tr valign="top">
<td/>
<td>min_samples_split</td>
<td>2, 4, 8, 16</td>
<td>2</td>
</tr>
<tr valign="top">
<td/>
<td>min_samples_leaf</td>
<td>1, 2, 4, 8</td>
<td>2</td>
</tr>
<tr valign="top">
<td/>
<td>max_features</td>
<td>0.8, 0.9, 1.0</td>
<td>0.8</td>
</tr>
<tr valign="top">
<td>RFR<sup>b</sup></td>
<td>n_estimators</td>
<td>100, 200, 400</td>
<td>200</td>
</tr>
<tr valign="top">
<td/>
<td>criterion</td>
<td>‘squared_error’, ‘absolute_error’, ‘poisson’</td>
<td>‘absolute_error’</td>
</tr>
<tr valign="top">
<td/>
<td>max_depth</td>
<td>10, 50, 100, 200, 400</td>
<td>400</td>
</tr>
<tr valign="top">
<td/>
<td>min_samples_split</td>
<td>2, 4, 8, 16</td>
<td>4</td>
</tr>
<tr valign="top">
<td/>
<td>min_samples_leaf</td>
<td>1, 2, 4, 8</td>
<td>1</td>
</tr>
<tr valign="top">
<td/>
<td>max_features</td>
<td>0.8, 0.9, 1.0</td>
<td>0.9</td>
</tr>
<tr valign="top">
<td>RFR<sup>c</sup></td>
<td>n_estimators</td>
<td>100, 200, 400</td>
<td>100</td>
</tr>
<tr valign="top">
<td/>
<td>criterion</td>
<td>‘squared_error’, ‘absolute_error’, ‘poisson’</td>
<td>‘poisson’</td>
</tr>
<tr valign="top">
<td/>
<td>max_depth</td>
<td>10, 50, 100, 200, 400</td>
<td>10</td>
</tr>
<tr valign="top">
<td/>
<td>min_samples_split</td>
<td>2, 4, 8, 16</td>
<td>8</td>
</tr>
<tr valign="top">
<td/>
<td>min_samples_leaf</td>
<td>1, 2, 4, 8</td>
<td>2</td>
</tr>
<tr valign="top">
<td/>
<td>max_features</td>
<td>0.8, 0.9, 1.0</td>
<td>0.9</td>
</tr>
<tr valign="top">
<td>ETR</td>
<td>n_estimators</td>
<td>100, 200, 400</td>
<td>200</td>
</tr>
<tr valign="top">
<td/>
<td>criterion</td>
<td>‘squared_error’, ‘absolute_error’</td>
<td>‘absolute_error’</td>
</tr>
<tr valign="top">
<td/>
<td>max_depth</td>
<td>10, 50, 100</td>
<td>100</td>
</tr>
<tr valign="top">
<td/>
<td>min_samples_split</td>
<td>2, 4, 8, 16</td>
<td>2</td>
</tr>
<tr valign="top">
<td/>
<td>min_samples_leaf</td>
<td>1, 2, 4, 8</td>
<td>1</td>
</tr>
<tr valign="top">
<td/>
<td>max_features</td>
<td>0.6, 0.8, 1.0</td>
<td>0.8</td>
</tr>
<tr valign="top">
<td/>
<td>max_samples</td>
<td>0.8, 0.9, 1.0</td>
<td>1.0</td>
</tr>
<tr valign="top">
<td/>
<td>ccp_alpha</td>
<td>0, 1, 10, 100, 1000</td>
<td>0</td>
</tr>
<tr valign="top">
<td>MLPR</td>
<td>hidden_layer_sizes</td>
<td>(10,), (20,), (10, 10), (20, 20), (10, 20, 10)</td>
<td>(10, 10)</td>
</tr>
<tr valign="top">
<td/>
<td>activation</td>
<td>‘identity’, ‘tanh’, ‘relu’</td>
<td>‘identity’</td>
</tr>
<tr valign="top">
<td/>
<td>solver</td>
<td>‘sgd’, ‘adam’</td>
<td>‘adam’</td>
</tr>
<tr valign="top">
<td/>
<td>alpha</td>
<td>10<sup>-4</sup>, 10<sup>-3</sup>, 10<sup>-2</sup>, 10<sup>-1</sup></td>
<td>10<sup>-2</sup></td>
</tr>
<tr valign="top">
<td/>
<td>learning_rate</td>
<td>‘constant’, ‘adaptive’</td>
<td>‘constant’</td>
</tr>
<tr valign="top">
<td/>
<td>learning_rate_int</td>
<td>10<sup>-3</sup>, 10<sup>-2</sup>, 10<sup>-1</sup></td>
<td>10<sup>-1</sup></td>
</tr>
</tbody></table> <table-wrap-foot>
<p><sup>a</sup>The model included predictors of age, BMI, PIR, non-Hispanic Black, non-Hispanic White, and serum calcium. <sup>b</sup>The model included predictors of age, BMI, PIR, and serum calcium. <sup>c</sup>The model employed TyG-BMI as a predictor. MLR: Multivariable linear regression; DTR: Decision tree regression; SVR: Support vector regression; GPR: Gaussian process regression; XGBR: Extreme gradient boosting regression; RFR: Random forest regression; ETR: Extra-trees regression; MLPR: Multi-layer perceptron regression; TyG-BMI: Triglyceride and glucose-body mass index.</p></table-wrap-foot></table-wrap> </sec></body>
<back>
<ack>
<p>We acknowledge the data from the NHANES.</p></ack>
<sec sec-type="data-availability">
<title>Data Availability</title>
<p>  The datasets analyzed during the current study are available on the NHANES website: <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" ext-link-type="uri" xlink:href="https://www.cdc.gov/nchs/index.htm.">https://www.cdc.gov/nchs/index.htm</ext-link>.</p>
</sec>
<ref-list>
<title>References</title>
<ref id="ref1">
<label>1</label>
<nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hinton</surname>
<given-names>BJ</given-names>
</name>
<name>
<surname>Fan</surname>
<given-names>B</given-names>
</name>
<name>
<surname>Ng</surname>
<given-names>BK</given-names>
</name>
<name>
<surname>Shepherd</surname>
<given-names>JA</given-names>
</name>
</person-group> 
<article-title>Dual energy X-ray absorptiometry body composition reference values of limbs and trunk from NHANES 1999–2004 with additional visualization methods</article-title>
<source>PLoS One</source> <year>2017</year>
<volume>12</volume>
<issue>3</issue>
<fpage>e0174180</fpage>
<comment>https://doi.org/10.1371/journal.pone.0174180</comment>
</nlm-citation>
</ref>
<ref id="ref2">
<label>2</label>
<nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Kelly</surname>
<given-names>TL</given-names>
</name>
<name>
<surname>Wilson</surname>
<given-names>KE</given-names>
</name>
<name>
<surname>Heymsfield</surname>
<given-names>SB</given-names>
</name>
</person-group> 
<article-title>Dual energy X-ray absorptiometry body composition reference values from NHANES</article-title>
<source>PLoS One Sep 15</source> <year>2009</year>
<volume>4</volume>
<issue>9</issue>
<fpage>e7038</fpage>
<comment>https://doi.org/10.1371/journal.pone.0007038</comment>
</nlm-citation>
</ref>
<ref id="ref3">
<label>3</label>
<nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Looker</surname>
<given-names>AC</given-names>
</name>
<name>
<surname>Melton</surname>
<given-names>LJ III</given-names>
</name>
<name>
<surname>Harris</surname>
<given-names>TB</given-names>
</name>
<name>
<surname>Borrud</surname>
<given-names>LG</given-names>
</name>
<name>
<surname>Shepherd</surname>
<given-names>JA</given-names>
</name>
</person-group> 
<article-title>Prevalence and trends in low femur bone density among older U.S. adults: NHANES 2005–2006 compared with NHANES III</article-title>
<source>J Bone Miner Res Jan</source> <year>2010</year>
<volume>25</volume>
<issue>1</issue>
<fpage>64</fpage>
<lpage>71</lpage>
<comment>https://doi.org/10.1359/jbmr.090706</comment>
</nlm-citation>
</ref>
<ref id="ref4">
<label>4</label>
<nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhuo</surname>
<given-names>M</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>Z</given-names>
</name>
<name>
<surname>Zhong</surname>
<given-names>M-L</given-names>
</name>
<name>
<surname>Lei</surname>
<given-names>F</given-names>
</name>
<name>
<surname>Qin</surname>
<given-names>J-J</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>S</given-names>
</name> <etal/>
</person-group> 
<article-title>Association of insulin resistance with bone mineral density in a nationwide health check-up population in China</article-title>
<source>Bone May</source> <year>2023</year>
<volume>170</volume>
<fpage>116703</fpage>
<comment>https://doi.org/10.1016/j.bone.2023.116703</comment>
</nlm-citation>
</ref>
<ref id="ref5">
<label>5</label>
<nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Caeran</surname>
<given-names>G</given-names>
</name>
<name>
<surname>de Almeida</surname>
<given-names>LL</given-names>
</name>
<name>
<surname>Ilha</surname>
<given-names>TASH</given-names>
</name>
<name>
<surname>de Carvalho</surname>
<given-names>JAM</given-names>
</name>
<name>
<surname>Stein</surname>
<given-names>C</given-names>
</name>
<name>
<surname>Moresco</surname>
<given-names>RN</given-names>
</name> <etal/>
</person-group> 
<article-title>Insulin resistance and its association with osteoporosis in people living with HIV</article-title>
<source>J Endocr Soc Oct 26</source> <year>2022</year>
<volume>6</volume>
<issue>12</issue>
<fpage>bvac148</fpage>
<comment>https://doi.org/10.1210/jendso/bvac148</comment>
</nlm-citation>
</ref>
<ref id="ref6">
<label>6</label>
<nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Yoon</surname>
<given-names>JH</given-names>
</name>
<name>
<surname>Hong</surname>
<given-names>AR</given-names>
</name>
<name>
<surname>Choi</surname>
<given-names>W</given-names>
</name>
<name>
<surname>Park</surname>
<given-names>JY</given-names>
</name>
<name>
<surname>Kim</surname>
<given-names>HK</given-names>
</name>
<name>
<surname>Kang</surname>
<given-names>HC</given-names>
</name>
</person-group> 
<article-title>Association of triglyceride-glucose index with bone mineral density in non-diabetic Koreans: KNHANES 2008–2011</article-title>
<source>Calcif Tissue Int Feb</source> <year>2021</year>
<volume>108</volume>
<issue>2</issue>
<fpage>176</fpage>
<lpage>87</lpage>
<comment>https://doi.org/10.1007/s00223-020-00761-9</comment>
</nlm-citation>
</ref>
<ref id="ref7">
<label>7</label>
<nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Janssen</surname>
<given-names>I</given-names>
</name>
<name>
<surname>Carson</surname>
<given-names>V</given-names>
</name>
<name>
<surname>Lee</surname>
<given-names>IM</given-names>
</name>
<name>
<surname>Katzmarzyk</surname>
<given-names>PT</given-names>
</name>
<name>
<surname>Blair</surname>
<given-names>SN</given-names>
</name>
</person-group> 
<article-title>Years of life gained due to leisure-time physical activity in the U.S</article-title>
<source>Am J Prev Med Jan</source> <year>2013</year>
<volume>44</volume>
<issue>1</issue>
<fpage>23</fpage>
<lpage>9</lpage>
<comment>https://doi.org/10.1016/j.amepre.2012.09.056</comment>
</nlm-citation>
</ref>
<ref id="ref8">
<label>8</label>
<nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Speiser</surname>
<given-names>JL</given-names>
</name>
<name>
<surname>Miller</surname>
<given-names>ME</given-names>
</name>
<name>
<surname>Tooze</surname>
<given-names>J</given-names>
</name>
<name>
<surname>Ip</surname>
<given-names>E</given-names>
</name>
</person-group> 
<article-title>A comparison of random forest variable selection methods for classification prediction modeling</article-title>
<source>Expert Syst Appl Nov 15</source> <year>2019</year>
<volume>134</volume>
<fpage>93</fpage>
<lpage>101</lpage>
<comment>https://doi.org/10.1016/j.eswa.2019.05.028</comment>
</nlm-citation>
</ref>
<ref id="ref9">
<label>9</label>
<nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Vasquez</surname>
<given-names>MM</given-names>
</name>
<name>
<surname>Hu</surname>
<given-names>C</given-names>
</name>
<name>
<surname>Roe</surname>
<given-names>DJ</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>Z</given-names>
</name>
<name>
<surname>Halonen</surname>
<given-names>M</given-names>
</name>
<name>
<surname>Guerra</surname>
<given-names>S</given-names>
</name>
</person-group> 
<article-title>Least absolute shrinkage and selection operator type methods for the identification of serum biomarkers of overweight and obesity: simulation and application</article-title>
<source>BMC Med Res Methodol Nov 14</source> <year>2016</year>
<volume>16</volume>
<issue>1</issue>
<fpage>154</fpage>
<comment>https://doi.org/10.1186/s12874-016-0254-8</comment>
</nlm-citation>
</ref>
<ref id="ref10">
<label>10</label>
<nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Yousefi</surname>
<given-names>E</given-names>
</name>
<name>
<surname>Pronzato</surname>
<given-names>L</given-names>
</name>
<name>
<surname>Hainy</surname>
<given-names>M</given-names>
</name>
<name>
<surname>Muller</surname>
<given-names>WG</given-names>
</name>
<name>
<surname>Wynn</surname>
<given-names>HP</given-names>
</name>
</person-group> 
<article-title>Discrimination between Gaussian process models: active learning and static constructions</article-title>
<source>Stat Pap (Berl)</source> <year>2023</year>
<volume>64</volume>
<issue>4</issue>
<fpage>1275</fpage>
<lpage>304</lpage>
<comment>https://doi.org/10.1007/s00362-023-01436-x</comment>
</nlm-citation>
</ref>
<ref id="ref11">
<label>11</label>
<nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hu</surname>
<given-names>L</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>L</given-names>
</name>
</person-group> 
<article-title>Using tree-based machine learning for health studies: literature review and case series</article-title>
<source>Int J Environ Res Public Health Dec 1</source> <year>2022</year>
<volume>19</volume>
<issue>23</issue>
<fpage>16080</fpage>
<comment>https://doi.org/10.3390/ijerph192316080</comment>
</nlm-citation>
</ref>
<ref id="ref12">
<label>12</label>
<nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zavanelli</surname>
<given-names>N</given-names>
</name>
<name>
<surname>Lee</surname>
<given-names>SH</given-names>
</name>
<name>
<surname>Guess</surname>
<given-names>M</given-names>
</name>
<name>
<surname>Yeo</surname>
<given-names>WH</given-names>
</name>
</person-group> 
<article-title>Continuous real-time assessment of acute cognitive stress from cardiac mechanical signals captured by a skin-like patch</article-title>
<source>Biosens Bioelectron Mar 15</source> <year>2024</year>
<volume>248</volume>
<fpage>115983</fpage>
<comment>https://doi.org/10.1016/j.bios.2023.115983</comment>
</nlm-citation>
</ref>
<ref id="ref13">
<label>13</label>
<nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Kim</surname>
<given-names>B</given-names>
</name>
<name>
<surname>Manchuri</surname>
<given-names>AR</given-names>
</name>
<name>
<surname>Oh</surname>
<given-names>G-T</given-names>
</name>
<name>
<surname>Lim</surname>
<given-names>Y</given-names>
</name>
<name>
<surname>Son</surname>
<given-names>Y</given-names>
</name>
<name>
<surname>Choi</surname>
<given-names>S</given-names>
</name> <etal/>
</person-group> 
<article-title>Experimental analysis and prediction of radionuclide solubility using machine learning models: effects of organic complexing agents</article-title>
<source>J Hazard Mater May 5</source> <year>2024</year>
<volume>469</volume>
<fpage>134012</fpage>
<comment>https://doi.org/10.1016/j.jhazmat.2024.134012</comment>
</nlm-citation>
</ref>
<ref id="ref14">
<label>14</label>
<nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Uttsha</surname>
<given-names>MM</given-names>
</name>
<name>
<surname>Haque</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Banna</surname>
<given-names>TT</given-names>
</name>
<name>
<surname>Deowan</surname>
<given-names>SA</given-names>
</name>
<name>
<surname>Ariful Islam</surname>
<given-names>M</given-names>
</name>
<name>
<surname>Hasan Babu</surname>
<given-names>HM</given-names>
</name>
</person-group> 
<article-title>Enhancing agricultural automation through weather invariant soil parameter prediction using machine learning</article-title>
<source>Heliyon Apr 15</source> <year>2024</year>
<volume>10</volume>
<issue>7</issue>
<fpage>e28626</fpage>
<comment>https://doi.org/10.1016/j.heliyon.2024.e28626</comment>
</nlm-citation>
</ref>
<ref id="ref15">
<label>15</label>
<nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Allgaier</surname>
<given-names>J</given-names>
</name>
<name>
<surname>Mulansky</surname>
<given-names>L</given-names>
</name>
<name>
<surname>Draelos</surname>
<given-names>RL</given-names>
</name>
<name>
<surname>Pryss</surname>
<given-names>R</given-names>
</name>
</person-group> 
<article-title>How does the model make predictions? a systematic literature review on the explainability power of machine learning in healthcare</article-title>
<source>Artif Intell Med Sep</source> <year>2023</year>
<volume>143</volume>
<fpage>102616</fpage>
<comment>https://doi.org/10.1016/j.artmed.2023.102616</comment>
</nlm-citation>
</ref>
<ref id="ref16">
<label>16</label>
<nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ali</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Akhlaq</surname>
<given-names>F</given-names>
</name>
<name>
<surname>Imran</surname>
<given-names>AS</given-names>
</name>
<name>
<surname>Kastrati</surname>
<given-names>Z</given-names>
</name>
<name>
<surname>Daudpota</surname>
<given-names>SM</given-names>
</name>
<name>
<surname>Moosa</surname>
<given-names>M</given-names>
</name>
</person-group> 
<article-title>The enlightening role of explainable artificial intelligence in medical &amp; healthcare domains: a systematic literature review</article-title>
<source>Comput Biol Med Oct 4</source> <year>2023</year>
<volume>166</volume>
<fpage>107555</fpage>
<comment>https://doi.org/10.1016/j.compbiomed.2023.107555</comment>
</nlm-citation>
</ref>
<ref id="ref17">
<label>17</label>
<nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Tian</surname>
<given-names>N</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Han</surname>
<given-names>H</given-names>
</name>
<name>
<surname>Jin</surname>
<given-names>J</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>Z</given-names>
</name>
</person-group> 
<article-title>Association between triglyceride glucose index and total bone mineral density: a cross-sectional study from NHANES 2011–2018</article-title>
<source>Sci Rep Feb 20</source> <year>2024</year>
<volume>14</volume>
<issue>1</issue>
<fpage>4208</fpage>
<comment>https://doi.org/10.1038/s41598-024-54192-9</comment>
</nlm-citation>
</ref>
<ref id="ref18">
<label>18</label>
<nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wen</surname>
<given-names>Z</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>Y</given-names>
</name>
<name>
<surname>Xu</surname>
<given-names>L</given-names>
</name>
<name>
<surname>Yue</surname>
<given-names>C</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>Q</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>R</given-names>
</name> <etal/>
</person-group> 
<article-title>Triglyceride glucose-body mass index is a reliable indicator of bone mineral density and risk of osteoporotic fracture in middle-aged and elderly nondiabetic Chinese individuals</article-title>
<source>J Clin Med Sep 26</source> <year>2022</year>
<volume>11</volume>
<issue>19</issue>
<fpage>5694</fpage>
<comment>https://doi.org/10.3390/jcm11195694</comment>
</nlm-citation>
</ref>
<ref id="ref19">
<label>19</label>
<nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Dorilleau</surname>
<given-names>C</given-names>
</name>
<name>
<surname>Kanagaratnam</surname>
<given-names>L</given-names>
</name>
<name>
<surname>Charlot</surname>
<given-names>I</given-names>
</name>
<name>
<surname>Hittinger</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Bertin</surname>
<given-names>E</given-names>
</name>
<name>
<surname>Salmon</surname>
<given-names>J-H</given-names>
</name> <etal/>
</person-group> 
<article-title>The least significant change on bone mineral density scan increased in patients with higher degrees of obesity</article-title>
<source>Aging Clin Exp Res Apr 23</source> <year>2024</year>
<volume>36</volume>
<issue>1</issue>
<fpage>98</fpage>
<comment>https://doi.org/10.1007/s40520-024-02736-4</comment>
</nlm-citation>
</ref>
<ref id="ref20">
<label>20</label>
<nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Gauthier</surname>
<given-names>J</given-names>
</name>
<name>
<surname>Wu</surname>
<given-names>QV</given-names>
</name>
<name>
<surname>Gooley</surname>
<given-names>TA</given-names>
</name>
</person-group> 
<article-title>Cubic splines to model relationships between continuous variables and outcomes: a guide for clinicians</article-title>
<source>Bone Marrow Transplant Apr</source> <year>2020</year>
<volume>55</volume>
<issue>4</issue>
<fpage>675</fpage>
<lpage>80</lpage>
<comment>https://doi.org/10.1038/s41409-019-0679-x</comment>
</nlm-citation>
</ref>
<ref id="ref21">
<label>21</label>
<nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Riley</surname>
<given-names>RD</given-names>
</name>
<name>
<surname>Ensor</surname>
<given-names>J</given-names>
</name>
<name>
<surname>Snell</surname>
<given-names>KIE</given-names>
</name>
<name>
<surname>Harrell</surname>
<given-names>FE</given-names>
</name>
<name>
<surname>Martin</surname>
<given-names>GP</given-names>
</name>
<name>
<surname>Reitsma</surname>
<given-names>JB</given-names>
</name> <etal/>
</person-group> 
<article-title>Calculating the sample size required for developing a clinical prediction model</article-title>
<source>BMJ Mar 18</source> <year>2020</year>
<volume>368</volume>
<fpage>m441</fpage>
<comment>https://doi.org/10.1136/bmj.m441</comment>
</nlm-citation>
</ref>
<ref id="ref22">
<label>22</label>
<nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Riley</surname>
<given-names>RD</given-names>
</name>
<name>
<surname>Snell</surname>
<given-names>KIE</given-names>
</name>
<name>
<surname>Archer</surname>
<given-names>L</given-names>
</name>
<name>
<surname>Ensor</surname>
<given-names>J</given-names>
</name>
<name>
<surname>Debray</surname>
<given-names>TPA</given-names>
</name>
<name>
<surname>van Calster</surname>
<given-names>B</given-names>
</name> <etal/>
</person-group> 
<article-title>Evaluation of clinical prediction models (part 3): calculating the sample size required for an external validation study</article-title>
<source>BMJ Jan 22</source> <year>2024</year>
<volume>384</volume>
<fpage>e074821</fpage>
<comment>https://doi.org/10.1136/bmj-2023-074821</comment>
</nlm-citation>
</ref>
<ref id="ref23">
<label>23</label>
<nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Palermo</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Tuccinardi</surname>
<given-names>D</given-names>
</name>
<name>
<surname>Defeudis</surname>
<given-names>G</given-names>
</name>
<name>
<surname>Watanabe</surname>
<given-names>M</given-names>
</name>
<name>
<surname>D’Onofrio</surname>
<given-names>L</given-names>
</name>
<name>
<surname>Pantano</surname>
<given-names>AL</given-names>
</name> <etal/>
</person-group> 
<article-title>BMI and BMD: the potential interplay between obesity and bone fragility</article-title>
<source>Int J Environ Res Public Health May 28</source> <year>2016</year>
<volume>13</volume>
<issue>6</issue>
<fpage>544</fpage>
<comment>https://doi.org/10.3390/ijerph13060544</comment>
</nlm-citation>
</ref>
<ref id="ref24">
<label>24</label>
<nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Lloyd</surname>
<given-names>JT</given-names>
</name>
<name>
<surname>Alley</surname>
<given-names>DE</given-names>
</name>
<name>
<surname>Hawkes</surname>
<given-names>WG</given-names>
</name>
<name>
<surname>Hochberg</surname>
<given-names>MC</given-names>
</name>
<name>
<surname>Waldstein</surname>
<given-names>SR</given-names>
</name>
<name>
<surname>Orwig</surname>
<given-names>DL</given-names>
</name>
</person-group> 
<article-title>Body mass index is positively associated with bone mineral density in U.S. older adults</article-title>
<source>Arch Osteoporos</source> <year>2014</year>
<volume>9</volume>
<fpage>175</fpage>
<comment>https://doi.org/10.1007/s11657-014-0175-2</comment>
</nlm-citation>
</ref>
<ref id="ref25">
<label>25</label>
<nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hoxha</surname>
<given-names>R</given-names>
</name>
<name>
<surname>Islami</surname>
<given-names>H</given-names>
</name>
<name>
<surname>Qorraj-Bytyqi</surname>
<given-names>H</given-names>
</name>
<name>
<surname>Thaci</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Bahtiri</surname>
<given-names>E</given-names>
</name>
</person-group> 
<article-title>Relationship of weight and body mass index with bone mineral density in adult men from Kosovo</article-title>
<source>Mater Sociomed Oct</source> <year>2014</year>
<volume>26</volume>
<issue>5</issue>
<fpage>306</fpage>
<lpage>8</lpage>
<comment>https://doi.org/10.5455/msm.2014.26.306-308</comment>
</nlm-citation>
</ref>
<ref id="ref26">
<label>26</label>
<nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Jiang</surname>
<given-names>Y</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>Y</given-names>
</name>
<name>
<surname>Jin</surname>
<given-names>M</given-names>
</name>
<name>
<surname>Gu</surname>
<given-names>Z</given-names>
</name>
<name>
<surname>Pei</surname>
<given-names>Y</given-names>
</name>
<name>
<surname>Meng</surname>
<given-names>P</given-names>
</name>
</person-group> 
<article-title>Aged-related changes in body composition and association between body composition with bone mass density by body mass index in Chinese Han Men over 50-year-old</article-title>
<source>PLoS One</source> <year>2015</year>
<volume>10</volume>
<issue>6</issue>
<fpage>e0130400</fpage>
<comment>https://doi.org/10.1371/journal.pone.0130400</comment>
</nlm-citation>
</ref>
<ref id="ref27">
<label>27</label>
<nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Dogan</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Nakipoglu-Yuzer</surname>
<given-names>GF</given-names>
</name>
<name>
<surname>Yildizgoren</surname>
<given-names>MT</given-names>
</name>
<name>
<surname>Ozgirgin</surname>
<given-names>N</given-names>
</name>
</person-group> 
<article-title>Is age or the body mass index (BMI) more determinant of the bone mineral density (BMD) in geriatric women and men?</article-title>
<source>Arch Gerontol Geriatr Nov/Dec</source> <year>2010</year>
<volume>51</volume>
<issue>3</issue>
<fpage>338</fpage>
<lpage>41</lpage>
<comment>https://doi.org/10.1016/j.archger.2010.01.015</comment>
</nlm-citation>
</ref>
<ref id="ref28">
<label>28</label>
<nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Kirchengast</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Peterson</surname>
<given-names>B</given-names>
</name>
<name>
<surname>Hauser</surname>
<given-names>G</given-names>
</name>
<name>
<surname>Knogler</surname>
<given-names>W</given-names>
</name>
</person-group> 
<article-title>Significance of body weight status for bone density in the elderly and very old</article-title>
<source>Z Gerontol Geriatr Aug</source> <year>2001</year>
<volume>34</volume>
<issue>4</issue>
<fpage>313</fpage>
<lpage>8</lpage>
<comment>https://doi.org/10.1007/s003910170055</comment>
</nlm-citation>
</ref>
<ref id="ref29">
<label>29</label>
<nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Kang</surname>
<given-names>D</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>Z</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>Y</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>H</given-names>
</name>
<name>
<surname>Feng</surname>
<given-names>X</given-names>
</name>
<name>
<surname>Cao</surname>
<given-names>W</given-names>
</name> <etal/>
</person-group> 
<article-title>Relationship of body composition with bone mineral density in northern Chinese men by body mass index levels</article-title>
<source>J Endocrinol Invest Apr</source> <year>2014</year>
<volume>37</volume>
<issue>4</issue>
<fpage>359</fpage>
<lpage>67</lpage>
<comment>https://doi.org/10.1007/s40618-013-0037-6</comment>
</nlm-citation>
</ref>
<ref id="ref30">
<label>30</label>
<nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wee</surname>
<given-names>J</given-names>
</name>
<name>
<surname>Sng</surname>
<given-names>BY</given-names>
</name>
<name>
<surname>Shen</surname>
<given-names>L</given-names>
</name>
<name>
<surname>Lim</surname>
<given-names>CT</given-names>
</name>
<name>
<surname>Singh</surname>
<given-names>G</given-names>
</name>
<name>
<surname>Das De</surname>
<given-names>S</given-names>
</name>
</person-group> 
<article-title>The relationship between body mass index and physical activity levels in relation to bone mineral density in premenopausal and postmenopausal women</article-title>
<source>Arch Osteoporos</source> <year>2013</year>
<volume>8</volume>
<fpage>162</fpage>
<comment>https://doi.org/10.1007/s11657-013-0162-z</comment>
</nlm-citation>
</ref>
<ref id="ref31">
<label>31</label>
<nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Pinar-Gutierrez</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Garcia-Fontana</surname>
<given-names>C</given-names>
</name>
<name>
<surname>Garcia-Fontana</surname>
<given-names>B</given-names>
</name>
<name>
<surname>Munoz-Torres</surname>
<given-names>M</given-names>
</name>
</person-group> 
<article-title>Obesity and bone health: a complex relationship</article-title>
<source>Int J Mol Sci Jul 27</source> <year>2022</year>
<volume>23</volume>
<issue>15</issue>
<fpage>8303</fpage>
<comment>https://doi.org/10.3390/ijms23158303</comment>
</nlm-citation>
</ref>
<ref id="ref32">
<label>32</label>
<nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Du</surname>
<given-names>Y</given-names>
</name>
<name>
<surname>Zhao</surname>
<given-names>LJ</given-names>
</name>
<name>
<surname>Xu</surname>
<given-names>Q</given-names>
</name>
<name>
<surname>Wu</surname>
<given-names>KH</given-names>
</name>
<name>
<surname>Deng</surname>
<given-names>HW</given-names>
</name>
</person-group> 
<article-title>Socioeconomic status and bone mineral density in adults by race/ethnicity and gender: the Louisiana osteoporosis study</article-title>
<source>Osteoporos Int May</source> <year>2017</year>
<volume>28</volume>
<issue>5</issue>
<fpage>1699</fpage>
<lpage>709</lpage>
<comment>https://doi.org/10.1007/s00198-017-3951-1</comment>
</nlm-citation>
</ref>
<ref id="ref33">
<label>33</label>
<nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Brennan</surname>
<given-names>SL</given-names>
</name>
<name>
<surname>Pasco</surname>
<given-names>JA</given-names>
</name>
<name>
<surname>Urquhart</surname>
<given-names>DM</given-names>
</name>
<name>
<surname>Oldenburg</surname>
<given-names>B</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>Y</given-names>
</name>
<name>
<surname>Wluka</surname>
<given-names>AE</given-names>
</name>
</person-group> 
<article-title>Association between socioeconomic status and bone mineral density in adults: a systematic review</article-title>
<source>Osteoporos Int Feb</source> <year>2011</year>
<volume>22</volume>
<issue>2</issue>
<fpage>517</fpage>
<lpage>27</lpage>
<comment>https://doi.org/10.1007/s00198-010-1261-y</comment>
</nlm-citation>
</ref>
<ref id="ref34">
<label>34</label>
<nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhang</surname>
<given-names>Y</given-names>
</name>
<name>
<surname>Tan</surname>
<given-names>C</given-names>
</name>
<name>
<surname>Tan</surname>
<given-names>W</given-names>
</name>
</person-group> 
<article-title>BMI, socioeconomic status, and bone mineral density in U.S. adults: mediation analysis in the NHANES</article-title>
<source>Front Nutr</source> <year>2023</year>
<volume>10</volume>
<fpage>1132234</fpage>
<comment>https://doi.org/10.3389/fnut.2023.1132234</comment>
</nlm-citation>
</ref>
<ref id="ref35">
<label>35</label>
<nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Pan</surname>
<given-names>K</given-names>
</name>
<name>
<surname>Tu</surname>
<given-names>R</given-names>
</name>
<name>
<surname>Yao</surname>
<given-names>X</given-names>
</name>
<name>
<surname>Zhu</surname>
<given-names>Z</given-names>
</name>
</person-group> 
<article-title>Associations between serum calcium, 25(OH)D level and bone mineral density in adolescents</article-title>
<source>Adv Rheumatol Mar 10</source> <year>2021</year>
<volume>61</volume>
<issue>1</issue>
<fpage>16</fpage>
<comment>https://doi.org/10.1186/s42358-021-00174-8</comment>
</nlm-citation>
</ref>
<ref id="ref36">
<label>36</label>
<nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hodges</surname>
<given-names>JK</given-names>
</name>
<name>
<surname>Cao</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Cladis</surname>
<given-names>DP</given-names>
</name>
<name>
<surname>Weaver</surname>
<given-names>CM</given-names>
</name>
</person-group> 
<article-title>Lactose intolerance and bone health: the challenge of ensuring adequate calcium intake</article-title>
<source>Nutrients Mar 28</source> <year>2019</year>
<volume>11</volume>
<issue>4</issue>
<fpage>718</fpage>
<comment>https://doi.org/10.3390/nu11040718</comment>
</nlm-citation>
</ref>
<ref id="ref37">
<label>37</label>
<nlm-citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhan</surname>
<given-names>H</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>X</given-names>
</name>
<name>
<surname>Piao</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Rong</surname>
<given-names>X</given-names>
</name>
<name>
<surname>Guo</surname>
<given-names>J</given-names>
</name>
</person-group> 
<article-title>Association between triglyceride-glucose index and bone mineral density in U.S. adults: a cross sectional study</article-title>
<source>J Orthop Surg Res Oct 30</source> <year>2023</year>
<volume>18</volume>
<issue>1</issue>
<fpage>810</fpage>
<comment>https://doi.org/10.1186/s13018-023-04275-6</comment>
</nlm-citation>
</ref>
</ref-list>  

<fn-group>
<fn fn-type="conflict">
<p>Conflicts of interest:  Authors declare no conflicts of interest.</p>
</fn>
<fn fn-type="supported-by">
<p>Funding:  This work was supported by the Natural Science Foundation of Zhejiang Province, China (grant number Q24H040021), the Science and Technology Programme of Quzhou, Zhejiang Province, China (grant number 2023K105, 2023K111), and the Medical and Healthcare Talent Research Initiation Fund Category G (grant numbers KYQD 2022-29, KYQD 2022-30).</p>
</fn>
</fn-group>

</back></article>
