Return to the Daily Sleep Diary page
DAILY SLEEP DIARY
Script Author: Katja Borchert, Ph.D. (firstname.lastname@example.org) for Millisecond Software, LLC
last updated: 04-12-2018 by K.Borchert for Millisecond Software LLC
Script Copyright © 04-12-2018 Millisecond Software
This script implements a computerized version of a Daily Sleep Diary.
Kevin Morgan, Beverley David, Claire Gascoigne (2007). Clinical Sleep Research Unit Loughborough University UK.
Each morning, participants answer 8 questions about their sleep.
DATA FILE INFORMATION:
The default data stored in the data files are:
(1) Raw data file: 'DailySleepDiary.iqdat'
date, time, group, subject: date and time script was run with the current group/subjectnumber
build: the Inquisit build
q*_response: response given (in assigned 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: 'DailySleepDiary_summary.iqdat' (Inquisit Lab: one data file per participant)
script.startdate: date script was run
script.starttime: time script was started
script.subjectid: subject id number
script.groupid: group id number
script.elapsedtime: time it took to run script (in ms)
computer.platform: the platform the script was run on
/completed: 0 = script was not completed (prematurely aborted); 1 = script was completed (all conditions run)
textbox.id.response: assigned id (if different than subjectId)
textbox.dayCount.response: entered day count
radiobuttons.q8_sleepQualityRating.response: responses to question 1-8
can be edited under Editable Parameters
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.
/pageinstructions: Instructions for Diary
/dateFormat: "DMY" (day/month/year), "MDY" (month/day/year), "YMD" (year/month/day; default)