Return to the Medical Outcomes Study (MOS) Sleep Scale page
___________________________________________________________________________________________________________________	

						MEDICAL OUTCOME STUDY (MOS) SLEEP SCALE 1.0
___________________________________________________________________________________________________________________

Script Katja Borchert, Ph.D. (katjab@millisecond.com) for Millisecond Software, LLC
Date: 10-11-2013
last updated:  10-16-2019 by K. Borchert (katjab@millisecond.com) for Millisecond Software, LLC

Script Copyright © 10-16-2019 Millisecond Software

___________________________________________________________________________________________________________________
BACKGROUND INFO 	
___________________________________________________________________________________________________________________	

This script implements the MOS sleep scale 1.0 as provided by:
http://www.rand.org/health/surveys_tools/mos/mos_sleep.html

and discussed in:
Hays, Ron D., Martin, Susan A., Sesti, Anne M., & Spritzer, Karen L. (2005). Psychometric properties of the 
Medical Outcomes Study sleep measure. Sleep Medicine, 6(1), 41-44.

Scoring Algorithm can be obtained under:
http://gim.med.ucla.edu/FacultyPages/Hays/surveys.htm

and is described in:
Spritzer, K. L. & Hays, R. D. (2003, November). MOS Sleep Scale: A Manual for Use and Scoring, 
Version 1.0. Los Angeles, CA.

___________________________________________________________________________________________________________________
OVERVIEW
___________________________________________________________________________________________________________________	
The survey presents 12 sleep questions (by default, the questions are coded in such a way that participants 
do not have to answer them) that make up 7 subscales (+ 2 extra).

___________________________________________________________________________________________________________________	
DURATION 
___________________________________________________________________________________________________________________	
the default set-up of the script takes appr. 2 minutes to complete

___________________________________________________________________________________________________________________	
DATA FILE INFORMATION 
___________________________________________________________________________________________________________________	
The default data stored in the data files are:

(1) Raw data file: 'mos_sleepscale.iqdat'

date, time:						date and time script was run with the current group/subjectnumber 
subject, group, session:	  		 with the current subject/groupnumber/session id
build:							the Inquisit build 

q*_response:						response given (in assigned values)
									Scale: all of the time - none of the time; no automatically attached values attached to response anchors
									=> see summary data for numeric values
									
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)


(2) Summary data file: 'mos_sleepscale_summary*.iqdat' (a separate file for each participant)

computer.platform:			the platform the script was run on (win/mac/ios/android)
script.startdate:				date script was run
script.starttime:				time script was started
script.subjectid:				assigned subject id number
script.groupid:				assigned group id number
script.sessionid:				assigned session id number
script.elapsedtime:			time it took to run script (in ms); measured from onset to offset of script
script.completed:				0 = script was not completed (prematurely aborted); 
							1 = script was completed (all conditions run)
							
							
, expressions.slpsnr1_snoring, expressions.slpsob1_shortsleep, expressions.slpa2_sleepadequacy,
expressions.slps3_sleepsomnolence, expressions.slp6_sleepproblems, , , 
expressions.SLPOP1_optimalsleep, , expressions.q3, expressions.q4_sa, expressions.q4_sp, expressions.q5, expressions.q6,
expressions.q7, expressions.q8, expressions.q9, expressions.q10, expressions.q11, expressions.q12_sa, expressions.q12_sp,
values.count_slpd4, values.count_slpsnr1, values.count_slpsob1, values.count_slpa2, values.count_slps3,
values.count_slp6, 							

expressions.slpd4_sleepdisturbance -
expressions.slp9_sleepproblems:			subscale scores	

expressions.SLPQRAW_sleepquantity:		Sleep Quantity Score (q2)

expressions.q1 -
expressions.q12_SP:						scoring of the individual questions
										(according to the scoring manual: "Note that items 4 and 12 are scored differently 
										depending upon which scale they are used in. When used in the sleep adequacy scale, 
										a higher score reflects less of a problem. When used in the sleep problems index, a 
										higher score reflects more of a problem." (Spritzer & Hays, 2003, p.2)
values.count_slpd4 -
values.count_slp9:						count the number of answered items of a subscale


EDITABLE CODE:
check below for (relatively) easily editable parameters, stimuli, instructions etc. 
Keep in mind that you can use this script as a template and therefore always "mess" with the entire code to further customize your experiment.

The parameters you can change are:

/instructions:						Contain the surveypage instructions. The default instructions ("Please answer the following questions")
								are not original to the survey and were addede by Millisecond Software.
								
/skipfeedback:					true = no feedback is given (default)
								false = feedback is given (-> page.feedback)