ORIGINAL RESEARCH article

Front. Nutr.

Sec. Clinical Nutrition

Volume 12 - 2025 | doi: 10.3389/fnut.2025.1584654

The relationship between dietary vitamin B1 and stroke: A machine learning analysis of NHANES data

Provisionally accepted
Shihan  GuoShihan Guo1Xu  JiaoXu Jiao1Mingfei  LiMingfei Li1Zhuo  LiZhuo Li2Yun  LuYun Lu1*
  • 1Hospital of Chengdu University of Traditional Chinese Medicine, Chengdu, China
  • 2Tongji Hospital, Tongji Medical College, Huazhong University of Science and Technology, Wuhan, Hubei Province, China

The final, formatted version of the article will be published soon.

Background: Vitamin B1 deficiency is closely linked to damage in the cardiovascular system.However, the relationship between dietary Vitamin B1 intake and the risk of stroke remains ambiguous and requires further investigation.This study analyzed data from participants in the National Health and Nutrition Examination Survey (NHANES: 2005(NHANES: -2018) ) to investigate the relationship between dietary vitamin B1 and ischemic stroke. Weighted multivariable logistic regression models and restricted cubic spline (RCS)regression were employed to explore potential nonlinear relationships, and subgroup analyses were conducted to assess the robustness of the results. Additionally, the Least Absolute Shrinkage and Selection Operator (LASSO) was utilized for feature selection. Eight machine learning methods were employed to construct predictive models and evaluate their performance. Based on the best-performing model, we further examined variable importance and model accuracy, employing Shapley Additive Explanations (SHAP) analysis to interpret the model. Finally, a nomogram was created to enhance the readability of the predictive model results.After controlling for various variables, vitamin B1 exhibited a significant linear negative correlation with stroke risk. In comparison to the lowest quartile, the adjusted odds ratio (OR) for the fourth quartile was notably reduced to 0.66 (95% CI: 0.46, 0.94). Restricted cubic spline (RCS) analysis further confirmed a linear inverse relationship between vitamin B1 levels and stroke risk.Moreover, the Gradient Boosting Machine (GBM) model demonstrated robust predictive efficacy, achieving an area under the curve (AUC) of 91.9%.A large-scale study based on NHANES indicates that as dietary intake of vitamin B1 increases, the risk of stroke shows a gradual decline. Therefore, appropriately increasing dietary intake of vitamin B1 may reduce the risk of stroke occurrence.

Keywords: vitamin B1, Stroke, Cross-sectional study, machine learning, NHANES

Received: 27 Feb 2025; Accepted: 11 Apr 2025.

Copyright: © 2025 Guo, Jiao, Li, Li and Lu. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

* Correspondence: Yun Lu, Hospital of Chengdu University of Traditional Chinese Medicine, Chengdu, China

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.

Research integrity at Frontiers

94% of researchers rate our articles as excellent or good

Learn more about the work of our research integrity team to safeguard the quality of each article we publish.


Find out more