Skip to content
DraconiticResearch
Search Sources API
203,234 studies31 sourcesUpdated just now
Peer-reviewedCC BY 4.0BMC Public Health

Machine learning–driven identification of whole-food dietary patterns associated with anxiety and rheumatoid arthritis comorbidity patterns: evidence from the NHANES and the USDA MyPyramid Equivalents database

Abstract

Background: The prevalence of rheumatoid arthritis among individuals with anxiety has been increasing over time. Although common foods contain diverse dietary components, the associations of dietary micronutrients and food-group patterns with rheumatoid arthritis status among individuals with anxiety remain insufficiently understood.

Methods: This cross-sectional study utilized data from seven cycles (2005–2018) of the National Health and Nutrition Examination Survey (NHANES), along with the MyPyramid Equivalents Database from the United States Department of Agriculture for complementary dietary classification analysis. The MyPyramid analysis represented a complementary food-group transformation of NHANES dietary recall data rather than an independent external validation cohort. Feature collinearity was evaluated using correlation coefficients, and variable selection was performed using the BORUTA algorithm. Class imbalance was addressed using the Synthetic Minority Over-sampling Technique (SMOTE). Six machine learning models were developed to classify rheumatoid arthritis status among participants with medication-defined treated anxiety based on dietary features. SHapley Additive exPlanations (SHAP) and Local Interpretable Model-Agnostic Explanations (LIME) were applied to examine the associations between dietary trace elements, daily dietary intake, and rheumatoid arthritis status among individuals with anxiety. A temporal holdout sensitivity analysis was conducted to assess model performance in later NHANES cycles.

Results: Random Forest achieved the highest observed AUC-ROC across both dietary frameworks. The temporal holdout sensitivity analysis supported the performance of the Random Forest model in later NHANES cycles. To interpret the selected Random Forest model, SHAP was used as a post-hoc explanation method to quantify feature contributions at both global and individual levels. SHAP analysis identified calcium, lycopene, folate, and vitamin D as prominent negative contributors to RA-positive classification. Fruits, dairy products, and seafood rich in n-3 fatty acids also showed negative contributions to RA-positive classification. LIME analysis further supported the interpretability of individual-level predictions.

Conclusion: Machine learning models using two complementary dietary feature representations derived from NHANES discriminated rheumatoid arthritis status among individuals with anxiety, with Random Forest showing the highest observed AUC-ROC among the evaluated models. Dietary features were associated with rheumatoid arthritis status in this population. These findings require confirmation in prospective cohorts or randomized trials before informing clinical dietary guidelines.

Related

  1. PROTEOMIC IDENTIFICATION OF NOVEL AUTOANTIBODY TARGETS IN RHEUMATOID ARTHRITIS AND DIAGNOSTIC PERFORMANCE OF TGF-BETA-1-INDUCED PROTEIN AND SERUM AMYLOID A AUTOANTIBODIES
    M. Frenchmeyer, M. Moleski, S. Fernandez +9
    medRxivPreprintAll rights reservedFull textGeneral medicinemedRxiv
  2. Granulomatous Interstitial Nephritis Associated With Adalimumab Therapy in a Patient With Rheumatoid Arthritis: A Case Report
    Naif Alghamdi
    CureusPeer-reviewedCC BYFull textGeneral medicineEurope PMC
  3. LIPT1 is associated with rheumatoid arthritis fibroblast phenotypes and Wnt-related signaling
    Shu Li, Lei Wan, Xiaojun Zhang +1
    Scientific ReportsPeer-reviewedCC BY-NC-ND 4.0Full textGeneral medicineCrossref
  4. Sleeve gastrectomy is associated with a higher incidence of rheumatoid arthritis and spondyloarthritis compared to gastric bypass
    Julien Paccou, Jean-Guillaume Letarouilly, Emeline Cailliau +2
    Scientific ReportsPeer-reviewedCC BY-NC-ND 4.0Full textSurgery & anaesthesiaCrossref
  5. Screening for rheumatoid arthritis-associated interstitial lung disease using lung ultrasound: a systematic review and quality appraisal of recent studies
    A. D. Copoeru, M. Mocan, A. Farcas +2
    medRxivPreprintAll rights reservedFull textGeneral medicinemedRxiv
BibTeX
@article{xiong2026machine,
  title = {{Machine learning–driven identification of whole-food dietary patterns associated with anxiety and rheumatoid arthritis comorbidity patterns: evidence from the NHANES and the USDA MyPyramid Equivalents database}},
  author = {Zhenggang Xiong and Wei Yan and Yuzhen Ma},
  journal = {BMC Public Health},
  year = {2026},
  month = oct,
  doi = {10.1186/s12889-026-30040-5},
  url = {https://link.springer.com/article/10.1186/s12889-026-30040-5},
  note = {CC BY 4.0},
}
RIS
TY  - JOUR
TI  - Machine learning–driven identification of whole-food dietary patterns associated with anxiety and rheumatoid arthritis comorbidity patterns: evidence from the NHANES and the USDA MyPyramid Equivalents database
AU  - Zhenggang Xiong
AU  - Wei Yan
AU  - Yuzhen Ma
PY  - 2026
DA  - 2026/10/23
JO  - BMC Public Health
DO  - 10.1186/s12889-026-30040-5
UR  - https://link.springer.com/article/10.1186/s12889-026-30040-5
AB  - Background: The prevalence of rheumatoid arthritis among individuals with anxiety has been increasing over time. Although common foods contain diverse dietary components, the associations of dietary micronutrients and food-group patterns with rheumatoid arthritis status among individuals with anxiety remain insufficiently understood.  Methods: This cross-sectional study utilized data from seven cycles (2005–2018) of the National Health and Nutrition Examination Survey (NHANES), along with the MyPyramid Equivalents Database from the United States Department of Agriculture for complementary dietary classification analysis. The MyPyramid analysis represented a complementary food-group transformation of NHANES dietary recall data rather than an independent external validation cohort. Feature collinearity was evaluated using correlation coefficients, and variable selection was performed using the BORUTA algorithm. Class imbalance was addressed using the Synthetic Minority Over-sampling Technique (SMOTE). Six machine learning models were developed to classify rheumatoid arthritis status among participants with medication-defined treated anxiety based on dietary features. SHapley Additive exPlanations (SHAP) and Local Interpretable Model-Agnostic Explanations (LIME) were applied to examine the associations between dietary trace elements, daily dietary intake, and rheumatoid arthritis status among individuals with anxiety. A temporal holdout sensitivity analysis was conducted to assess model performance in later NHANES cycles.  Results: Random Forest achieved the highest observed AUC-ROC across both dietary frameworks. The temporal holdout sensitivity analysis supported the performance of the Random Forest model in later NHANES cycles. To interpret the selected Random Forest model, SHAP was used as a post-hoc explanation method to quantify feature contributions at both global and individual levels. SHAP analysis identified calcium, lycopene, folate, and vitamin D as prominent negative contributors to RA-positive classification. Fruits, dairy products, and seafood rich in n-3 fatty acids also showed negative contributions to RA-positive classification. LIME analysis further supported the interpretability of individual-level predictions.  Conclusion: Machine learning models using two complementary dietary feature representations derived from NHANES discriminated rheumatoid arthritis status among individuals with anxiety, with Random Forest showing the highest observed AUC-ROC among the evaluated models. Dietary features were associated with rheumatoid arthritis status in this population. These findings require confirmation in prospective cohorts or randomized trials before informing clinical dietary guidelines.
SN  - 1471-2458
ER  -