Script Author: Katja Borchert, Ph.D. (katjab@millisecond.com), Millisecond
Millisecond thanks Meghan Lee for collaborating on this script!
Created: January 23, 2016
Last Modified: January 12, 2023 by K. Borchert (katjab@millisecond.com), Millisecond
Script Copyright © Millisecond Software, LLC
This script implements the Sleep-Wake Activity Inventory (SWAI) as described in:
Rosenthal L., Roehrs TA, Roth T. (1993). The Sleep-Wake Activity Inventory: a self-report measure of daytime sleepiness. Biol Psychiatry, 34, 810-20.
5 minutes
Participants answer 59 9-point Likert Scale questions.
31 of these questions belong to 6 subscales (the remaining 28 questions are not considered for scoring):
Excessive Daytime Sleepiness (EDS): 9 questions
Psychic Distress (PD): 6 questions
Social desirability (SD): 6 questions
Energy Level (EL): 4 questions
Ability to Relax (AR): 3 questions
Nocturnal Sleep (NS): 3 questions
see Editable Parameters
The questionnaire consists of 59 9-point Likert questions.
31 questions score on 6 subscales, the remaining 28 questions are not considered for scoring.
Excessive Daytime Sleepiness (EDS): 9 questions (9, 13, 24, 29, 40, 45, 50, 53, 54); Min 9 (high daytime sleepiness)- Max 81 (low daytime sleepiness)
Psychic Distress (PD): 6 questions (7, 16, 21, 32, 36, 37); Min 6 (high psychic distress) - Max 54 (low psychic distress)
Social desirability (SD): 6 questions (5, 15, 26, 27, 43, 49); Min 6 (low social desirability) - Max 54 (high social desirability)
Energy Level (EL): 4 questions (8, 14R*, 30R*, 41); Min 4 (high energy) - Max 36 (low energy)
Ability to Relax (AR): 3 questions (34, 38R*, 51); Min 3 (high ability to relax) - Max 27 (low ability to relax)
Nocturnal Sleep (NS): 3 questions (11R*, 18, 35); Min 3 (high ability to fall asleep at night)- Max 27 (low ability to fall asleep at night)
•R: Script takes care of reversed coding where appropriate.
File Name: sleepwakeactivityinventory_summary.iqdat' (Inquisit Lab: one data file per participant)
| Name | Description |
|---|---|
| inquisit.version | Inquisit version number |
| computer.platform | Device platform: win | mac |ios | android |
| startDate | Date the session was run |
| startTime | Time the session was run |
| subjectId | Participant ID |
| groupId | Group number |
| sessionId | Session number |
| elapsedTime | Session duration in ms |
| completed | 0 = Test was not completed 1 = Test was completed |
| edsScore | Score for the Excessive Daytime Sleepiness Scale: 9 (high daytime sleepiness)-81 (low daytime sleepiness) |
| pdScore | Score for the Psychic Distress Scale: 6 (high psychic distress) - 54 (low psychic distress) |
| sdScore | Score for the Social Desirability Scale: 6 (low social desirability) - 54 (high social desirability) |
| elScore | Score for the Energy Level Scale: 4 (high energy) - 36 (low energy) |
| arScore | Score for the Ability to Relax Scale: 3 (high ability to relax) - 27 (low ability to relax) |
| nsScore | Score for the Nocturnal Sleep Scale: 3 (high ability to fall asleep at night)- 27 (low ability to fall asleep at night) (the recorded raw scores reflect reversed coding where appropriate) |
File Name: sleepwakeactivityinventory.iqdat
| Name | Description |
|---|---|
| date | Date the session was run |
| time | Time the session was run |
| subject, group, session | With the current subject/groupnumber/session id |
| build | Inquisit version number |
| q*_response | Response given (in assigned values: 1 (Always) 9 (Never)) Recorded Scores reflect Reversed scoring for questions with 'Reversed' in the question label |
| q*_latency | How much time (in ms) the participant spent on the surveyPage with this particular question (the last time this particular surveyPage was visited) |
The procedure can be adjusted by setting the following parameters.
| Name | Description | Default |
|---|---|---|
| pageInstructions | The instructions that appear at the top of each surveyPage |