User Manual: Inquisit Food Go/No Go Task


___________________________________________________________________________________________________________________	

										FOOD GO-NOGO TASK
										(German Version)
___________________________________________________________________________________________________________________

Script Author: Katja Borchert, Ph.D. (katjab@millisecond.com) for Millisecond Software, LLC
Date: 02-21-2017
last updated:  09-30-2022 by K. Borchert (katjab@millisecond.com) for Millisecond Software, LLC

Script Copyright © 09-30-2022 Millisecond Software

Millisecond Software thanks Dr. John Gunstad for his help with this script!

Translation provided by K. Borchert for Millisecond Software
___________________________________________________________________________________________________________________
BACKGROUND INFO 	
___________________________________________________________________________________________________________________	
Go/Nogo Tasks are used as behavioral measures of inhibition and cognitive control. The Food Go/No Tasks leverages
this paradigm to investigate cognitive control in the context of food.

Teslovich, T. et al (2014). Probing behavioral responses to food: Development of a foodspecific
go/no-go task. Psychiatry Res, 30, 219(1): 166–170.

E-prime script available at: 
http://fablab.yale.edu/page/assays-tools

___________________________________________________________________________________________________________________
TASK DESCRIPTION	
___________________________________________________________________________________________________________________	
Go-Nogo task: general task is to press the spacebar whenever an stimuli of the Go category  (e.g. food images) 
is presented and refrain from responding whenever a stimuli of the NoGo category (e.g. toys) is presented.
In this script, participants work through 4 conditions:
(1) high-calorie food “go” with toy “no-go” 
(2) low-calorie food “go” with toy “no-go”
(3) toy “go” with high-calorie food “no-go”
(4) toy “go” with low-calorie food “no-go”
Each condition runs ~75% go trials (35) and ~25% (13) nogo trials. 

___________________________________________________________________________________________________________________	
DURATION 
___________________________________________________________________________________________________________________	
the default set-up of the script takes appr. 20 minutes to complete

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

(1) Raw data file: 'foodgonogo_german_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

blockcode, blocknum:		the name and number of the current block (built-in Inquisit variable)
trialcode, trialnum: 		the name and number of the currently recorded trial (built-in Inquisit variable)
								Note: trialnum is a built-in Inquisit variable; it counts all trials run; even those
								that do not store data to the data file such as feedback trials. Thus, trialnum 
								may not reflect the number of main trials run per block.
										
order:						the order in which the four test blocks were run
				
calorieType:				"high" vs. "low" vs. "ctrl"
goType:						"go" vs. "nogo"
ITI:						current intertrial interval in ms
									
stim:						stores the currently presented target picture

response:					the participant's response (scancode of response button)
								Spacebar: 57
								no response: 0
										
correct:					the correctness of the response (1 = correct; 0 = otherwise)
latency: 					the response latency (in ms); measured from onset of image until response is registered


(2) Summary data file: 'foodgonogo_german_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)

order:					the order in which the four test blocks were run

propCorrect:			overall proportion correct across all trials
meanRT:					mean correct reaction times across all GO trials
SD:						standard deviation of correct reaction times in GO trials
maxRT:					reaction time that is 3 standard deviations slower than the overall mean
minRT:					reaction time that is 3 standard deviations faster than the overall mean


omissionFOOD:				miss rate in food (across low and high calorie food) GO trials (should have responded to food but did not)

commissionFOOD:				false alarm rate in food (across low and high calorie food) NOGO trials (should NOT have responded to food but did)
							Note: => the higher the commission rate, the lower cognitive control in the face of food stimuli 
							(aka cannot refrain from responding)

meanRT_FOOD_orig:			mean hit reaction time (in ms) in food GO trials (no outliers removed)										
meanRT_FOOD_cleaned:		mean hit reaction time (in ms) in food GO trials (outliers removed*)

omissionHC:					miss rate in high calorie GO trials (should have responded to high calorie food but did not)

commissionHC:				false alarm rate in high calorie NOGO trials (should NOT have responded to high calorie food but did)
							Note: => the higher the commission rate, the lower cognitive control in the face of high calorie 
							food stimuli (aka cannot refrain from responding)
										
