Return to the Delay Discounting Task (short term) - Spanish page
						
									Delayed Reward Task - Spanish Version
SCRIPT INFO

Script Author: David Nitz (nitz.david@gmail.com) for Millisecond Software, LLC.
last updated: 01-07-2016 by K.Borchert (katjab@millisecond.com) for Millisecond Software LLC

Copyright © 01-07-2016 Millisecond Software


BACKGROUND INFO

											*Purpose*
This script implements the procedure described in:
	
	Cherek, D. R., Moeller, F. G., Dougherty, D. M., & Rhoades, H.(1997). Studies of violent and 
	nonviolent male parolees: II. Laboratory and psychometric measurements of impulsivity. 
	Biological Psychiatry, 41, 523-529.

	Related references:
	
	Cherek, D. R., Moeller, F. G., Schnapp, W., & Dougherty, D. M. (1997). Studies of violent and 
	nonviolent male parolees: I. Laboratory and psychometric measurements of aggression.
	Biological Psychiatry, 41, 514-522.

	Moeller, F. G., Dougherty, D. M., Barratt, E. S., Oderinde, V., Mathias, C. W., Harper, R. A.,
	& Swann, A. C. (2002). Increased impulsivity in cocaine dependent subjects independent of 
	antisocial personality disorder and aggression. Drug and Alcohol Dependence, 68, 105-111.


											  *Task*
Participants get to choose between an A button (small with small, fixed delay) or a B button (big with large, variable delay).


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

(1) Raw data file: 'DelayedRewardTask_Cherek_et_al_Spanish_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) 
values.ntrials					Number of trials (separate counts for training and test sessions).
response						Participant’s response (choice trials: A or B)
latency							latency for the current trial (in ms)
parameters.adelay					Fixed delay in milliseconds for impulsive choices (option A). Default is 5000.
parameters.bdelay					Delay in milliseconds for controlled choices (option B) at the start of the session. Default is 15000. The delay is adjusted at runtime according to subjects' responses.
values.totalreward				Total amount of money rewarded (separate counts for training and test sessions).
values.impulsivechoices			Running total of impulsive choices (applies to test sessions only).
values.controlledchoices		Running total of controlled choices (applies to test sessions only).
expressions.pctimpulsive		Proportion impulsive choices in test session
expressions.pctcontrolled		Proportion controlled choices in test session

(2) Summary data file: 'DelayedRewardTask_Cherek_et_al_Spanish_summary*.iqdat' (a separate file for each participant)

script.subjectid				Subject number
script.groupid					group number
script.startdate				Date script was run
script.starttime				Time script was run
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; 1 = script was completed (all conditions run)	
values.totalreward				Total amount of money rewarded (separate counts for training and test sessions).
values.impulsivechoices			Running total of impulsive choices (applies to test sessions only).
values.controlledchoices		Running total of controlled choices (applies to test sessions only).
expressions.pctimpulsive		Proportion impulsive choices in test session
expressions.pctcontrolled		Proportion controlled choices in test session

EXPERIMENTAL SET-UP:

	During experimental sessions subjects were provided with two response options: 1) an
	impulsive response option (option A); and 2) a self-control response option (option B). 

Training Sessions:
	At the beginning of the first session, subjects participated in a training session that consisted of 20
	trials. During the first 10 trials the letter A was presented on the computer screen, and after
	a 5-sec delay the letter A began to flash off and on. A single press of button A removed the
	letter from the screen and added 5 cents to the counter (00.05). During the last 10 trials, the
	letter B appeared, and 15 sec later the letter began to flash off and on. A single press of
	button B removed the letter from the screen and added 15 cents to the counter (00.15). At
	the end of the 20 training trials, the screen displayed "Training Over." The purpose of the
	training sessions was to give subjects a brief exposure to the different monetary amounts and
	delays associated with the letters A and B.

Test Sessions:
	During these subsequent regular sessions, both the A and B letters appeared on the screen at
	the beginning of each trial. The subject selected a letter by pressing the corresponding button,
	either A or B. The selected letter remained on the screen, and the other letter disappeared.
	After a delay, the letter began to flash off and on, and single response on that button added a
	monetary value (either 5 or 15 cents) to the counter, and the letter disappeared. 
	The subsequent appearance of the two letters signaled the beginning of the next trial.
	The letter A selection resulted in a 5-cent reward after a fixed delay of 5 sec.
	The letter B selection resulted in a 15-cent reward after a delay that began each session at
	15 sec. The delay for option B varied during the session. Each time the subject selected option
	B, the next delay increased by 2 sec. Conversely, each time the subject selected option A, the
	next delay for option B decreased by 2 sec. The delay for option B was never less than 7 sec,
	and was thus always longer than the delay for option A, which was fixed at 5 sec. Since the
	sessions were stopped after 60 trials, the length of the sessions varied depending upon the
	choices of the subjects.
	 

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

	skiptraining:						Pseudo-boolean switch to (de-)activate the training block.
										1 = no training block; 0 = run training block.
	skiptest:							Pseudo-boolean switch to (de-)activate the test block.
										1 = no test block; 0 = run test block.
	adelay:								Fixed delay in milliseconds for impulsive choices (option A).
										Default is 5000.
	bdelay:								Delay in milliseconds for controlled choices (option B) at the start
										of the session. Default is 15000. The delay is adjusted at runtime
										according to subjects' responses.
	bdelaymin:							Minimum value for the controlled choice delay. This value is used 
										in the runtime adjustments and should be greater than the fixed
										impulsive choice delay ('parameters.adelay'). Default is 7000.
	badjust:							Amount in milliseconds by which the controlled choice delay is 
										adjusted. If subjects choose the 'controlled' option (B), the 
										controlled choice delay is increased by the value entered here.
										If subjects choose the 'impulsive' option (A), the controlled choice
										delay is decreased by the value entered here. Default is 2000.
	areward:							Fixed reward for impulsive choices. Default is 0.05.
	breward:							Fixed reward for controlled choices. Default is 0.15.


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