___________________________________________________________________________________________________________________ YOUTH RISK BEHAVIOR SURVEY (YRBS) - High School Version (National) ___________________________________________________________________________________________________________________ Script Author: Katja Borchert, Ph.D. (katjab@millisecond.com) for Millisecond Software, LLC Date: 08-29-2019 last updated: 11-01-2023 by K. Borchert (katjab@millisecond.com) for Millisecond Software, LLC Script Copyright © 11-01-2023 Millisecond Software ___________________________________________________________________________________________________________________ BACKGROUND INFO ___________________________________________________________________________________________________________________ This script implements an Inquisit computer version of the 2019 High School (National HS) Youth Risk Behavior Risk Survey (YRBS) as published by: Centers for Disease Control and Prevention. 2019 Youth Risk Behavior Survey. https://www.cdc.gov/healthyyouth/data/yrbs/questionnaires.htm; Accessed on 08/29/2019. ___________________________________________________________________________________________________________________ OVERVIEW ___________________________________________________________________________________________________________________ There are 99 questions covering health related areas such as drug use, alcohol use, sexual behavior, food behavior etc. ___________________________________________________________________________________________________________________ DURATION ___________________________________________________________________________________________________________________ the default set-up of the script takes appr. 15 minutes to complete ___________________________________________________________________________________________________________________ DATA OUTPUT DICTIONARY ___________________________________________________________________________________________________________________ The fields in the data files are: (1) Raw data file: 'y2019yrbs_national.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: depends on question no reversed scored questions 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: 'yrbs_national_2019_summary*.iqdat' (a separate file for each participant) inquisit.version: Inquisit version run computer.platform: the platform the script was run on (win/mac/ios/android) startDate: date script was run startTime: time script was started subjectId: assigned subject id number groupId: assigned group id number sessionId: assigned session id number elapsedTime: time it took to run script (in ms); measured from onset to offset of script completed: 0 = script was not completed (prematurely aborted); 1 = script was completed (all conditions run) ___________________________________________________________________________________________________________________ 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: /pageInstructions: the instructions that appear at the top of each surveyPage