meanRT_HC_orig:				mean hit reaction time (in ms) in HC GO trials (no outliers removed)										
meanRT_HC_cleaned:			mean hit reaction time (in ms) in HC GO trials (outliers removed*)

						
omissionLC:					miss rate in low calorie GO trials (should have responded to low calorie food but did not)

commissionLC:				false alarm rate in low calorie NOGO trials (should NOT have responded to low calorie food butdid)
							Note: => the higher the commission rate, the lower cognitive control in the face of low calorie 
							food stimuli (aka cannot refrain from responding)
										
meanRT_LC_orig:				mean hit reaction time (in ms) in LC GO trials (no outliers removed)										
meanRT_LC_cleaned:			mean hit reaction time (in ms) in LC GO trials (outliers removed*)


omissionCTRL:				miss rate in CTRL GO trials (should have responded to CTRL stim but did not)
commissionCTRL:				false alarm rate in CTRL NOGO trials (should NOT have responded to CTRL stim but did)
meanRT_CTRL_orig:			mean hit reaction time (in ms) in CTRL GO trials (no outliers removed)										
meanRT_CTRL_cleaned:		mean hit reaction time (in ms) in CTRL GO trials (outliers removed*)

omission_CTRL_HC:			miss rate in CTRL_HC GO trials (should have responded to CTRL_HC stim but did not)
commission_CTRL_HC:			false alarm rate in CTRL_HC NOGO trials (should NOT have responded to CTRL_HC stim but did)
meanRT_CTRL_HC_orig:		mean hit reaction time (in ms) in CTRL_HC GO trials (no outliers removed)										
meanRT_CTRL_HC_cleaned:		mean hit reaction time (in ms) in CTRL_HC GO trials (outliers removed*)	

omission_CTRL_LC:			miss rate in CTRL_LC GO trials (should have responded to CTRL_LC stim but did not)
commission_CTRL_LC:			false alarm rate in CTRL_LC NOGO trials (should NOT have responded to CTRL_LC stim but did)
meanRT_CTRL_LC_orig:		mean hit reaction time (in ms) in CTRL_LC GO trials (no outliers removed)										
meanRT_CTRL_LC_cleaned:		mean hit reaction time (in ms) in CTRL_LC GO trials (outliers removed*)	

* separate data files: to change to one data file for all participants (on Inquisit Lab only), go to section
"DATA" and follow further instructions

___________________________________________________________________________________________________________________	
EXPERIMENTAL SET-UP 
___________________________________________________________________________________________________________________

(I) Practice: 
~3min practice session with a) Food (high and low calorie) Go / Toy Nogo and b) Food Nogo / Toys Go
Total practice trials: 22; trial/stimuli order fixed (see http://fablab.yale.edu/page/assays-tools)

(II) Test:
4 conditions tested: 
(1) high-calorie food “go” with toy “no-go” (block.highGO, 48 trials: 35 go trials, 13 nogo trials)
(2) low-calorie food “go” with toy “no-go”, (block.lowGO)
(3) toy “go” with high-calorie food “no-go”, (block.highNOGO)
(4) toy “go” with low-calorie food “no-go”, (block.lowNOGO)

tested within participants in a blocked format. The order of the 4 conditions were counterbalanced
by groupnumbers (4 orders, see section EXPERIMENT).
Each block runs 35 go trials and 13 nogo trials (= 4 x 48 test trials = 192 test trials total)
By default all blocks run trials/stimuli in a fixed order. Orders taken from:
http://fablab.yale.edu/page/assays-tools

To run the trials/stimuli in random order, go to section Editable Lists and follow further instructions.

Default Trial Timings:
Fixation Cross (ITI duration: either fixed or random*) -> Target Image (500ms) -> Fixation Cross until response or up to 2000ms (End of Trial)

* if parameters.runRandomITI is set to false, a fixed ITI is run. Default is: 2500ms (can be set under section Editable Parameters).
Random ITIs are controlled by list.intertrialIntervals under section Editable Lists.
**Each block starts with a trial that presents the fixation cross in red for 500ms 

___________________________________________________________________________________________________________________
STIMULI
___________________________________________________________________________________________________________________
Stimuli used provided by:
http://fablab.yale.edu/page/assays-tools

___________________________________________________________________________________________________________________	
INSTRUCTIONS 
___________________________________________________________________________________________________________________	
instructions modelled after instructions used by:
http://fablab.yale.edu/page/assays-tools

all instructions can be edited under 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: