Return to the Pokemon Go/No Go Task page
___________________________________________________________________________________________________________________	

									*Pokemon GoNogo Task*
___________________________________________________________________________________________________________________	

Script Author: Katja Borchert, Ph.D. (katjab@millisecond.com) for Millisecond Software, LLC
Date: 03-09-2021
last updated:  03-10-2021 by K. Borchert (katjab@millisecond.com) for Millisecond Software, LLC

Script Copyright © 03-10-2021 Millisecond Software

___________________________________________________________________________________________________________________
BACKGROUND INFO 	
___________________________________________________________________________________________________________________	

This script implements an Inquisit implementation of the 'Pokemon Go/NOGo' task, a go/nogo task for children, 
in which the number of go trials preceding a nogo trial is systematically varied.

The original e-prime script is published at:
http://fablab.yale.edu/page/assays-tools
Project downloaded: pokemon_gonogo.zip

The Inquisit implementation of this script is based on e-prime script 'Pokenogo.es'.

Reference:

Durston, S., et al (2002). An fMRI study of the effect of preceding context on inhibition.  Neuroimage, 16, 449-453.
Durston, S., et al (2002). A neural basis for development of inhibitory control.  Developmental Science, 5, 9-16.

Millisecond Software was given permission to include this task in the Millisecond Library
by Dr. BJ Casey.

___________________________________________________________________________________________________________________
TASK DESCRIPTION	
___________________________________________________________________________________________________________________	

Participants are asked to press the spacebar to catch any Pokemon figure (go trials) except 'Meowth' (nogo trial).

___________________________________________________________________________________________________________________	
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: 'pokemon_gonogo_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. 
										
values.run:							the run number 
values.runCount:					the run counter 

values.trialCategory:				g = go trial; ng = nogo trial
									number: number of go trials preceding the next nogo trial
									Example: 
									g3 = go trial #3 before the next nogo trial											
									ng3 = nogo trial with 3 preceding go trials

values.itemnumber:					the itemnumber of the currently presented pokemon										
values.stim:						the image file of the currently presented pokemon										
										
response:							the participant's response (scancode of response buttons)
									57 = spacebar
									0 = no response

correct:							accuracy of response: 1 = correct response; 0 = otherwise

latency: 							the response latency (in ms); measured from: onset of image
									no response = entire stimDuration + iti								
									

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

inquisit.build:						the Inquisit build/version run
computer.platform:					the platform the script was run on (win/mac/ios/android)
inquisit.build:						the version/build of Inquisit
script.startdate:					date script was run
script.starttime:					time script was started
script.subjectid:					assigned subject id number
script.groupid:						assigned group id number
script.sessionid:					assigned session id number
script.elapsedtime:					time it took to run script (in ms); measured from onset to offset of script
script.completed:					0 = script was not completed (prematurely aborted); 
									1 = script was completed (all conditions run)
									
									
/propCorrect_overall:				overall proportion correct (across runs and trialtypes)

/hitRate_overall:					the overall hitrate (across all go trials) 
/hitRT_overall:						the mean hit response time in ms (across all correct go trials)

/commissionRate_overall:			the overall commission rate (across all nogo trials)
/commissionRT_overall:				the mean commission response time in ms (across all incorrect nogo trials)

//separate by nogo trialCategory: ng1-ng5
/nogoTrials_ng1:					the number of ng1 trials across all runs (default setup: 20)
/commissions_ng1:					the number of commissions made in ng1 trials across all runs 
/commissionRate_ng1:				the ng1 commission rate across all runs
/commissionRT_ng1:					the mean response time for commission errors in ng1 trials across all runs								
																
							
* 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 
___________________________________________________________________________________________________________________	

5 Runs:
- Each run presents 14 nogo trials and 43 go trials (roughly a 1:3 ratio); total = 57 trials per run
- the trial sequence for each run is fixed (see section Editable Lists)
- each nogo trial is preceded by 1, 3, or 5 nogo trials
ng1: nogo trials that are preceded by 1 go trial => 20
ng3: nogo trials that are preceded by 3 go trials => 20
ng5: nogo trials that are preceded by 5 go trials => 20

Trial Sequence:
stimulus (for for 1000ms) Note: responseTimeout = 2000ms
-> iti (for 3000ms)

___________________________________________________________________________________________________________________
STIMULI
___________________________________________________________________________________________________________________
taken from original e-prime script 'Pokenogo.es'
http://fablab.yale.edu/page/assays-tools
(converted to png files)

___________________________________________________________________________________________________________________	
INSTRUCTIONS 
___________________________________________________________________________________________________________________	
provided by Millisecond Software - 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: