Return to the Go/No-Go Task page
						
							Cued Go / No-Go Task (Fillmore et al., 2006)
SCRIPT INFO

last updated: 01-12-2016 by K.Borchert (katjab@millisecond.com) for Millisecond Software LLC
Copyright © 01-12-2016 Millisecond Software


BACKGROUND INFO

											*Purpose*
	This script implements the Cued Go / No-Go Task described in

	Fillmore, M. T., Rush, C. R., & Hays, L. (2006). Acute effects of cocaine in two models of inhibitory control: 
	implications of non-linear dose effects. Addiction, 101, 1323–1332.

											  *Task*
Participants are asked to press the Spacebar when they see a green rectangle (=go) but refrain from pressing the Spacebar
when they see a blue rectangle (=nogo). The blue and green rectangles can be vertical or horizontal. The 
vertical rectangle has a high probability of being green (a go trial) and the horizontal rectangle has a high probability of
being blue (a nogo trial). Participants get information about the orientation of the rectangle (=cue) shortly before 
the color of the rectangle is revealed.


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

(1) Raw data file: 'CuedGoNoGo_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 of experimental session with the current subjectnumber
blocknum/blockcode:				number of the current block and name of current block
/ trialcount:					current trialcount
trialcode:						name of current trial
/ cuetype:						1 = vertical cue; 2 = horizontal cue
/ targettype:					1 = vertical go
								2 = vertical nogo
								3 = horizonal go
								4 = horizonal nogo
/targetcondition:				1 = go target; 2 = nogo target
/ soa:							current stimulus onset asynchrony
/cuepic:						the image file presented as the cue
/targetpic:						the image file presented as the target	
response:						response made (either 57 = Spacebar or "" for no response)
latency:						the latency of the response (or if no response: trialduration)
correct:						the accuracy of response (1 = correct; 0 = error)
error:							1 = error; 0 = no error

(2) Summary data file: 'CuedGoNoGo_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; 1 = script was completed (all conditions run)
/errorrate:						overall error rate
/errorrate_gotarget:			error rate for target = go
/errorrate_Nogotarget:			error rate for target = no go
/error_verticalcue :			error rate for trials in which cue = vertical
/error_horizontalcue :			error rate for trials in which cue = horizontal
/omissionerror_v:				error rate for trials in which cue = vertical and target = go
/inhibitionerror_v:				error rate for trials in which cue = vertical and target = nogo
/omissionerror_h:				error rate for trials in which cue = horizontal and target = go
/inhibitionerror_h:				error rate for trials in which cue = horizontal and target = nogo
/meanRT:							overall mean rt (in ms) for target = go (correct responses only)
/meanRT_verticalcue_gotarget:		mean rt (in ms) for trial in which cue = vertical and target = go (correct responses only)
/meanRT_horizontalcue_gotarget:		mean rt (in ms) for trial in which cue = horizontal and target = go (correct responses only)


EXPERIMENTAL SET-UP

Factorial design with
	5 x SOA (100,200,300,400,500)
	2 x Cue (1=vertical,2=horizontal)
	2 x Target (Go, No-Go)

	Vertical cue go / no-go ratio is 4:1 (80% go trials, 20% no-go trials) => higher probability of go trials after vertical cue
	Horizontal cue go / no-go ratio is 1:4 (20% go trials, 80% no-go trials) => higher probability of nogo trials after horizontal cue

	Minimum number of trials required to fulfill the above conditions is 50.
	Task runs 250 trials, i.e., each factor combination is repeated 5 times.

	=> 100 vertical cue-go targets (20 for each SOA); 25 vertical cue-nogo targets (5 for each SOA)
	=> 100 horizontal cue-nogo targets (20 for each SOA); 25 horizontal cue-go targets (5 for each SOA)
	
STIMULI
see section Editable Stimuli

INSTRUCTIONS
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:

/ fixationduration:				duration of the fixation cross in ms (default: 800)
/ cue_delay:					interstimulus interval between offset of fixation and onset of cue in ms (default: 500ms)
/ responsetimeout:				responsetimeout in ms (default: 1000)
/ iti:							intertrial interval in ms (default: 700)

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