Return to the Risky Gains Task page
						
								  	  RISKY GAINS TASK
SCRIPT INFO

Script Author: Katja Borchert, Ph.D. (katjab@millisecond.com) for Millisecond Software LLC
Date: 09-14-2012
last updated: 01-25-2016 by K.Borchert (katjab@millisecond.com) for Millisecond Software LLC

Copyright © 01-25-2016 Millisecond Software


BACKGROUND INFO

											*Purpose*
This script implements the Risky Gains Task described in 

Paulus M.P., Rogalsky, C., Simmons, A., Feinstein, J.S., & Stein, M.B. (2003). Increased activation in the right
insula during risk-taking decision making is related to harm avoidance and neuroticism.
NeuroImage, 19, 1439-1448.

											  *Task*
Accept (Press the Spacebar) or reject (wait) an increasing offer of 20, 40, 80 points.
If you choose the 20 points, you are guaranteed to get 20 points (trial ends).
If you wait for the 40 points offer, you may a) lose 40 points right away (trial ends) b) get the offer to 
get 40 points and take it (trial ends) or c) get the offer to get 40 points but reject it and wait for the 
80 point offer. Similarly, if you wait for the 80 point offer you a) may lose 80 points right away (trial ends) 
or b) win it right away (trial ends).
The goal of the game is to gain as many points as possible.
A new offer sequence is offered every 3.5s (default).


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

(1) Raw data file: 'RiskyGainsTask_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) 
/trialcount:					counts the trialsequences
/condition :					0 = no punish condition; 1 = punish80 condition; 2 = punish40 condition (helper variable)
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)
/win20:							keeps track of all the times participant chooses and wins 20, the completely safe choice		
/win40:							keeps track of all the times participant chooses and wins 40
/win80:							keeps track of all the times a participant goes all the way and wins
/riskychoices40:				keeps track of all times participant waits for 40
/riskychoices80:				keeps track of all times participant waits for 80
/lose40:						keeps track of all the times that a participant waits for an offering of 40 and loses 40 points
/lose80 :						keeps track of all the times a participant goes all the way and loses
/totalpoints:					keeps track of the winnings 

(2) Summary data file: 'RiskyGainsTask_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)
/totalpoints:					keeps track of the winnings 
/win20:							keeps track of all the times participant chooses and wins 20, the completely safe choice		
/win40:							keeps track of all the times participant chooses and wins 40
/win80:							keeps track of all the times a participant goes all the way and wins
/riskychoices40:				keeps track of all times participant waits for 40
/riskychoices80:				keeps track of all times participant waits for 80
/lose40:						keeps track of all the times that a participant waits for an offering of 40 and loses 40 points
/lose80 :						keeps track of all the times a participant goes all the way and loses
/meanrt_win20: 					calculates the mean reaction time (in ms) that it takes to choose 20
/meanrt_win40:  				calculates the mean reaction time (in ms) that it takes to choose 40 if 40 is offered



EXPERIMENTAL SET-UP
1 Practice Block: 12 practice trials
1 Experimental Block:
* 96 trials with ratio trial.nopunish : trial.punish40 : trial.punish80 = 9:4:3
(=> 54 trial.nopunish, 24 trial.punish40, 18 trial.punish80) (see Paulus et al, 2003)
* These counts ensure that participants always win the same amount of money if they
choose consistently one of the 3 options.
*random sampling (without replacement) of trial types

3 Trialtypes
trial.nopunish: no choice is punished
trial.punish40: choice 40 is punished => if you reject the 20 points, you will lose 40 points
trial.punish80: choice80 is punished => if you reject 20 and 40 points, you will lose 80 points

TrialDuration: 
Sequence:  offer 20 ->(offer 40)->win/lose feedback screen (20, 40, 80) -> blank screen

* a new sequence is presented every 3.5s (default, see Paulus et al, 2003)
(=> there is no time advantage for any choice)
* each offer lasts 1000ms (unless a positive response is given),
* win/lose feedback screens last 1000ms
* a blank screen is presented as long as necessary to complete the necessary 3.5s (minimum: 500ms)

Trialduration (default: 3500ms) as well as Stimuluspresentation times (default:1000) can be
easily edited under section Editable Parameters. 

Totalpoints:
The points that a participant earns are displayed at the bottom of the screen during
the trials (default). To turn off the total points display, change variable values.totalshow
under section Editable Parameters. 

STIMULI
The soundfiles used to provide auditory feedback are not original and can easily be exchanged for others under
section Editable Stimuli-> Audio Stimuli
	
INSTRUCTIONS
are not originals. They can easily be 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:

/stimulusduration:			an offer is presented for (default) 1s (1000ms); in ms
/trialduration :			every (default) 3.5 s (3500ms) a new offering sequence begins; in ms
/showtotal:					1 = the total points are displayed on the screen for the participants to see (default)
							0 = the total points are not displayed on the screen
/responsekey:				the scancode of the response key (default: 57 for Space Bar)
/keylabel:					the label of the response key

Copyright © Millisecond Software. All rights reserved.
Contact | Terms of Service | Security Statement | Employment