Return to the Food Stroop (Verbal) page
___________________________________________________________________________________________________________________	

							*Food Stroop Task -- Blocked Version* (Voice Recordings)
							
							Note: this script does not automatically score the response but
							saves a voicerecord that needs to analyzed separately for scoring
							purposes.
___________________________________________________________________________________________________________________	

last updated:  03-13-2020 by K. Borchert (katjab@millisecond.com) for Millisecond Software, LLC
Script Copyright © 03-13-2020 Millisecond Software

___________________________________________________________________________________________________________________
BACKGROUND INFO 	
___________________________________________________________________________________________________________________	
This script implements a blocked Food Stroop by Millisecond Software.
The classic Stroop paradigm demonstrates the interference of word meaning on naming the color in which the words 
are written as measured by reaction time/accuracy differences to color-meaning congruent and color-meaning 
incongruent combinations.  The Food Stroop takes advantage of this basic Stroop interference effect 
by comparing responses to food related words to color and neutral animal words.
___________________________________________________________________________________________________________________
TASK DESCRIPTION	
___________________________________________________________________________________________________________________	
Participants get words of 6 different conditions (e.g. unhealthy and healthy foods, animal names, and color words)
in 5 different colors and are asked to name the color of the word as fast as possible.
											  
___________________________________________________________________________________________________________________	
DURATION 
___________________________________________________________________________________________________________________	
the default set-up of the script takes appr. 8 minutes to complete
___________________________________________________________________________________________________________________	
DATA FILE INFORMATION 
___________________________________________________________________________________________________________________	
The default data stored in the data files are:

(1) Raw data file: 'foodstroop_withvoicerecording_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
script.sessionid:					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. 
										
values.stimword:					contains the current stim word
values.stimcolor:					contains a numeric representation of the current word's display color: 
									1=black, 2=blue, 3=green, 4=red, 5=yellow
										
values.condition: 					contains a numeric representation of the current condition: 
										1=congruent (color condition)
										2=incongruent (color condition) 
										3=HPF (high calorie food)
										4=NTF (low calorie food)
										5=HPFA (animal comps for the high calorie food category), 
										6=NTFA (animal comps for the low calorie food category)
										
response:							the participant's response (the voice record; needs to be manually scored)
latency: 							the response latency (in ms); measured from onset of word


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

computer.platform:					the platform the script was run on (win/mac/ios/android)
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)

___________________________________________________________________________________________________________________	
EXPERIMENTAL SET-UP 
___________________________________________________________________________________________________________________	

1 Practice Block: 5 trials with "GREEN", "RED", "CAT", "BANANA", "MILKSHAKE"

6 Test Blocks:
1) Congruent Color Words: presents 20 color words (red, blue, green, black, yellow) in the congruent color (4 repetitions of each color word with constraint that the same color cannot presented consecutively)
2) Incongruent Color Words: presents 20 color words (red, blue, green, black, yellow) in incongruent colors (4 repetitions of each color word; each time it is presented in a different incongruent color with constraint that the same color cannot presented consecutively)
3) unhealthy food choices: presents 20 unhealthy food choices in 5 colors (colors randomly selected with constraint that the same color cannot presented consecutively )
4) healthy food choices: presents 20 healthy food choices in 5 colors (colors randomly selected with constraint that the same color cannot presented consecutively )
5) animals (control for unhealthy food choices): presents 20 animals in 5 colors (colors randomly selected with constraint that the same color cannot presented consecutively)
6) animals (control for healthy food choices): presents 20 animals in 5 colors (colors randomly selected with constraint that the same color cannot presented consecutively)
* order of blocks is randomly selected

Trial Sequence:
Fixation Cross for 200ms -> Stim word until verbal response (recorded but not evaluated)

___________________________________________________________________________________________________________________	
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.