Feature Selection for Physical Activity Prediction Using Ecological Momentary Assessments to Personalize Intervention Timing: Longitudinal Observational Study

Abstract BackgroundThere has been a surge in the development of apps that aim to improve health, physical activity (PA), and well-being through behavior change. These apps often focus on creating a long-term and sustainable impact on the user. Just-in-time adaptive interventio...

Full description

Saved in:
Bibliographic Details
Main Authors: Devender Kumar, David Haag, Jens Blechert, Josef Niebauer, Jan David Smeddinck
Format: Article
Language:English
Published: JMIR Publications 2025-01-01
Series:JMIR mHealth and uHealth
Online Access:https://mhealth.jmir.org/2025/1/e57255
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1832575579678834688
author Devender Kumar
David Haag
Jens Blechert
Josef Niebauer
Jan David Smeddinck
author_facet Devender Kumar
David Haag
Jens Blechert
Josef Niebauer
Jan David Smeddinck
author_sort Devender Kumar
collection DOAJ
description Abstract BackgroundThere has been a surge in the development of apps that aim to improve health, physical activity (PA), and well-being through behavior change. These apps often focus on creating a long-term and sustainable impact on the user. Just-in-time adaptive interventions (JITAIs) that are based on passive sensing of the user’s current context (eg, via smartphones and wearables) have been devised to enhance the effectiveness of these apps and foster PA. JITAIs aim to provide personalized support and interventions such as encouraging messages in a context-aware manner. However, the limited range of passive sensing capabilities often make it challenging to determine the timing and context for delivering well-accepted and effective interventions. Ecological momentary assessment (EMA) can provide personal context by directly capturing user assessments (eg, moods and emotions). Thus, EMA might be a useful complement to passive sensing in determining when JITAIs are triggered. However, extensive EMA schedules need to be scrutinized, as they can increase user burden. ObjectiveThe aim of the study was to use machine learning to balance the feature set size of EMA questions with the prediction accuracy regarding of enacting PA. MethodsA total of 43 healthy participants (aged 19‐67 years) completed 4 EMA surveys daily over 3 weeks. These surveys prospectively assessed various states, including both motivational and volitional variables related to PA preparation (eg, intrinsic motivation, self-efficacy, and perceived barriers) alongside stress and mood or emotions. PA enactment was assessed retrospectively via EMA and served as the outcome variable. ResultsThe best-performing machine learning models predicted PA engagement with a mean area under the curve score of 0.87 (SD 0.02) in 5-fold cross-validation and 0.87 on the test set. Particularly strong predictors included self-efficacy, stress, planning, and perceived barriers, indicating that a small set of EMA predictors can yield accurate PA prediction for these participants. ConclusionsA small set of EMA-based features like self-efficacy, stress, planning, and perceived barriers can be enough to predict PA reasonably well and can thus be used to meaningfully tailor JITAIs such as sending well-timed and context-aware support messages.
format Article
id doaj-art-43dc03e9102744e8a408a9bcb5ae929e
institution Kabale University
issn 2291-5222
language English
publishDate 2025-01-01
publisher JMIR Publications
record_format Article
series JMIR mHealth and uHealth
spelling doaj-art-43dc03e9102744e8a408a9bcb5ae929e2025-01-31T21:01:21ZengJMIR PublicationsJMIR mHealth and uHealth2291-52222025-01-0113e57255e5725510.2196/57255Feature Selection for Physical Activity Prediction Using Ecological Momentary Assessments to Personalize Intervention Timing: Longitudinal Observational StudyDevender Kumarhttp://orcid.org/0000-0002-6971-2829David Haaghttp://orcid.org/0000-0002-9420-7111Jens Blecherthttp://orcid.org/0000-0002-3820-109XJosef Niebauerhttp://orcid.org/0000-0002-2811-9041Jan David Smeddinckhttp://orcid.org/0000-0003-0562-8473 Abstract BackgroundThere has been a surge in the development of apps that aim to improve health, physical activity (PA), and well-being through behavior change. These apps often focus on creating a long-term and sustainable impact on the user. Just-in-time adaptive interventions (JITAIs) that are based on passive sensing of the user’s current context (eg, via smartphones and wearables) have been devised to enhance the effectiveness of these apps and foster PA. JITAIs aim to provide personalized support and interventions such as encouraging messages in a context-aware manner. However, the limited range of passive sensing capabilities often make it challenging to determine the timing and context for delivering well-accepted and effective interventions. Ecological momentary assessment (EMA) can provide personal context by directly capturing user assessments (eg, moods and emotions). Thus, EMA might be a useful complement to passive sensing in determining when JITAIs are triggered. However, extensive EMA schedules need to be scrutinized, as they can increase user burden. ObjectiveThe aim of the study was to use machine learning to balance the feature set size of EMA questions with the prediction accuracy regarding of enacting PA. MethodsA total of 43 healthy participants (aged 19‐67 years) completed 4 EMA surveys daily over 3 weeks. These surveys prospectively assessed various states, including both motivational and volitional variables related to PA preparation (eg, intrinsic motivation, self-efficacy, and perceived barriers) alongside stress and mood or emotions. PA enactment was assessed retrospectively via EMA and served as the outcome variable. ResultsThe best-performing machine learning models predicted PA engagement with a mean area under the curve score of 0.87 (SD 0.02) in 5-fold cross-validation and 0.87 on the test set. Particularly strong predictors included self-efficacy, stress, planning, and perceived barriers, indicating that a small set of EMA predictors can yield accurate PA prediction for these participants. ConclusionsA small set of EMA-based features like self-efficacy, stress, planning, and perceived barriers can be enough to predict PA reasonably well and can thus be used to meaningfully tailor JITAIs such as sending well-timed and context-aware support messages.https://mhealth.jmir.org/2025/1/e57255
spellingShingle Devender Kumar
David Haag
Jens Blechert
Josef Niebauer
Jan David Smeddinck
Feature Selection for Physical Activity Prediction Using Ecological Momentary Assessments to Personalize Intervention Timing: Longitudinal Observational Study
JMIR mHealth and uHealth
title Feature Selection for Physical Activity Prediction Using Ecological Momentary Assessments to Personalize Intervention Timing: Longitudinal Observational Study
title_full Feature Selection for Physical Activity Prediction Using Ecological Momentary Assessments to Personalize Intervention Timing: Longitudinal Observational Study
title_fullStr Feature Selection for Physical Activity Prediction Using Ecological Momentary Assessments to Personalize Intervention Timing: Longitudinal Observational Study
title_full_unstemmed Feature Selection for Physical Activity Prediction Using Ecological Momentary Assessments to Personalize Intervention Timing: Longitudinal Observational Study
title_short Feature Selection for Physical Activity Prediction Using Ecological Momentary Assessments to Personalize Intervention Timing: Longitudinal Observational Study
title_sort feature selection for physical activity prediction using ecological momentary assessments to personalize intervention timing longitudinal observational study
url https://mhealth.jmir.org/2025/1/e57255
work_keys_str_mv AT devenderkumar featureselectionforphysicalactivitypredictionusingecologicalmomentaryassessmentstopersonalizeinterventiontiminglongitudinalobservationalstudy
AT davidhaag featureselectionforphysicalactivitypredictionusingecologicalmomentaryassessmentstopersonalizeinterventiontiminglongitudinalobservationalstudy
AT jensblechert featureselectionforphysicalactivitypredictionusingecologicalmomentaryassessmentstopersonalizeinterventiontiminglongitudinalobservationalstudy
AT josefniebauer featureselectionforphysicalactivitypredictionusingecologicalmomentaryassessmentstopersonalizeinterventiontiminglongitudinalobservationalstudy
AT jandavidsmeddinck featureselectionforphysicalactivitypredictionusingecologicalmomentaryassessmentstopersonalizeinterventiontiminglongitudinalobservationalstudy