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.

MESA: Work schedule (wrksched5)

5 posts
Was this reply useful? Learn more...
 
[-]
ghammad +0 points · 10 months ago

Dear all,

according to the info provided in the "Variables" tab of the MESA dataset (https://sleepdata.org/datasets/mesa/variables/wrksched5?v=0.4.0), the variable "wrksched5" represents the description of the participant's work schedule.

The associated dictionary is;

1: Day shift
2: Afternoon shift
3: Night shift
4: Split shift
5: Irregular shift / on-call
5: Rotating shifts
5: Do not work

However, in the data file itself, I see the following values (and proportions in the MESA dataset): 1.0 0.299366 2.0 0.026268 3.0 0.018569 4.0 0.009511 5.0 0.063859 6.0 0.009058 7.0 0.573370

I do think there is a small error in the dictionary. Given the age distribution of the participants, I would expect that the majority is retired (index = 7, although I might be biased as I do work in Western Europe). Thus, I think the last two values of the published dictionary should be corrected to:

6: Rotating shifts 7: Do not work

But I might also be mistaken.

Thank you in advance for your help.

Best regards,

Grégory

333 posts
bio
Was this reply useful? Learn more...
 
[-]
mrueschman +0 points · 10 months ago

Thanks - you are correct about this being an error in the data dictionary. We have it slated for fixing in the next release (https://github.com/nsrr/mesa-data-dictionary/issues/21).

You are correct about 6: Rotating shifts and 7: Do not work.

We appreciate your diligence in exploring the data. We hope you have found the site useful!

5 posts
Was this reply useful? Learn more...
 
[-]
ghammad +0 points · 10 months ago

Thank you for the prompt reply. I did not know about the github repository. Could be very useful to log and document the inherent bugs and improvements.

And thank you again for making all these info available to us all.

Regards,

Grégory

333 posts
bio
Was this reply useful? Learn more...
 
[-]
mrueschman +0 points · 10 months ago

This is fixed in the latest release (v0.5.0) - thanks again for posting about the issue here!

https://sleepdata.org/datasets/mesa/variables/wrksched5

Topic is locked. Start a new topic