Return to the Penn Emotion Recognition Tests (ER-40) page
									Penn Emotion Recognition Task (ER-40)

Script Author: Katja Borchert, Ph.D. ( for Millisecond Software, LLC
Date: 02-23-2018
last updated: 02-26-2018 by K.Borchert ( for Millisecond Software LLC

Script Copyright © 02-26-2018 Millisecond Software


This script implements the Penn Emotion Recognition Task (ER-40)


Kohler, C., Turner, T., Gur, R., & Gur, R. (2004). Recognition of Facial Emotions in Neuropsychiatric Disorders. 
CNS Spectrums, 9(4), 267-274. doi:10.1017/S1092852900009202


Description of ER-40:

Carter et al (2009). CNTRICS Final Task Selection: Social Cognitive and Affective Neuroscience–Based
MeasuresSchizophrenia Bulletin vol. 35 no. 1 pp. 153–162

"The ER-40 is a computerized measure designed in both-PowerLaboratoryandMacromediaFlashplatforms which
allows testing either on dedicated hardware or through the internet. Participants are instructed to examine a series of
faces and identify the expressed emotion from 5 possible choices. The task begins with a practice trial in which feedback
is provided. If the participant’s response is incorrect, she/he is informed of the correct answer and is directed
back to the practice trial until a correct response is made. All other stimuli are presented in randomized order, and
the average testing time is under 5 min." (Carter et al, 2009, p.156)

The default data stored in the data files are:

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

/completed:						0 = script was not completed; 1 = script was completed (all conditions run)
/gender:						1 = female; 2 = male
/emotion:						1 = happy; 2 = sad; 3 = anger; 4 = fear; 5 = neutral
/intensity:						0 = no intensity (neutral); 1 = low; 2 = hight									
stimulusitem:					the presented stimuli in order of trial presentation (here: the file name of the picture presented)
response:						the participant's response (the selected emotion)
correct:						accuracy of response: 1 = correct response; 0 = otherwise
latency: 						the response latency (in ms); measured from: onset of image
/countCorrect:					number of correctly selected emotions

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

/propCorrect;					proportion correct
/countCorrect:					number of correctly selected emotions
/meanRT:						mean reaction time (in ms) (across correct and incorrect selections)
/medianRT:						median reaction time (in ms) (across correct and incorrect selections)
/meanCorrRT:					mean correct reaction time (in ms)
/medianCorrRT:					median correct reaction time (in ms)

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


(1) Practice Trial
* the practice trial is repeated until the correct response is provided

(2) Test: 40 trials
- 2 gender x 5 emotions x 2 intensities x 2 examples each 
- order is randomized
- no time limit

see section Editable Stimuli

see 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:

/showSummaryFeedback:				true (1): participants are given the number of correctly selected emotions and their median reaction time
									false (0): no performance feedback is provided at the end
/picSize:							the proportional size (relative to canvas) of the images (default: 40%)
/ITI:								inter trial interval in ms (default: 0ms): blank screen after each trial

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