Accepted for/Published in: JMIR Medical Informatics
Date Submitted: Aug 23, 2021
Open Peer Review Period: Aug 23, 2021 - Aug 31, 2021
Date Accepted: Jan 2, 2022
(closed for review but you can still tweet)
Panic attack prediction using wearable devices and machine learning: Development and cohort study
ABSTRACT
Background:
A panic attack (PA) is an intense form of anxiety accompanied by multiple somatic presentations, leading to frequent emergency department visits and repetitive medical examinations before a formal diagnosis. Designing a PA prediction model could help prevent iatrogenic harm to patients and facilitate more personalized treatment.
Objective:
This study aimed to provide a seven-day PA prediction model and determine the relationship between physiological factors, anxiety and depressive factors, and air quality index.
Methods:
We enrolled 59 participants with PD (DMS-5 and MINI interview). Participants used smartwatches (Garmin vivosmart 4) and mobile applications to collect their sleep, heart rate, activity level, anxiety, and depression scores (BDI, BAI, STAI-S, STAI-T, and PDSS-SR) in their real life for a duration of one year. We also included air quality indexes from open data. To analyze these data, our team used six machine learning methods: random forests, decision trees, LDA, AdaBoost, XgBoost, and regularized greedy forests.
Results:
For seven-day PA prediction, the random forest produced the best prediction rate. The model achieved an accuracy of 97.5% on the training set. Overall, the accuracy of the testing set was 67.4–81.3% for different machine learning algorithms. The most critical variables in the model were questionnaire and physiological features such as BAI, BDI, STAI, MINI, average heart rate, resting heart rate, and deep sleep duration.
Conclusions:
It is possible to predict panic attacks using a combination of data from questionnaires, and physiological and environmental data. Prediction accuracy was 97.5% on the training data and 81.3% on the testing data.
Citation
Request queued. Please wait while the file is being generated. It may take some time.
Copyright
© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.