We use cookies and other tools to enhance your experience on our website and to analyze our web traffic.
For more information about these cookies and the data collected, please refer to our Privacy Policy.

Sleep time SHHS

1 post
Was this reply useful? Learn more...
aparekh +0 points · over 2 years ago


If I'm not mistaken, there seems to be a discrepancy between total sleep time variables in SHHS data (Visit1). The variable slp_time appears to be accurately calculated, however the variable slptime appears incorrect. As an example time in bed for subject 205804 is 397.5 minutes, however, total sleep time as per slptime is 557 mins, which is longer than time in bed. On the other hand, slp_time=357 appears accurate. Cross-checking the times based on the hypnograms, slp_time appears to be the accurate variable.

EDIT: It appears there is another variable SlpPrdP, which is similar to slp_time and accurate.

-- Best, Ankit Parekh, PhD.

404 posts
Was this reply useful? Learn more...
mrueschman +1 point · over 2 years ago

Hey Ankit - thanks for using the site and for bringing this to our attention. Your finding is correct about slptime. The documentation in the original SHHS datasets about this variable was not clear, so I have identified it for removal from future versions of the dataset (https://github.com/nsrr/shhs-data-dictionary/issues/1107). slpprdp is typically our preferred variable for total sleep time.


Topic is locked. Start a new topic