Academic Commons

Reports

Using SAS® Arrays to Calculate Bouts of Moderate to Vigorous Physical Activity from Minute-by-Minute Fitbit Data

Parsons, Faith E.; Diaz, Keith M.; Julian, Jacob E.

The increasing popularity and affordability of wearable fitness tracking devices, together with their ability to provide granular physical activity data down to the minute-level, has enabled researchers to conduct advanced studies on the effects of physical activity on health and disease. This technology also provides statistical programmers the challenge of processing these data and translating them into analyzable measures. One such measure is the number of time-specific bouts of moderate to vigorous physical activity (MVPA), (akin to ‘exercise’) which is needed to determine if the participant meets current physical activity guidelines (e.g.,150 min.of MVPA/week performed in bouts of at least 10 min.). In this paper, we illustrate how we used SAS® arrays to calculate the number of 10-min.bouts of MVPA per day and provide a working code that can be run on a sample file.

Files

More About This Work

Academic Units
Center for Behavioral Cardiovascular Health
Series
SAS Global Forum Proceedings 2016, 9881
Published Here
April 4, 2018
Academic Commons provides global access to research and scholarship produced at Columbia University, Barnard College, Teachers College, Union Theological Seminary and Jewish Theological Seminary. Academic Commons is managed by the Columbia University Libraries.