Return to the Alcohol Stroop Task - Verbal page
___________________________________________________________________________________________________________________	

								*ALCOHOL STROOP TASK - with voice recording*
							Note: this script does not automatically score the response but
							saves a voicerecord that needs to be 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 an Alcohol themed Stroop task. 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 Alcohol Stroop takes advantage of this basic Stroop interference effect by comparing responses to
alcohol related words and neutral words.

The implemented procedure is based on:

Bauer, D. & Cox, W.M. (1998). Alcohol-relatedwords are distracting to both alcohol abusers and 
non-abusers in the Stroop colournaming task. Addiction, 93, 1539–42.

This script uses voice recordings. The accuracy of the responses needs to be manually scored
based on recorded files or use Tools -> Speech Recognition -> Analyze Recorded Responses.

___________________________________________________________________________________________________________________
TASK DESCRIPTION	
___________________________________________________________________________________________________________________	
Participant is presented words from 4 different categories (alcohol, neutral, positive, negative) in four different 
colors (blue, red, yellow, green) and is asked to say aloud the color of the words 
regardless of their meaning. At the end, participants are asked to rate how emotionally intense they find the words 
(optional).

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

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

(1) Raw data file: 'alcoholstroopwithvoicerecording_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.target:						the currently selected target word
values.color:						the currently selected color
response:							the participant's response (voice record; needs to be manually scored)
ACC:								the correctness of the response (needs to be coded manually)
latency: 							the response latency (in ms)


(2) Summary data file: 'alcoholstroopwithvoicerecording_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 
___________________________________________________________________________________________________________________	
4 categories (alcohol words, positive words, negative words, neutral words) tested within subjects

1. Practice Block: 24 trials (this script uses the words "one" to "ten" as practice stimuli)
2. 2 x Test Block: 160 trials (= 4 categories x 10 stimuli per category x 4 repetitions); 
	* order is randomly determined
	* colors are randomly sampled for each word (Constraint: all colors appear equally often for each category)
	Note: repeat words can repeat colors)
	* fixation cross is presented for 500ms (default) -> target words are presented for a maximum of 1500ms (=response window)
3. In between the two Testblocks: 2min Rest period (optional, go to Editable Parameters-> Editable Values)
4. Ratings (optional, go to Editable Parameters -> Editable Values)

___________________________________________________________________________________________________________________	
STIMULI
___________________________________________________________________________________________________________________	
* original stimuli by Bauer & Cox (1998), can be edited under section EDITABLE STIMULI

___________________________________________________________________________________________________________________	
INSTRUCTIONS 
___________________________________________________________________________________________________________________	
not original; can be easily altered 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:

/skiprating:								0 = likert ratings are run (default); 1 = likert ratings are skipped
/skiprest:									0 = rest block is run (default) ; 1 = rest block is skipped

Durations:
/maxtargetpresentationtime:					maximum time that target words are presented on screen (default: 1500ms)
/fixationcrosspresentationtime:				time that fixation cross is presented (default: 500ms)
/posttrialpause:							pause after each stroop trial (default: 0ms)
/restduration:								time to rest between stroop blocks (default: 120000ms)

the four colors used in this script:
/color1 = red
/color2 = green
/color3 = blue
/color4 = yellow