Script Author: Katja Borchert, Ph.D. (katjab@millisecond.com), Millisecond
Created: January 28, 2015
Last Modified: January 09, 2023 by K. Borchert (katjab@millisecond.com), Millisecond
Script Copyright © Millisecond Software, LLC
This script implements the Effort Expenditure for Rewards Task; a measure of reward motivation. The implemented procedure is based on:
Treadway MT, Buckholtz JW, Schwartzman AN, Lambert WE, Zald DH (2009) Worth the ‘EEfRT’? The Effort Expenditure for Rewards Task as an Objective Measure of Motivation and Anhedonia. PLoS ONE 4(8): e6598. doi:10.1371/journal.pone.0006598
23 minutes
Participants have to select between an Easy and a Hard task. Both tasks involve pressing the Spacebar for a predetermined amount of time. The Hard task offers more money (in this script: 8 variable amounts) but is harder and takes twice as long. Participants make their selection knowingly under 3 different win probabilities (aka they might not win money even if they are successful; particularly not if the win probabilities are low). By default, E selects the Easy task and I selects the Hard task (can be edited under section Editable Parameters).
(A) Test:
- 20 minutes total: the number of trials run per participant during that timeframe depends on
- how fast they make their selection
- the type of task they select
- how fast they complete the task
(Treadway et al, 2009, p.4, only use the first 50 trials per participant for their data analyses:
Mean trials completed = 54, SD =4.74, Range = 47–69 trials).
- 3 win probabilities: 88%, 50%, 12% (can be edited under section Editable List; the probabilities are 'true' probabilities and not frequencies)
- hard task reward amounts: $1.24-$4.30 (in this script: in steps of $0.43)
=> 8 levels (1.24,1.68,2.11,2.55,2.99,3.43,3.86,4.3; mean = 2.77)
- each level of probability (3) is paired with each level of hard task reward (8) twice within every 48 trials in this script
=> expected money for successfully completing hard task for (every) 48 trials: $2.77 * 48 * average(0.12, 0.5, 0.88) = $66.48
=> IF twice as many (successful) easy trials are run in the same time frame: = $1 * (2 * 48) * average(0.12, 0.5, 0.88) = $48
=> a maximum payoff can be set in this script (if it's reached, the task is terminated)
- the presentation of the different combinations of hard reward tasks x probabilities was randomized for 2 lists of 48 trials and is presented
in fixed order to each participant (see list.rewards_hard).
Trial Sequence:
Selection Screen (max. 5000ms)*->Ready Screen (1000ms)->Task Screen (max.7s or max.21s)->success/failure feedback screen (2000ms)->potentially win screen (2000ms)
•If no selection is made within 5000ms, the computer randomly selects a task for the participant
(B) Practice:
- 4 trials: The first 2 trials provide the choices (Easy->Hard; if something else is chosen, the choice is "corrected");
for the last 2 trials participants are free to choose either task.
Reward Amounts for the Hard Task (same as for test) are selected randomly from 4 options (without replacement);
Win probabilities (same as for test) are randomly selected (with replacement).
In this script, practice trial provide a reminder description of the tasks for the "Ready" screen (Ready screen is presented for 2000ms)
The instructions are not original to Treadway et al (2009). They are provided by Millisecond.
They can be edited under section Editable Instructions.
File Name: effortexpenditureforrewardtask_summary*.iqdat
| Name | Description |
|---|---|
| inquisit.version | Inquisit version number |
| computer.platform | Device platform: win | mac |ios | android |
| startDate | Date the session was run |
| startTime | Time the session was run |
| subjectId | Participant ID |
| groupId | Group number |
| sessionId | Session number |
| elapsedTime | Session duration in ms |
| completed | 0 = Test was not completed 1 = Test was completed |
| randomwin1 | Stores the first randomly selected win amount (in case this is used for an extra incentive) |
| randomwin2 | Stores the second randomly selected win amount (in case this is used for an extra incentive) |
| total | Stores the total of all rewards earned |
| countTestTrials | Counts the number of testtrials |
| countEasy | Counts the number of easy trials (includes forced easy trials) |
| countHard | Counts the number of hard trials (includes forced hard trials) |
| countSuccessEasy | Counts the number of successful easy trials |
| countSuccessHard | Counts the number of successful hard trials |
| countForced | Counts the number of times computer had to randomly select a level of difficulty for participant |
| meanRTSelection | Mean latency (in ms) of selection (excludes forced selections) |
| meanTaskDurationE | Mean successful taskduration (pressing button; in ms) of the easy task |
| meanTaskDurationH | Mean successful taskduration (pressing button; in ms) of the hard task |
| proportionNonforcedHardChoices | Overall proportion of non-forced choices of the difficult task |
| meanRTNonforcedHardChoices | Overall mean choice response time (in ms) for selecting difficult task (non-forced) |
| proportionNonforcedHardChoicesP1 | Proportion of non-forced choices of the difficult task for win probability p1 (12% chance) |
| meanRTNonforcedHardChoicesP1 | Overall mean choice response time (in ms) for selecting difficult task (non-forced) for win probability p1 (12% chance) |
| proportionNonforcedHardChoicesP2 | Proportion of non-forced choices of the difficult task for win probability p2 (50% chance) |
| meanRTNonforcedHardChoicesP2 | Overall mean choice response time (in ms) for selecting difficult task (non-forced) for win probability p2 (50% chance) |
| proportionNonforcedHardChoicesP3 | Proportion of non-forced choices of the difficult task for win probability p3 (88% chance) |
| meanRTNonforcedHardChoicesP3 | Overall mean choice response time (in ms) for selecting difficult task (non-forced) for win probability p3 (88% chance) |
File Name: effortexpenditureforrewardtask_raw*.iqdat
| Name | Description |
|---|---|
| build | Inquisit version number |
| computer.platform | Device platform: win | mac |ios | android |
| date | Date the session was run |
| time | Time the session was run |
| subject | Participant ID |
| group | Group number |
| session | Session number |
| blockCode | Name of the current block |
| blockNum | Number of the current block |
| trialCode | Name of the current trial |
| trialNum | Number of the current trial |
| practice | 0 = test; 1 = practice |
| countTestTrials | Counts the number of COMPLETED testtrials |
| rewardEasy | The potential reward assigned to the Easy task (default: "1.00") |
| rewardHard | The currently assigned reward amount for the hard task |
| winProbability | The currently assigned win probability |
| selectionResponse | The key scancode of the selection response |
| forced | 1 = the task difficulty was randomly assigned to participant (did not choose themselves) 0 = participant selected difficulty |
| selectedDifficulty | The task difficulty chosen/assigned: 0 = easy task; 1 = hard task |
| selectedTask | "easy" vs. "hard" |
| selectionrt | The latency of the selection in ms (excludes forced choices) |
| countPresses | Counts the button presses of the current trial |
| finalTaskDuration | The duration (in ms) spent on the task (pressing buttons) |
| success | 1 = task was successfully completed; 0 = task was not completed |
| win | 1 = the successful completion is rewarded; 0 = the successful completion is not rewarded |
| currentReward | The currently assigned (potential) reward amount for the task chosen |
| total | Stores the total of all rewards earned |
The procedure can be adjusted by setting the following parameters.
| Name | Description | Default |
|---|---|---|
| responseKeyEasy | The response key for the Easy selection | "E" => left response key |
| responseKeyHard | The response key for the Hard selection | "I" => right response key |
| rewardEasy | The potential reward assigned to the Easy task | "1.00" |
| completeTaskDuration | The duration of the completed task in ms -> 20min | 1200000 |
| selectionWindow | The max. response window to make the task selection in ms | 5000 |
| readyDuration | The duration of the Ready screen in ms | 1000 |
| easyDuration | The max. duration of the Easy task in ms | 7000 |
| hardDuration | The max. duration of the Hard task in ms | 21000 |
| successFeedbackDuration | The duration of the feedback screen regarding success/failure in ms | 2000 |
| winFeedbackDuration | The duration of the feedback screen regarding the reward money won in ms | 2000 |
| easyPresses | Number of button presses for the Easy task | 30 |
| hardPresses | Number of button presses for the Hard task | 100 |
| maxPayOff | Default: ""; no maximum payoff is set If set to a number, then the script terminates when that number is reached |