Version 5: mouse/touchscreen version Main Script to run: symboldigitsubstitution_test5_mi.iqjs ___________________________________________________________________________________________________________________ SYMBOL DIGIT SUBSTITUTION TASK - mouse/touch input - scrolling version- ___________________________________________________________________________________________________________________ Script Author: Katja Borchert, Ph.D. (katjab@millisecond.com) for Millisecond Software, LLC last updated: 11-05-2024 by K. Borchert (katjab@millisecond.com) for Millisecond Software, LLC Script Copyright © 11-05-2024 Millisecond Software ___________________________________________________________________________________________________________________ BACKGROUND INFO ___________________________________________________________________________________________________________________ This script is based on the computerized Inquisit version of the WISC Coding Task (PROCESSING SPEED TASK) developed byAmy Finn (Ph.D), John Gabrieli (Ph.D.) and Julia Leonard. Symbols provided by Millisecond Software. This script version asks participants to convert digits into symbols and uses mouse/touch input. This script task is developed for touchscreens but will adapt to mouse use on non-touchscreens. Note the script runs with proportional sizing by default. Researchers can select to run the task with an absolute screen size to ensure that distances stay the same across devices. See section Defaults for more info. ___________________________________________________________________________________________________________________ TASK DESCRIPTION ___________________________________________________________________________________________________________________ Participant are presented with a 2 (row) x 9 (columns) matrix. The first row contains a sequence of digits; the second row contains boxes to be filled with digit-matching symbols. The task is to translate digits into symbols with the help of a provided key within a 2 min time frame. Participants have to select symbols from blue buttons placed below the matrix - the symbols are arranged in a random order to avoid an obvious mapping between rank and symbol (e.g. the symbol corresponding to 1 should not be placed in the number 1 button slot etc.) The first 4 boxes of the second row contain previously entered symbols (from the previous 4 trials); the fifth box is highlighted in purple and awaits the current symbol selection. The remaining 4 boxes of the second row are empty (the matching digits for the next 4 trials can be seen). Once a participant selects the current symbol, the digits/symbol move to the left and a new digit box is added to the right. The result: The highlighted response box always stays in the center of the matrix and the next digit conveniently 'scrolls' in. ___________________________________________________________________________________________________________________ DURATION ___________________________________________________________________________________________________________________ the default set-up of the script takes appr. 3.5 minutes to complete ___________________________________________________________________________________________________________________ DATA OUTPUT DICTIONARY ___________________________________________________________________________________________________________________ The fields in the data files are: (1) Raw data file: 'symboldigitsubstitutiontask_scrolling_testx.iqdat' (a separate file for each participant) build: The specific Inquisit version used (the 'build') that was run computer.platform: the platform the script was run on (win/mac/ios/android) date, time: date and time script was run subject, group: with the current subject/groupnumber session: with the current session id playAreaHeightMM: the width of the play area in mm playAreaWidthMM: the height of the play area in mm blockCode, blockNum: the name and number of the current block (built-in Inquisit variable) trialCode, trialNum: the name and number of the currently recorded trial (built-in Inquisit variable) Note: trialNum is a built-in Inquisit variable; it counts all trials run; even those that do not store data to the data file. version: the version of the Inquisit Digit Symbol Substitution Task run box: stores the itemnumber of the currently LAST presented digit correctAnswer: the correct response for the currently ACTIVE digit response: pressed response button correct: 1 if given response is correct, 0 if given response is incorrect latency: time in milliseconds for the current response correctCount: total count of correct responses errorCount: total count of erroroneous responses (2) Summary data file: 'symboldigitsubstitutiontask_scrolling_testx.iqdat' (Inquisit Lab: a separate file per 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) playAreaHeightMM: the width of the play area in mm playAreaWidthMM: the height of the play area in mm version: the version of the Inquisit Digit Symbol Substitution Task run totalSeconds: maximum time in seconds allowed for the task correctCount: total count of correct responses errorCount: total count of erroroneous responses secondsperCorrect: average number of seconds per correct response ___________________________________________________________________________________________________________________ EXPERIMENTAL SET-UP ___________________________________________________________________________________________________________________ (A) PRACTICE: * 9 boxes with digits on tops and symbols (or space for symbols) on the bottom * the first 4 present symbols and digits, the last 5 digits need to be filled in by participant * the center box (box 5) that needs to be filled in next is highlighted in purple * participants select the matching symbol for box5 via blue response buttons * if the answer is correct, the answer is filled in the box, the digit/symbols move to the left and the next digit 'scrolls' above the purple response box. * if the answer is incorrect, a text stimulus (in red) appears that reminds participant to correct the answer. * once all practice boxes are filled in correctly, participants continue on to the test * after a final instruction screen comes up, participants press a button to start the test (B) TIMED TEST: * 9 boxes with digits on tops and symbols (or space for symbols) on the bottom * the first 4 present symbols and digits, the last 5 digits need to be filled in by participant * the empty response box (box 5) for the next digit is highlighted in purple * participants select the matching symbol for box5 via blue response buttons * there is no more performance feedback * participant cannot correct their answers nor jump ahead. * after two minutes the test ends. (C) SYMBOL SEQUENCE: the order of the symbols can be edited under section EDITABLE LISTS Follow instructions. ___________________________________________________________________________________________________________________ INSTRUCTIONS ___________________________________________________________________________________________________________________ All instruction stimuli are presented under section EDITABLE INSTRUCTIONS. ___________________________________________________________________________________________________________________ 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: //color parameter / canvasColor = black //Display color of the actively used portion of the screen (the 'canvas') //Note: if set to a color other than the screenColor, you can distinguish the active canvas //from the inactive portion of the screen / screenColor = black //Color of the screen not used by the canvas ('inactive screen') / defaultTextColor = white //Default color of text items //timing parameters / timeLimit = 120000 //default duration (120000ms =>2min) for the timed portion of the test in ms //clock: / showTimer = false //true = a timer appears in the top right during the test //false = no timer is presented