Consistent physical activity is key for health and well-being, but it is vulnerable to stressors. The process of recovering from such stressors and bouncing back to the previous state of physical activity can be referred to as resilience. Quantifying resilience is fundamental to assess and manage the impact of stressors on consistent physical activity. In this tutorial, we present a method to quantify the resilience process from physical activity data. We leverage the prior operationalization of resilience, as used in various psychological domains, as area under the curve and expand it to suit the characteristics of physical activity time series. As use case to illustrate the methodology, we quantified resilience in step count time series (length = 366 observations) for eight participants following the first COVID-19 lockdown as a stressor. Steps were assessed daily using wrist-worn devices. The methodology is implemented in R and all coding details are included. For each person's time series, we fitted multiple growth models and identified the best one using the Root Mean Squared Error (RMSE). Then, we used the predicted values from the selected model to identify the point in time when the participant recovered from the stressor and quantified the resulting area under the curve as a measure of resilience for step count. Further resilience features were extracted to capture the different aspects of the process. By developing a methodological guide with a step-by-step implementation, we aimed at fostering increased awareness about the concept of resilience for physical activity and facilitate the implementation of related research.
Baretta, D., Koch, S., Cobo, I., Castano-Vinyals, G., de Cid, R., Carreras, A., et al. (2023). Resilience characterized and quantified from physical activity data: A tutorial in R. PSYCHOLOGY OF SPORT AND EXERCISE, 65 [10.1016/j.psychsport.2022.102361].
Resilience characterized and quantified from physical activity data: A tutorial in R
Baretta D.
;
2023
Abstract
Consistent physical activity is key for health and well-being, but it is vulnerable to stressors. The process of recovering from such stressors and bouncing back to the previous state of physical activity can be referred to as resilience. Quantifying resilience is fundamental to assess and manage the impact of stressors on consistent physical activity. In this tutorial, we present a method to quantify the resilience process from physical activity data. We leverage the prior operationalization of resilience, as used in various psychological domains, as area under the curve and expand it to suit the characteristics of physical activity time series. As use case to illustrate the methodology, we quantified resilience in step count time series (length = 366 observations) for eight participants following the first COVID-19 lockdown as a stressor. Steps were assessed daily using wrist-worn devices. The methodology is implemented in R and all coding details are included. For each person's time series, we fitted multiple growth models and identified the best one using the Root Mean Squared Error (RMSE). Then, we used the predicted values from the selected model to identify the point in time when the participant recovered from the stressor and quantified the resulting area under the curve as a measure of resilience for step count. Further resilience features were extracted to capture the different aspects of the process. By developing a methodological guide with a step-by-step implementation, we aimed at fostering increased awareness about the concept of resilience for physical activity and facilitate the implementation of related research.I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.