PSQI | R Documentation |
The function return the PSQI score. The smaller the score, the better the sleep quality.
Score_PSQI(data)
The data needs to name the survey variables as follows:
Sleep1
When have you usually gone to bed?
Sleep2
How long (in minutes) has it taken you to fall asleep each night?
Sleep3
When have you usually gotten up in the morning?
Sleep4
How many hours of actual sleep do you get at night? (This may be different than the number of hours you spend in bed)
During the past month, how often have you had trouble sleeping because you... The coded values are as following,
(1) Not during the past month; (2) Less than once a week; (3) Once or twice a week; (4) Three or more times a week
Sleep5a
Cannot get to sleep within 30 minutes
Sleep5b
Wake up in the middle of the night or early morning
Sleep5c
Have to get up to use the bathroom
Sleep5d
Cannot breathe comfortably
Sleep5e
Cough or snore loudly
Sleep5f
Feel too cold
Sleep5g
Feel too hot
Sleep5h
Have bad dreams
Sleep5i
Have pain
Sleep5j
Other reason(s), please describe, including how often you have had trouble sleeping because of this reason(s):
Sleep6
During the past month, how often have you taken medicine (prescribed or “over the counter”) to help you sleep?
(1) Not during the past month; (2) Less than once a week; (3) Once or twice a week; (4) Three or more times a week
Sleep7
During the past month, how often have you had trouble staying awake while driving, eating meals, or engaging in social activity?
(1) Not during the past month; (2) Less than once a week; (3) Once or twice a week; (4) Three or more times a week
Sleep8
During the past month, how much of a problem has it been for you to keep up enthusiasm to get things done?
(1) Not during the past month; (2) Less than once a week; (3) Once or twice a week; (4) Three or more times a week
Sleep9
During the past month, how would you rate your sleep quality overall?
(1) Very good; (2) Fairly good; (3) Fairly bad; (4) Very bad
Wangcheng Yan, Wenjun Zhou
Buysse,D.J., Reynolds,C.F., Monk,T.H., Berman,S.R., & Kupfer,D.J. (1989). The Pittsburgh Sleep Quality Index (PSQI): A new instrument for psychiatric research and practice. Psychiatry Research, 28(2), 193-213. Available at: https://www.sleep.pitt.edu/research/instruments.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.