Hiring in life sciences? Share your open positions with our professional community. Read more Close

Advertisement

Predicting Headache at Age 40 Using Machine Learning: A Life-Course Analysis from the 1982 Pelotas Birth Cohort, Brazil.

Created on 09 Sep 2026

Authors

João Pedro Caetano, Helena Silveira Schuch, Luiz Alexandre Chisini, Marilia Leão Goettems, Marcos Britto Correa, Fernando Pires Hartwig, Bernardo Horta, Janaína Vieira Dos Santos Motta, Alexandre Dias Porto Chiavegatto Filho, Flávio Fernando Demarco, Noéli Boscato

Published in

Journal of dentistry. Pages 107031. Sep 08, 2026. Epub Sep 08, 2026.

Abstract

This study aims to develop and evaluate machine learning (ML) models predicting headache at 40 years of age using longitudinal data from the 1982 Pelotas Birth Cohort, Brazil.
Analysis included 2,963 participants followed from birth to age 40. The outcome of interest was self-reported headache at age 40, ascertained by a standardized yes/no item. Predictors spanning sociodemographic, lifestyle, sleep, diet, mental health, and orofacial pain domains over the life course were used. Five supervised ML algorithms were evaluated: XGBoost, CatBoost, Random Forest, LightGBM, and TabPFN, benchmarked against multivariable logistic regression. Model performance was primarily assessed using the area under the ROC curve, with accuracy, precision, recall, and F1-score also reported. Data analysis was conducted in Python, with the database split into training (70%) and test (30%) sets. Model interpretability was assessed using Shapley values.
Self-reported headache was reported by 1,275 individuals (43.0%). The tuned XGBoost classifier achieved the highest discriminative performance (AUC = 0.79, 95% CI 0.76-0.82), which did not differ significantly from multivariable logistic regression (AUC = 0.78, 95% CI 0.75-0.81). Across all algorithms, AUC ranged from 0.76 to 0.79, with specificity consistently high (0.79-0.83) and sensitivity moderate (0.54-0.64). At the 0.50 threshold, the tuned XGBoost classifier showed positive and negative predictive values of 0.70 and 0.75. Restricted to variables measured before age 40, the same classifier achieved an AUC of 0.74 (95% CI 0.71-0.78). Shapley analysis identified female sex, poor sleep quality, psychological distress, dietary trigger foods, lower household income, and reduced social support from friends as the dominant contributors to model output.
ML models using life-course data can predict midlife headache with moderate-to-good discriminative ability. The prominence of modifiable psychosocial and socioeconomic predictors suggests concrete targets for future etiological and interventional research. Further model refinement, external validation, and assessment of clinical and public health utility are needed before real-world implementation.
Sleep quality, psychological distress, social support and household income, asked during routine dental history-taking, identify adults more likely to report headache; bruxism and dental attendance do not. Because sensitivity is moderate, these items should guide who warrants fuller headache and orofacial pain assessment rather than serve as a screening test.

PMID:
42710568
Bibliographic data and abstract were imported from PubMed on 09 Sep 2026.

Read full publication at:
Please sign in to see all details.

Advertisement

Stats

  • Community rating n/a 0 votes
  • Reviewers' rating n/a 0 votes
  • Your rating

1-terrible, 9-excellent. How would you rate this publication? Sign in in to submit your rating.

  • Recommendations n/a n/a positive of 0 vote(s)
  • Views 10
  • Comments 0

Recommended by

  • No recommendations yet.

Post a comment

You need to be signed in to post comments. You can sign in here.

Comments

There are no comments yet.

Advertisement