___________________________________________________________________________________________________________________ Modified ATTENTION NETWORK TEST (ANT) - Wang et al (2015) ___________________________________________________________________________________________________________________ Script Author: Katja Borchert, Ph.D. (katjab@millisecond.com) for Millisecond Software, LLC Date: 06-13-2013 last updated: 07-16-2024 by K. Borchert (katjab@millisecond.com) for Millisecond Software, LLC Script Copyright © 07-16-2024 Millisecond Software Millisecond Software thanks Dr. Richard Canfield for collaborating on this script and Dr. Yi-Feng Wang et al for providing their original e-prime script! ___________________________________________________________________________________________________________________ BACKGROUND INFO ___________________________________________________________________________________________________________________ This script implements a modified version of the Attention Network Test (ANT), a behavioral measure of alerting, orienting and executive attention. The modified ANT procedure builds on the original ANT procedure by Fan et al (2002) and allows for detailed computing of the relationships amongst the three attention networks. The implemented procedure is based on: Yi-Feng Wang, Xiu-Juan Jing, Feng Liu, Mei-Ling Li, Zhi-Liang Long, Jin H. Yan & Hua-Fu Chen (2015). Reliable Attention Network Scores and Mutually Inhibited Internetwork Relationships Revealed by Mixed Design and Non-orthogonal Method. www.nature.com/scientificreports: Scientific Reports | 5:10251 | DOI: 10.1038/srep10251 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 on, above or below a screen-centered fixation cross. Participants have to decide whether the center arrow points right or left. A cue '*' might alert participants that the targets/flankers are about to come on screen. ___________________________________________________________________________________________________________________ DURATION ___________________________________________________________________________________________________________________ the default set-up of the script takes appr. 35 minutes to complete ___________________________________________________________________________________________________________________ DATA OUTPUT DICTIONARY ___________________________________________________________________________________________________________________ The fields in the data files are: (1) Raw data file: 'ant_wang_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 prefatory: 1 = prefatory trial (not counted towards summary data); 0 = not a prefatory trial fixation1Duration: the duration (in ms) of the starting fixation cross in each trial cueCondition: sets the current cue condition (1 = no cue; 2 = center cue) congruence: 1 = congruent target; 2 = incongruent target (flanker and target point in opposite directions) targetPosition: sets position of target (0 = center position; 1 = above fixation; 2 = below fixation) targetDirection: sets the direction of the target (0 = right; 1 = left) picture.flanker1.currentItem/ picture.flanker4.currentItem: store the arrow images used as flanker1-flanker4 as well as the target Variables that contain y coordinates (vertical coordinates) for cues, targets, flankers: Note: coordinates are provided proportional to the canvas (Top = 0% - Bottom = 100%) targetY: flanker1Y: cueY: response: the response of participant (scancode of response button: 30 = left A; 38 = right L; 57 = spacebar) correct: correctness of response (1 = correct, 0 = error) latency: response latency (in ms); measured from onset of target until response is made or trial times out (2) Summary data file: 'ant_wang_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) General Notes: * Summary Variables are based on test trials with 'prefatory = 0' (=> the first 4 trials in each block with 'prefatory = 1' are excluded) * mean latencies are based on latencies of correct responses only propCorrect: overall proportion correct meanRT: overall mean correct response latency (in ms) sd: overall standard deviation of correct response latencies (in ms) aMeanRTNC: mean latency (in ms) to center cue trials in A block aMeanRTNC: mean latency (in ms) to no cue trials in A block oMeanRTNT: mean latency (in ms) to center target trials in O block oMeanRTST: mean latency (in ms) to spatial target trials in O block eMeanRTNO: mean latency (in ms) to congruent trials in E block eMeanRTICO: mean latency (in ms) to incongruent trials in E block aoMeanRTNCNT: mean latency (in ms) to center cues followed by center targets in AO block aoMeanRTNCST: mean latency (in ms) to center cues followed by spatial targets in AO block aoMeanRTNCNT: mean latency (in ms) to no cues followed by center targets in AO block aoMeanRTNCST: mean latency (in ms) to no cues followed by spatial targets in AO block aeMeanRTNCNO: mean latency (in ms) to center cues followed by congruent flanker/targets in AE block aeMeanRTNCICO: mean latency (in ms) to center cues followed by incongruent flanker/targets in AE block aeMeanRTNCNO: mean latency (in ms) to no cues followed by congruent flanker/targets in AE block aeMeanRTNCICO: mean latency (in ms) to no cues followed by incongruent flanker/targets in AE block oeMeanRTNTNO: mean latency (in ms) to congruent center targets in OE block oeMeanRTNTICO: mean latency (in ms) to incongruent center targets in OE block oeMeanRTSTNO: mean latency (in ms) to congruent spatial targets in OE block oeMeanRTSTICO: mean latency (in ms) to incongruent spatial targets in OE block Network Effects: a: Alerting Effect o: Orienting Effect e: Executive Control Effect ao: influence of alerting on orienting oa: influence of orienting on alerting ae: influence of alerting on excutive control ea: influence of executive control on alerting oe: influence of orienting on executive control eo: influence of executive control on orienting Note: In these equations, a negative effect denoted beneficial in RT, whereas a positive effect represented cost in RT. (see Wang et al, 2015, p.9) ___________________________________________________________________________________________________________________ EXPERIMENTAL SET-UP ___________________________________________________________________________________________________________________ Block Sequence: 1 = generalInstructions; => present the general instructions 2 = antPractice; => runs the practice IF parameters.runPractice = true 3-8 = noreplace(A, O, E, AE, AO, OE); => run the 6 experimental blocks in randomized order Note: select the blocks that you would like to run under Editable Parameters 1. optional antPractice: - run 20 trials (selection taken from Wang et al's e-prime script) - order is randomized 2. A-Block: -> manipulates cueCondition (no cue vs. center cue) with fixed center position and congruent targets - run 4 prefatory - run 48 trials (randomized trial order) = 2 cueConditions x 2 target directions (points left vs. right) x 12 repetitions 3. O-Block: -> manipulates targetPosition (center target vs. spatial target) with fixed cue condition (no cue) and congruent targets - run 4 prefatory - run 48 trials (randomized trial order) = 2 targetPositions (center vs. not center (split into top/bottom)) x 2 target directions x 12 repetitions 4. E-Block: -> manipulates congruence (congruent targets vs. incongruent targets) with fixed cue condition (no cue) and fixed center position - run 4 prefatory - run 48 trials (randomized trial order) = 2 target congruence x 2 target directions x 12 repetitions 5. AO-Block: -> manipulates cueCondition and spatial condition (keep congruence fixed: only congruent targets) - run 4 prefatory - run 96 trials (randomized trial order) = 2 cueCondition x 2 spatial condition (center vs. not center (split into top/bottom)) x 2 target directions x 12 repetitions 6. AE-Block: -> manipulates cueCondition and target congruence (keep spatial position of target fixed: only center targets) - run 4 prefatory - run 96 trials (randomized trial order) = 2 cueCondition x 2 congruence x 2 target directions x 12 repetitions 7. OE-Block: -> manipulates spatial position and congruence (keep cue condition fixed: only no cue trials) - run 4 prefatory - run 96 trials (randomized trial order) = 2 congruence x 2 spatial condition (center vs. not center (split into top/bottom)) x 2 target directions x 12 repetitions Trial Sequence: Fixation Cross (400-1600ms)->Cue (100ms)-> Fixation(300ms)->targets/flankers (max: 1700ms)->iti (2600-target response latency) ___________________________________________________________________________________________________________________ STIMULI ___________________________________________________________________________________________________________________ Size of Stimuli: Fine-tune size of stimuli, distance of flanker to target, and position of target above and below fixation cross under section EDITABLE PARAMETERS ___________________________________________________________________________________________________________________ INSTRUCTIONS ___________________________________________________________________________________________________________________ Note: Instructions are modelled after the instructions generously made available by Wang et al's original e-prime version (slightly edited) See 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: Experimental Set-up: / runPractice: 1 (true) = the practice session is run (default) 0 (false) = no practice session is run / runA: 1 (true) = block A is run (default) 0 (false) = no block A is run / runE: 1 (true) = block E is run (default) 0 (false) = no block E is run / runO: 1 (true) = block O is run (default) 0 (false) = no block O is run / runAO: 1 (true) = block AO is run (default) 0 (false) = no block AO is run / runAE: 1 (true) = block AE is run (default) 0 (false) = no block AE is run / runOE: 1 (true) = block OE is run (default) 0 (false) = no block OE is run Stimuli Dimension/Placement: / fontSizeFixation: regulates the size of the fixation cross, in canvas height percentage (default: 5%) / cueSize: regulates the size of the cues, in canvas height percentage (default: 5%) / arrowSize: regulates the size of the target/flanker, in canvas height percentage (default: 6%) / flankerDistance: the relative screen distance between stimuli, in canvas width percentage (default: 7%) / 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%) // Timing Parameters (in ms) / cueDuration: sets the duration (in ms) of the cue presentation (default: 100ms) / fixation2Duration: sets the duration (in ms) of the fixation cross after cue presentation (default: 300ms) / targetDuration: sets the maximal duration (in ms) of the target/flanker presentation (default: 1700ms) / fixation3Duration: sets the max.duration (in ms) of the fixation cross presented after the target disappears (default: 2600ms) Note: the duration is adjusted during runtime / practiceFeedbackDuration: the duration (in ms) of the feedback stimuli presented for practice trials Response Keys: / responseKeyLeft: scancode for the left response key (default: "A") / responseKeyRight: scancode for the right response key (default: "L")