Return to the Emotional Stroop Task With Keyboard Responses page

last updated: 04-19-2016 by K.Borchert ( for Millisecond Software LLC
Copyright © 04-19-2016 Millisecond Software


This script implements an Aggression-Emotion Themed Stroop task as 
used by:

Smith, P. & Waterman, M. (2003). Processing bias for aggression words in forensic and
nonforensic samples. Cognition and Emotion, 17, 681-701.

This script uses keyboard input instead of voice recordings.

Participants are presented words from 5 different categories (aggression, neutral,
positive, negative, color word) in four different colors (blue, red, yellow, green)
and are asked to press one of four response keys to indicate the color of the words 
regardless of their meaning.

The default data stored in the data files are:

(1) Raw data file: 'EmotionalStroopWithKetboardInput_raw*.iqdat' (a separate file for each participant)

build:							Inquisit build
computer.platform:				the platform the script was run on
date, time, subject, group:		date and time script was run with the current subject/groupnumber 
blockcode, blocknum:			the name and number of the current block
trialcode, trialnum: 			the name and number of the currently recorded trial
									(Note: not all trials that are run might record data; by default data is collected unless /recorddata = false is set for a particular trial/block) 
stimulusitem:					the presented stimuli in order of trial presentation
response:						the participant's response
correct:						the correctness of the response (1 = correct; 0 = incorrect)
latency: 						the response latency (in ms)					the currently selected target word
values.color:					the currently selected color
response:						the participant's response (scancode of responsekey)
correct:						the correctness of the response
latency: 						the response latency (in ms)

(2) Summary data file: 'EmotionalStroopWithKetboardInput_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 (prematurely aborted); 1 = script was completed (all conditions run)
/meanRT_Pos :					mean latencies for correct responses for all 5 categories separately
/Bias_Pos:						Bias Scores: Difference between mean latency in cat Aggression, Color, Positive Words, Negative Words
								and Neutral Word condition
/percCorrect_Pos:				percent correct for all 5 categories

1. Practice Block: 10 trials (not original; this script uses the words "one" to "ten" as practice stimuli)
2. Test Block: 125 trials (= 5 categories x 25 trials); trials are randomly sampled
without replacement
	* error feedback given; to remove follow instructions under section TRIALS

* original stimuli by Smith & Waterman (2003) 
(due to a potential typo in the original article one word appeared
under two categories (Appendix2); we replaced it with a word that is similar in length and appearance
=> section Editable STIMULI-> Negative Words)

* each color appears 6 times in each category (the 7th pairing of word-color is random)
* color words "red", "yellow", "blue" and "green" are not used as targets
* 5 color words are repeats (see Smith & Waterman, 2003)

not original; can be easily altered under section Editable INSTRUCTIONS

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:

/fixationcrosspresentationtime:				time that fixation cross is presented
											(default: 500ms)
/keyred/redlabel:							scancode/label for the red response button (default: 32 -> d)
/keygreen/greenlabel:						scancode/label for the green response button (default: 33 -> f)
/keyblue/bluelabel:							scancode/label for the blue response button (default: 36 -> j)
/keyyellow/yellowlabel:						scancode/label for the yellow response button (default: 37 -> k)

Copyright © Millisecond Software. All rights reserved.
Contact | Terms of Service | Privacy Statement | Security Statement | GDPR
Website Security Test