Return to the Iowa Gambling Task (Portuguese) page
						
										IOWA GAMBLING TASK - Brazilian Portuguese Version

SCRIPT INFO

last updated: 09-26-2017 by K.Borchert (katjab@millisecond.com) for Millisecond Software LLC
Script Copyright © 09-26-2017 Millisecond Software

Millisecond Software thanks Dr. Keitiline Viacava for sharing her Brazilian Portuguese translations!


BACKGROUND INFO

											*Purpose*
This sample script shows how to implement the Iowa Gambling Task as described in:

Bechara A., Damasio A. R., Damasio H., Anderson S. W. (1994). 
Insensitivity to future consequences following damage to human prefrontal cortex. Cognition, 50, 7-15 .


											  *Task*
Participant are presented 4 baralhos of cards and are asked to select a card from one of the 4 baralhos with their mouse. 
By turning over the cards, participants can win money but also lose money.
The four different baralhos can be categorized as advantageous (overall more wins than losses)
or disadvantageous (overall more losses than wins).


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

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

build:							Inquisit build
computer.platform:				the platform the script was run on
date, time, subject:			date and time script was run with the current subjectnumber 
values.cardselected:			shows the number of cards played
values.groupnumber:				the groupnumber (1-4) the subject was randomly assigned to	
response:						the participant's response
/responseCategory:				"advantageous" vs. "disadvantageous"
latency: 						the trial latency
values.gain:					stores the trial's gain depending on choice
values.loss:					stores the trial's loss depending on choice
values.currenttotal:			stores the current amount of money won		
/countAdvantage_total:			counts the total number of advantageous selections (baralho 3 & baralho 4)
/countDisAdvantage_total:		counts the total number of disadvantageous selections (baralho 1 & baralho 2)
/NET:							difference btw. total number of advantageous and disadvantageous selections 
								(positive NET -> overall more advantageous selections)
/countAdvantage1:				counts the number of advantageous selections (baralho 3 & baralho 4) during trial 1-20
/countDisAdvantage1:			counts the number of disadvantageous selections (baralho 1 & baralho 2) during trial 1-20 
/NET1:							difference btw. number of advantageous and disadvantageous selections during trial 1-20
/countAdvantage2:				counts the number of advantageous selections (baralho 3 & baralho 4) during trial 21-40
/countDisAdvantage2:			counts the number of disadvantageous selections (baralho 1 & baralho 2) during trial 21-40 
/NET2:							difference btw. number of advantageous and disadvantageous selections during trial 21-40								
/countAdvantage3:				counts the number of advantageous selections (baralho 3 & baralho 4) during trial 41-60
/countDisAdvantage3:			counts the number of disadvantageous selections (baralho 1 & baralho 2) during trial 41-60 
/NET3:							difference btw. number of advantageous and disadvantageous selections during trial 41-60								
/countAdvantage4:				counts the number of advantageous selections (baralho 3 & baralho 4) during trial 61-80
/countDisAdvantage4:			counts the number of disadvantageous selections (baralho 1 & baralho 2) during trial 61-80 
/NET4:							difference btw. number of advantageous and disadvantageous selections during trial 61-80								
/countAdvantage5:				counts the number of advantageous selections (baralho 3 & baralho 4) during trial 81-100 (and above if more trials than 100 are run)
/countDisAdvantage5:			counts the number of disadvantageous selections (baralho 1 & baralho 2) during trial  81-100 (and above if more trials than 100 are run)
/NET5:							difference btw. number of advantageous and disadvantageous selections during trial  81-100 (and above if more trials than 100 are run)								
								


(2) Summary data file: 'IowaGamblingTask_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)
values.groupnumber:				the groupnumber (1-4) the subject was randomly assigned to	
values.currenttotal:			stores the amount of money won	
/countAdvantage_total:			counts the total number of advantageous selections (baralho 3 & baralho 4)
/countDisAdvantage_total:		counts the total number of disadvantageous selections (baralho 1 & baralho 2)
/NET:							difference btw. total number of advantageous and disadvantageous selections 
								(positive NET -> overall more advantageous selections)
/countAdvantage1:				counts the number of advantageous selections (baralho 3 & baralho 4) during trials 1-20
/countDisAdvantage1:			counts the number of disadvantageous selections (baralho 1 & baralho 2) during trials 1-20 
/NET1:							difference btw. number of advantageous and disadvantageous selections during trials 1-20
/countAdvantage2:				counts the number of advantageous selections (baralho 3 & baralho 4) during trials 21-40
/countDisAdvantage2:			counts the number of disadvantageous selections (baralho 1 & baralho 2) during trials 21-40 
/NET2:							difference btw. number of advantageous and disadvantageous selections during trials 21-40								
/countAdvantage3:				counts the number of advantageous selections (baralho 3 & baralho 4) during trials 41-60
/countDisAdvantage3:			counts the number of disadvantageous selections (baralho 1 & baralho 2) during trials 41-60 
/NET3:							difference btw. number of advantageous and disadvantageous selections during trials 41-60								
/countAdvantage4:				counts the number of advantageous selections (baralho 3 & baralho 4) during trials 61-80
/countDisAdvantage4:			counts the number of disadvantageous selections (baralho 1 & baralho 2) during trials 61-80 
/NET4:							difference btw. number of advantageous and disadvantageous selections during trials 61-80								
/countAdvantage5:				counts the number of advantageous selections (baralho 3 & baralho 4) during trials 81-100 (and above if more trials than 100 are run)
/countDisAdvantage5:			counts the number of disadvantageous selections (baralho 1 & baralho 2) during trials  81-100 (and above if more trials than 100 are run)
/NET5:							difference btw. number of advantageous and disadvantageous selections during trials  81-100 (and above if more trials than 100 are run)								
								
								

EXPERIMENTAL SET-UP
	
* The game is set up to play 1 block of 100 trials
* The four baralhos are randomly assigned a (permanent) screen location (assignment by randomly assigned values.groupnumber). 
regardless of actual screen presentation:
baralho1/baralho2 = disadvantageous
baralho3/baralho4 = advantageous
* By default, in this script the win/loss probabilities assigned are aligned with the model of "once played, 
cards are NOT returned to the baralho" (therefore turning probabilities into actual frequencies over the course of 10 selections of each baralho;
see more info under section EXPRESSIONS)
* the script collects performance data in blocks of 20 trials

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:

/ startamount:							the amount of money owned at the start of the game; startamount (default) = 2000
/showcardinfo:							shows information about number of cards played/how many more to come

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