Return to the Modified Attentional Network Task page
						
						Modified ATTENTION NETWORK TEST (ANT) - Wang et al (2015)

SCRIPT INFO

Script Author: Katja Borchert, Ph.D. (katjab@millisecond.com) for Millisecond Software, LLC
Date:	06-13-2013
last updated:  08-15-2016 by K. Borchert (katjab@millisecond.com) for Millisecond Software, LLC

Script Copyright © 08-15-2016 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

											*Purpose*
This script implements a modified Attention Network Test (ANT) as described in:

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


											  *Task*
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.


DATA FILE INFORMATION: 
The default data stored in the data files are:

(1) Raw data file: 'ANT_Wang_raw*.iqdat' (a separate file for each participant)

build:									Inquisit build
computer.platform:						the platform the script was run on
date, time, subject:					date and time script was run with the current subjectnumber 
/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
/fixation1duration:						the duration (in ms) of the starting fixation cross in each trial
/prefatory:								1 = prefatory trial; 0 = not a prefatory 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 (1 = right; 2 = left)
text.flanker1.currentitem-
text.flanker4.currenitem:				stores the items used as flanker1-flanker4


Variables that contain x/y coordinates for cues, targets, flankers:
/target_x
/target_y
/flanker1_x
/flanker1_y
/cue_x
/cue_y

response:								the response of participant (scancode of response button: 18 = left; 23 = right)
correct:								correctness of response (1 = correct, 0 = error)
latency:								response latency (in ms)

(2) Summary data file: 'ANT_Wang_summary*.iqdat' (a separate file for each participant)

script.startdate:				date script was run
script.starttime:				time script was started
script.subjectid:				subject id number
script.groupid:					group id number
script.elapsedtime:				time it took to run script (in ms)
computer.platform:				the platform the script was run on
/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 values.prefatory = 0 
(=> the first 4 trials in each block with values.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:							standard deviation of overall correct response latencies (in ms)

/A_meanRT_CC:					mean latency (in ms) to center cue trials in A block
/A_meanRT_NC:					mean latency (in ms) to no cue trials in A block
/O_meanRT_ST:					mean latency (in ms) to spatial target trials in O block
/O_meanRT_CT:					mean latency (in ms) to center target trials in O block
/E_meanRT_ICO:					mean latency (in ms) to incongruent trials in E block
/E_meanRT_CO:					mean latency (in ms) to congruent trials in E block

/AO_meanRT_CC_CT:				mean latency (in ms) to center cues followed by center targets in AO block
/AO_meanRT_CC_ST:				mean latency (in ms) to center cues followed by spatial targets in AO block
/AO_meanRT_NC_CT:				mean latency (in ms) to no cues followed by center targets in AO block
/AO_meanRT_NC_ST:				mean latency (in ms) to no cues followed by spatial targets in AO block

/AE_meanRT_CC_CO:				mean latency (in ms) to center cues followed by congruent targets in AE block
/AE_meanRT_CC_ICO:				mean latency (in ms) to center cues followed by incongruent targets in AE block
/AE_meanRT_NC_CO:				mean latency (in ms) to no cues followed by congruent targets in AE block
/AE_meanRT_NC_ICO:				mean latency (in ms) to no cues followed by incongruent targets in AE block

/OE_meanRT_CT_CO:				mean latency (in ms) to congruent center targets in OE block
/OE_meanRT_CT_ICO:				mean latency (in ms) to incongruent center targets in OE block
/OE_meanRT_ST_CO:				mean latency (in ms) to congruent spatial targets in OE block
/OE_meanRT_ST_ICO:				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 = touchscreenInfo; => block will run only if script is run on touchscreens
	2 = generalInstructions; => present the general instructions
	3 = ANT_practice; => runs the practice IF parameters.runPractice = true
	4-9 = 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 ANT_practice:
- 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
A) Type of Stimuli: This script uses a simple red dot as the cue as opposed to a * (see Wang et al, 2015)

B) Size of Stimuli:
Fine-tune fontsize 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)
Instructions are presented via html-pages. Edit instructions in the corresponding html files directly.

EDITABLE CODE:
check under EDITABLE CODE 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:
/fontsize_fixation:						regulates the size of the fixation cross, in canvas height percentage (default:  3%)
/fontsize_cue:							regulates the size of the cues, in canvas height percentage (default: 5%)
/fontsize_target:						regulates the size of the target/flanker, in canvas height percentage (default: 5%)
/flankerdistance:						the relative screen distance between stimuli, in canvas width percentage (default: 5%)
/top_y:									the y-coordinate of the target above the fixation cross (default: 40%)
/bottom_y:								the y-coordinate of the target below the fixation cross (default: 60%)

Trial Durations:
expressions.values.fixation1_duration:  randomly selects durations (in ms) for the starting fixation cross between 400 and 1600ms
										NOTE: change under expressions.values.fixation1_duration
										
/cue_duration:							sets the duration (in ms) of the cue presentation (default: 100ms)
/fixation2_duration:					sets the duration (in ms) of the fixation cross after cue presentation (default: 300ms)
/target_duration:						sets the maximal duration (in ms) of the target/flanker presentation (default: 1700ms)
/fixation3_duration:					sets the max.duration (in ms) of the fixation cross presented after the target disappears (default: 2600ms)
											Note: the duration is adjusted during runtime 

Response Keys:
/responsekey_left:						scancode for the left response key (default: "E", 18)
/responsekey_right:						scancode for the right response key (default: "I", 23)

Copyright © Millisecond Software. All rights reserved.
Contact | Terms of Service | Security Statement | Employment