Script Author: Katja Borchert, Ph.D. (katjab@millisecond.com), Millisecond
Credits:
Millisecond thanks L. Raghani for helping with this script!
Created: January 11, 2015
Last Modified: January 19, 2025 by K. Borchert (katjab@millisecond.com), Millisecond
Script Copyright © Millisecond Software, LLC
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 et al (2013) and is using truck stimuli.
The original CRSD-ANT is available as a Javascript program at: https://crsd.lakeheadu.ca/crsd-ant/
The original CRSD-ANT is programmed by: Luke Docksteader - https://docksteaderluke.com Kris Scott - https://krssctt.com
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.
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.
10 minutes
Participants are presented 5 trucks either directly above or below a fixation cross. Participants have to decide whether the central truck looks right or left. Several cue conditions (4) (may) alert the participants that the trucks 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
in this script the effects are calculated using the same measures as in the original CRSD-ANT Javascript program
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.
• This script comes with the stimuli to run it with trucks
• 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 are based on the original instructions screen published at:
https://crsd.lakeheadu.ca/crsd-ant/
Instructions are provided by Millisecond 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).
see instructions in script 'crsd_ant_trucks_instructions_inc.iqjs'
File Name: crsd_ant_trucks_summary*.iqdat
| Name | Description |
|---|---|
| inquisit.version | Inquisit version number |
| computer.platform | Device platform: win | mac |ios | android |
| computer.touch | 0 = device has no touchscreen capabilities; 1 = device has touchscreen capabilities |
| computer.hasKeyboard | 0 = no external keyboard detected; 1 = external keyboard detected |
| startDate | Date the session was run |
| startTime | Time the session was run |
| subjectId | Participant ID |
| groupId | Group number |
| sessionId | Session number |
| elapsedTime | Session duration in ms |
| completed | 0 = Test was not completed 1 = Test was completed |
| minValidResponseLatency | Minimum response latency (in ms) that is considered valid and not anticipatory (default: 100ms) |
| trialCount | Counts the number of test trials run |
| 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 |
| nocueMed | Median correct RTs for no cue condition |
| centerMed | Median correct RTs for center cue condition |
| doubleMed | Median correct RTs for double cue condition |
| spatialMed | Median correct RTs forspatial cue condition |
| congruentMed | Median correct RTs for congruent trials |
| incongruentMed | Median correct RTs for incongruent trials |
| alertingEffectRTMed | Based on median values: nocue - doublecue |
| orientingEffectRTMed | Based on median values: centercue - spatialcue |
| conflictEffectRTMed | Based on median values: incongruent - congruent |
| 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 |
| nocueMea | Mean correct RTs for no cue condition |
| centerMea | Mean correct RTs for center cue condition |
| doubleMea | Mean correct RTs for double cue condition |
| spatialMea | Mean correct RTs forspatial cue condition |
| congruentMea | Mean correct RTs for congruent trials |
| incongruentMea | Mean correct RTs for incongruent trials |
| alertingEffectRTMea | Based on mean values: nocue - doublecue |
| orientingEffectRTMea | Based on mean values: centercue - spatialcue |
| conflictEffectRTMea | Based on mean values: incongruent - congruent |
| 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 |
| nocueAcc | Proportion correct responses for no cue condition |
| centerAcc | Proportion correct responses for center cue condition |
| doubleAcc | Proportion correct responses for double cue condition |
| spatialAcc | Proportion correct responses forspatial cue condition |
| congruentAcc | Proportion correct responses for congruent trials |
| incongruentAcc | Proportion correct responses for incongruent trials |
| alertingEffectAcc | Based on proportion corrects: nocue - doublecue |
| orientingEffectAcc | Based on proportion corrects: centercue - spatialcue |
| conflictEffectAcc | Based on proportion corrects: incongruent - congruent |
| 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 |
File Name: crsd_ant_trucks_raw*.iqdat
| Name | Description |
|---|---|
| build | Inquisit version number |
| computer.platform | Device platform: win | mac |ios | android |
| computer.touch | 0 = device has no touchscreen capabilities; 1 = device has touchscreen capabilities |
| computer.hasKeyboard | 0 = no external keyboard detected; 1 = external keyboard detected |
| date | Date the session was run |
| time | Time the session was run |
| subject | Participant ID |
| group | Group number |
| session | Session number |
| blockcount | Counts the number of experimental blocks run |
| blockCode | Name of the current block |
| trialCount | Counts the number of trials run (resets after practice) |
| trialCode | Name of the current trial |
| cuecCndition | The current cue condition (NoCue; CenterCue; DoubleCue; SpatialCue) |
| flankerCongruence | The current flanker condition (1 = congruent; 2 = 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 | The current picture presented as the left flanker |
| picture.flanker2.currentItem | The current picture presented as the center-left flanker |
| picture.target.currentItem | The current picture presented as the center target |
| picture.flanker3.currentItem | The current picture presented as the center-right flanker |
| picture.flanker4.currentItem | The current picture presented as the right flanker |
The procedure can be adjusted by setting the following parameters.
| Name | Description | Default |
|---|---|---|
Sizing Parameters |
||
| fontSizeFixation | Regulates the size of the fixation cross, in canvas height percentage | 5% |
| fontSizeCue | Regulates the size of the cues, in canvas height percentage | 5% |
| pictureSize | Regulates the size of the target/flanker, in canvas height percentage | 8% |
| flankerDistance | The relative screen distance between stimuli, in canvas width percentage | 8% |
| topY | The y-coordinate of the target above the fixation cross | 40% |
| bottomY | The y-coordinate of the target below the fixation cross | 60% |
Timing Parameters |
||
| cueDuration | Sets the duration (in ms) of the cue presentation | 100 |
| fixation2Duration | Sets the duration (in ms) of the fixation cross after cue presentation | 400 |
| targetDuration | Sets the maximal duration (in ms) of the target/flanker presentation equals the response window | 1500 |
| itiDuration | Sets the intertrial interval in ms | 3000 |
| practiceFeedbackDuration | Sets the duration (in ms) of the feedback trial during practice | 2000 |
| minValidResponseLatency | Minimum response latency (in ms) that is considered valid and not anticipatory | 100 |
Response Keys |
||
| responseKeyLeft | The left response key | "E" |
| responseKeyRight | The right response key | "I" |