__________________________________________________________________________________________________________________ 'CENTRE FOR RESEARCH ON SAFE DRIVING' ATTENTION NETWORK TASK (CRSD-ANT) - Script runs with arrow stimuli- ___________________________________________________________________________________________________________________ Script Author: Katja Borchert, Ph.D. (katjab@millisecond.com) for Millisecond Software, LLC Date: 05-11-2015 last updated: 03-29-2023 by K. Borchert (katjab@millisecond.com) for Millisecond Software, LLC Script Copyright © 03-29-2023 Millisecond Software Millisecond Software thanks L. Raghani for helping with this script! ___________________________________________________________________________________________________________________ BACKGROUND INFO ___________________________________________________________________________________________________________________ This script implements the 'Centre for Research on Safe Driving' shortened Attention Network Task (CRSD-ANT), a behavioral measure of alerting, orienting and executive attention. Compared to the original ANT (Fan et al, 2002), the CRSD-ANT can be run within 10 minutes. The implemented procedure is based on: Weaver, B.,Bédarda, M., and McAuliffe, J. (2013). Evaluation of a 10-minute Version of the Attention Network Test. The Clinical Neuropsychologist, Vol. 27, No. 8, 1281–1299. The original CRSD-ANT is available as a Javascript program at: http://crsd.lakeheadu.ca/crsd-ant/ The original CRSD-ANT is programmed by: Luke Docksteader - http://docksteaderluke.com Kris Scott - http://krssctt.com original ANT: Fan, J., McCandliss, B. D., Sommer, T., Raz, A., & Posner, M. I. (2002). Testing the efficiency and independence of attentional networks. Journal of Cognitive Neuroscience, 14, 340–347. ___________________________________________________________________________________________________________________ TASK DESCRIPTION ___________________________________________________________________________________________________________________ Participants are presented 5 arrows either directly above or below a fixation cross. Participants have to decide whether the central arrow looks right or left. Several cue conditions (4) (may) alert the participants that the arrows are about to come on screen and potentially where on the screen (above or below fixation). Differences in mean reaction times in the different cue/flanker conditions are used to calculate the following three attentional network effects: * Alert Effect: Effect of achieving and maintaining alertness * Orienting Effect: Effect of orienting attention towards a specific location of information * Conflict Effect: Effect of resolving conflict between several possible responses Notes: in this script the effects are calculated using the same measures as in the original CRSD-ANT Javascript program ___________________________________________________________________________________________________________________ DURATION ___________________________________________________________________________________________________________________ the default set-up of the script takes appr. 10 minutes to complete ___________________________________________________________________________________________________________________ DATA OUTPUT DICTIONAIRY ___________________________________________________________________________________________________________________ The fields in the data files are: (1) Raw data file: 'crsd_ant_arrows_raw*.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 blockcount: counts the number of experimental blocks run blockCode: the name and number of the current block trialCount: counts the number of trials run (resets after practice) trialCode: the name and number of the currently recorded trial cuecCndition: the current cue condition (1 = no cue; 2 = center cue; 3 = double cue; 4 = spatial cue) flankerCongruence: the current flanker condition (1 = neutral; 2 = congruent; 3 = incongruent) targetPosition: position of target relative to fixation (1 = above fixation; 2 = below fixation) targetDirection: the direction of the target (1 = right; 2 = left) response: the response of participant (scancode of response button: 18 = left E; 23 = right I; 57 = spacebar) correct: correctness of response regardless of latency validity (1 = correct, 0 = error) validCorrect: correctness of response with valid latency (1 = correct AND valid RT, 0 = otherwise) latency: response latency (in ms); measured from onset of target until response is made or trial times out minValidResponseLatency: minimum response latency (in ms) that is considered valid and not anticipatory (default: 100ms) picture.flanker1.currentItem/ picture.flanker4.currentItem: stores the images presented for targets and flankers (2) Summary data file: 'crsd_ant_arrows_summary*.iqdat' (a separate file for each participant) Note: summary statistics for latencies are based on correct responses with a latency >= parameters.minValidResponseLatency (default: 100ms) 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) minValidResponseLatency: minimum response latency (in ms) that is considered valid and not anticipatory (default: 100ms) trialCount: counts the number of test trials run Note: (1) all Accuracy measures: based on valid responses (correct = correct AND valid; error = anything else) (2) all Latency measures: based on correct and valid responses; valid responses are responses with latencies >= values.min_responselatency (default: 100ms) overallPercenterror: overall %error rate for test trials medianRT: overall median RT for test trials meanRT: overall mean RT for test trials stdRT: overall standard deviation of latencies for test trials minRT: minimum RT in test trials maxRT: maximum RT in test trials nocue: mean of the congruent and incongruent RT medians for no cue condition => mean(medianrt cNC, medianrt icNC) center: mean of the congruent and incongruent RT medians for center cue condition double: mean of the congruent and incongruent RT medians for double cue condition spatial: mean of the congruent and incongruent RT medians for spatial cue condition congruent: mean of the congruent RT medians across cue condition incongruent: mean of the incongruent RT medians across cue condition AlertingEffect = nocue - doublecue (see original CRSD-ANT) OrientingEffect = centercue - spatialcue (see original CRSD-ANT) ConflictEffect = incongruent - congruent (see original CRSD-ANT) (see original CRSD-ANT) medianRTNCN: median RT for congruent, no cue condition medianRTNCIC: median RT for incongruent, no cue condition medianRTNCN: median RT for congruent, center cue condition medianRTNCIC: median RT for incongruent, center cue condition medianRTDCN: median RT for congruent, double cue condition medianRTDCIC: median RT for incongruent, double cue condition medianRTSCN: median RT for congruent, spatial cue condition medianRTSCIC: median RT for incongruent, spatial cue condition meanRTCNC: mean RT for congruent, no cue condition meanRTIcNC: mean RT for incongruent, no cue condition meanRTCCC: mean RT for congruent, center cue condition meanRTIcCC: mean RT for incongruent, center cue condition meanRTCDC: mean RT for congruent, double cue condition meanRTIcDC: mean RT for incongruent, double cue condition meanRTCSC: mean RT for congruent, spatial cue condition meanRTIcSC: mean RT for incongruent, spatial cue condition percErrorNC: percent error in no cue condition percErrorNC: percent error in center cue condition percErrorDC: percent error in double cue condition percErrorSC: percent error in spatial cue condition percErrorNCN: percent error in congruent, no cue condition percErrorNCIC: percent error in incongruent, no cue condition percErrorNCN: percent error in congruent, center cue condition percErrorNCIC: percent error in incongruent, center cue condition percErrorDCN: percent error in congruent, double cue condition percErrorDCIC: percent error in incongruent, double cue condition percErrorSCN: percent error in congruent, spatial cue condition percErrorSCIC: percent error in incongruent, spatial cue condition ___________________________________________________________________________________________________________________ EXPERIMENTAL SET-UP ___________________________________________________________________________________________________________________ 4 cue conditions (no cue, center cue, double cue, spatial cue) x 2 flanker conditions (congruent, incongruent) within-subjects design A) 1 Block of 32 Practice trial sequences with feedback, B) 2 Blocks of 64 trial sequences each - order randomly determined EXPERIMENTAL BLOCKS: 64 trial sequences: 2 (repetitions) x 4 (cue conditions: no cue/center cue/double cue/spatial cue) x 2 (flanker conditions: congruent vs. incongruent) x 2 (target positions: above or below) x 2 (target directions: right or left) TRIAL SEQUENCES (one sequence for each cue condition) fixation (randomly* chosen presentation time: 400ms-1200ms) -> cue (100ms) -> fixation (400ms) -> target (1500ms)-> intertrialinterval (3000ms) *random: by default, random selection with replacement. To change to to section EDITABLE LISTS. ___________________________________________________________________________________________________________________ STIMULI ___________________________________________________________________________________________________________________ Notes: * This script comes with the stimuli to run it with arrows * This script uses a simple black dot as the cue as opposed to a * * the userinterface (e.g. size of targets, position of targets, flanker distance) can be fine-tuned under EDITABLE values By default, they are proportional to the specified canvas of the screen (4:3 canvas; see section DEFAULTS). Disclaimer: depending on the size of the monitors the script is run on, stimuli will have different physical sizes. ___________________________________________________________________________________________________________________ INSTRUCTIONS ___________________________________________________________________________________________________________________ Instructions are based on the original instructions screen published at: http://crsd.lakeheadu.ca/crsd-ant/ Instructions are provided by Millisecond Software as htm/html pages and can be edited by changing the provided htm/html files. To edit htm/html-files: open the respective documents in simple Text Editors such as TextEdit (Mac) or Notepad (Windows). ___________________________________________________________________________________________________________________ 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 chan Stimuli Dimension/Placement: /fontSizeFixation: regulates the size of the fixation cross, in canvas height percentage (default: 5%) /fontSizeCue: regulates the size of the cues, in canvas height percentage (default: 5%) /pictureSize: regulates the size of the target/flanker, in canvas height percentage (default: 8%) /flankerDistance: the relative screen distance between stimuli, in canvas width percentage (default: 8%) /topY: the y-coordinate of the target above the fixation cross (default: 40%) /bottomY: the y-coordinate of the target below the fixation cross (default: 60%) Trial Durations: /cueDuration: sets the duration of the cue presentation (default: 100ms) /fixation2Duration: sets the duration of the fixation cross after cue presentation (default: 400ms) /targetDuration: sets the maximal duration of the target/flanker presentation (default: 1500ms); equals the response window /itiDuration: sets the intertrial interval (default: 3000ms) /practiceFeedbackDuration: sets the duration of the feedback trial during practice (default: 750ms) /mInvalidResponseLatency: minimum response latency (in ms) that is considered valid and not anticipatory (default: 100ms) Response Keys: /responseKeyLeft: the left response key (default: "E") /responseKeyRight: the right response key (default: "I")