Prediction of medication overuse in patients with migraine using cox regression and machine learning: a real-world cohort

dc.contributor.authorAramruang T.
dc.contributor.authorNumthavaj P.
dc.contributor.authorLooareesuwan P.
dc.contributor.authorAnothaisintawee T.
dc.contributor.authorKunakorntham P.
dc.contributor.authorPattanaprateep O.
dc.contributor.authorDejthevaporn C.
dc.contributor.authorThakkinstian A.
dc.contributor.correspondenceAramruang T.
dc.contributor.otherMahidol University
dc.date.accessioned2026-02-23T18:22:52Z
dc.date.available2026-02-23T18:22:52Z
dc.date.issued2026-12-01
dc.description.abstractBackground: Medication overuse (MO) is a critical issue for patients with migraine, contributing to chronification and medication overuse headache (MOH). Predicting those at risk is essential for effective management. This study aims to develop and compare time-to-event prediction models for MO/MOH among patients with migraine, using a cohort from electronic health records (EHRs). Methods: A prevalent new-user design of real-world data cohort of patients with migraine conducted at Ramathibodi Hospital, Thailand, from January 2010 to December 2023. The cohort was constructed using EHR data and incorporated common predictors related to the patient, physician, and treatment. Three time-to-event models were developed: Cox proportional hazards (CPH), random survival forests (RSF), and extreme gradient boosting (XGBoost). Model performance was evaluated on a hold-out testing dataset using discrimination and calibration. Variable importance in the machine learning models was assessed using Shapley Additive Explanations. Results: The study included 13,082 patients with migraine, with 3,456 identified as experiencing MO/MOH, indicating an incidence rate [95% confidence interval (CI)] of 56.31 (54.44–58.21) per 1,000 patient-years. On the testing dataset, the RSF model achieved a concordance index (C-index) of 0.645 (95% CI: 0.643–0.647), slightly outperforming the CPH model’s C-index of 0.635 (95% CI: 0.634–0.636). Additionally, the RSF model recorded the lowest integrated brier score (IBS) of 0.193 (95% CI: 0.192–0.194), compared to 0.195 (95% CI: 0.194–0.196) for the CPH model. The XGBoost model demonstrated lower performance, with a C-index of 0.611 (95% CI: 0.609–0.613) and an IBS of 0.197 (95% CI: 0.195–0.199). Across all models, clinic type, physician position, and history of MO/MOH were significant predictors. Conclusions: Using a real-world, EHR-derived cohort, we developed time-to-event prediction models incorporating multi-domain predictors to predict MO/MOH in patients with migraine. Although the models demonstrated only modest discrimination, their performance highlights the potential of CPH and machine learning algorithms in this context. External validation and the incorporation of additional clinical predictors, particularly those embedded in unstructured data, are needed.
dc.identifier.citationJournal of Headache and Pain Vol.27 No.1 (2026)
dc.identifier.doi10.1186/s10194-026-02269-3
dc.identifier.eissn11292377
dc.identifier.issn11292369
dc.identifier.pmid41580605
dc.identifier.scopus2-s2.0-105030313603
dc.identifier.urihttps://repository.li.mahidol.ac.th/handle/123456789/115273
dc.rights.holderSCOPUS
dc.subjectMedicine
dc.titlePrediction of medication overuse in patients with migraine using cox regression and machine learning: a real-world cohort
dc.typeArticle
mu.datasource.scopushttps://www.scopus.com/inward/record.uri?partnerID=HzOxMe3b&scp=105030313603&origin=inward
oaire.citation.issue1
oaire.citation.titleJournal of Headache and Pain
oaire.citation.volume27
oairecerif.author.affiliationMahidol University
oairecerif.author.affiliationRamathibodi Hospital

Files

Collections