script based on Millisecond's IowaGamblingTask.iqjs
helper script for childIGT.iqjs
Last Modified: January 30, 2024 by K. Borchert (katjab@millisecond.com), Millisecond
Script Copyright © Millisecond Software, LLC
This sample implements a child friendly Iowa Gambling Task. The task assesses risk learning by utilizing rewards and punishment in an uncertain simulated real-life decision making context.
The implemented procedure is based on:
Garon, N., C. Moore, and D.A.Waschbusch, Decision making in children with ADHD only,ADHD-anxious/depressed, and control children using a child version of the IowaGambling Task. J AttenDisord, 2006. 9(4): p. 607-19.
This script runs with panda bears and snow leopards instead of bears and tigers (Garon et al, 2006)
Garon, N., C. Moore, and D.A.Waschbusch, Decision making in children with ADHD only,ADHD-anxious/depressed, and control children using a child version of the IowaGambling Task. J AttenDisord, 2006. 9(4): p. 607-19.
5 minutes
Participants are asked to select cards from one of 4 decks with their mouse. The cards are "turned over" and reveal at least 1-2 panda bears and occasionally snow leopard(s). The panda bears bring good fortune: each panda means 1 golden coin for the participant. The snow leopards, however, take away good fortune: each snow leopard takes away 1 golden coin. The four different decks can be categorized as advantageous (deck3/4: overall more pandas than snow leopards are uncovered) or disadvantageous (deck1/2: overall more snow leopards than pandas).
The default set-up runs
- 1 Block of 40 IGT trials
- Awareness Task (optional)
- 1 Block of 40 IGT trials (= 80 IGT trials total)
- Awareness Task (optional)
To change the the default set-up (e.g. number of trials, remove awareness task) go to section EXPERIMENT and follow further instructions
IGT Trials:
- List elements control the selection of the specific cards for each deck (see section LISTS for more info).
By default, the lists select specific outcomes (reward-loss contingencies) randomly without replacement across 10 trials in this script.
To hard-code a specific reward-loss continency sequence for each deck, go to section LISTS and follow instructions.
Deck1: across 10 turns => 2 pandas every time but 2 x 13 snow leopards (-> net win: -6)
Deck2: across 10 turns => 2 pandas every time but 2 x 6 snow leopards and 2 x 7 snow leopards (->net win: -6)
Deck3: across 10 turns => 1 panda every time but 4 x 1 snow leopard (-> net win: +6)
Deck4: across 10 turns => 1 panda every time but 2 x 2 snow leopards (-> net win: +6)
the actual screen position of deck1-deck4 is determined randomly
!!!Awareness Task:
is optional (set under Editable Values -> parameters.runawarenesstest);
The Awareness Task is coded in Helper Script "childIGT_AwarenessTask.iqjs".
The optional Awareness Task asks participants to say how much they like each of the four decks.
All stimuli are provided by Millisecond and are NOT original to Garon et al (2006).
The stimuli can be exchanged for custom ones under Editable Stimuli.
All instructions are provided by Millisecond and are NOT original to Garon et al (2006).
The instructions are provided in form of html pages (see section Editable instructions) and can be
edited directly in the html files.
File Name: childigt_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 |
| deckOrderGroup | The experimental deck group (1-4) the subject was randomly assigned to (refers to order of the advantageous (deck3, deck4) and disadvantegeous (deck 1, deck2) decks on the screen) group1: deck1(D), deck2(D), deck3(A), deck4(A) group2: deck4(A), deck1(D), deck2(D), deck3(A) group3: deck3(A), deck4(A), deck1(D), deck2(D) group4: deck2(D), deck3(A), deck4(A), deck1(D) countDeck1Select- |
| countDeck4Select | Count all the actual deck1-deck4 choices across all blocks propDeck1Select- |
| propDeck4Selectt | Proportion of specific deck selections deck1 always refers to deck1 and not specific deck location |
| countAdvantageTotal | Counts the total number of advantageous selections (deck 3 & deck 4) |
| countDisadvantageTotal | Counts the total number of disadvantageous selections (deck 1 & deck 2) |
| net | Difference btw. total number of advantageous and disadvantageous selections (positive NET -> overall more advantageous selections) |
| countAdvantage1 | Counts the number of advantageous selections (deck 3 & deck 4) during trials 1-20 |
| countDisadvantage1 | Counts the number of disadvantageous selections (deck 1 & deck 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 (deck 3 & deck 4) during trials 21-40 |
| countDisadvantage2 | Counts the number of disadvantageous selections (deck 1 & deck 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 (deck 3 & deck 4) during trials 41-60 |
| countDisadvantage3 | Counts the number of disadvantageous selections (deck 1 & deck 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 (deck 3 & deck 4) during trials 61-80 |
| countDisadvantage4 | Counts the number of disadvantageous selections (deck 1 & deck 2) during trials 61-80 |
| net4 | Difference btw. number of advantageous and disadvantageous selections during trials 61-80 |
File Name: childigt_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 |
| deckOrderGroup | The experimental deck group (1-4) the subject was randomly assigned to (refers to order of the advantageous (deck3, deck4) and disadvantegeous (deck 1, deck2) decks on the screen) group1: deck1(D), deck2(D), deck3(A), deck4(A) group2: deck4(A), deck1(D), deck2(D), deck3(A) group3: deck3(A), deck4(A), deck1(D), deck2(D) group4: deck2(D), deck3(A), deck4(A), deck1(D) |
| blockCode | Name of the current block |
| blockNum | Number of the current block |
| trialCode | Name of the current trial |
| trialNum | Number of the current trial |
| roundCounter | Tracks the number of igt-blocks run |
| cardsSelected | Counts the number of card selections (across all blocks) card1ItemNumber- |
| card2ItemNumber | Store the itemnumber of the card face that needs to be presented on screen for each of the 4 decks |
| response | The participant's response (e.g. which deck was chosen; the response "deck1" refers to the actual disadvantegous deck1 and not the position of the deck on the screen) |
| responseCategory | "advantageous" vs. "disadvantageous" |
| latency | The response latency (in ms) |
| gain | Stores the trial's gain depending on choice |
| loss | Stores the trial's loss depending on choice |
| currentTotal | Stores the current amount of coins won |
The procedure can be adjusted by setting the following parameters.
| Name | Description | Default |
|---|---|---|
| startAmount | Startamount (default = 0) | |
| showCardInfo | True = shows information about number of cards played/how many more to come false = does not display this information on the screen | |
| maxIgtTrials | Max number of igt trials run by default each block of igt trials runs 40 trials (to change, go to section BLOCKS) changing the number here only affects the counting of the trials | 80 |
| runAwarenessTest | True = runs awareness test midtest and posttest (as Garon et al 2006) (default) false = skips the awareness test |