Online Program Home
My Program

Abstract Details

Activity Number: 87 - SPEED: Statistics in Sports; Physical Activity/Sleep Studies, and Nonparametrics Part 2
Type: Contributed
Date/Time: Sunday, July 28, 2019 : 4:00 PM to 4:45 PM
Sponsor: Survey Research Methods Section
Abstract #307923
Title: Minute-By-Minute Sleep Data: a SAS Macro to Create Summary Sleep Variables
Author(s): Laura Grau* and Jaron Arbet and Danielle Ostendorf and Edward L Melanson and Jill L Kaar and Victoria A Catenacci and Seth A. Creasy
Companies: University of Colorado-Biostatistics and University of Colorado and University of Colorado and University of Colorado and University of Colorado and University of Colorado and University of Colorado
Keywords: SAS; Macro; Sleep; endocrinology; weightloss

The use of wearable monitors to track physical activity and sleep has increased in recent years. Because many devices were specifically designed to measure physical activity, there is a lack of computational tools for processing sleep data, aside from manufacturers’ proprietary software that is not readily available for public use. Developing accessible algorithms to process these sleep data may help researchers and clinicians make more informed decisions about sleep duration and quality. This paper presents a user-friendly SAS Macro that transforms minute-by-minute sleep data from the Sensewear Mini Armband into summary variables indicating length and quality of sleep. These variables include Total Sleep Time, Time in Bed, Wake After Sleep Onset, etc. The Macro incorporates flexibility at decision points that vary by study, including definitions of valid data, continuous nighttime sleep, naps, and more. While the Macro is currently specific to the Sensewear device, it will be adapted to handle other devices. This Macro is currently being applied to sleep data from an 18-Month behavioral weight loss intervention to assess the effect of sleep on weight loss and treatment adherence.

Authors who are presenting talks have a * after their name.

Back to the full JSM 2019 program