Programming problem Iowa Gambling Task

Paul Gr pauls_postbus at hotmail.com
Thu Jul 20 19:54:51 UTC 2006


Dear Angélique,

I think it should be possible to use a dedicated deck selection list 
containing 4 levels for the decks A to D. Each level could contain a nested 
list object as you allready constructed before. Then configure this list to 
use offset selection and use a single line of script to select the 
appropriate level. You can place the inline code and the list after the 
point where a deck selection is made.

Assuming that you have a deck selection slide which accepts keystrokes A, 
B,C or D, the offset selection can be programmed as follows:

Set DeckList.Order = OffsetOrder(Asc(UCase(DeckSelectionSlide.Resp)) - 
Asc("A") + 1)

A minimal (but working) framework can be downloaded from:
www.psy.vu.nl/download/paul/IowaBody.es

best,

Paul Groot
Vrije Universiteit Amsterdam

(klein wereldje toch ;)


>From: "Angelique Cramer" <A.O.J.Cramer at uva.nl>
>To: <eprime at mail.talkbank.org>
>Subject: Programming problem Iowa Gambling Task
>Date: Tue, 18 Jul 2006 10:34:28 +0200
>
>Dear sir/madam,
>
>Currently I'm programming a Duch version of the Iowa Gambling Task in 
>E-prime. The task does fine, but I have encountered a problem. I have made 
>a DesignList with 100 trials and each trial refers to four nested lists: 
>Deck A, Deck B, Deck C and Deck D.
>
>The problem is that I want the experiment to proceed as follows: for 
>example, a subject picks 3 cards from Deck D (so the first 3 ID's from the 
>Deck D list) and when he picks a card from Deck A for the fist time, I want 
>the list to go to the first ID/trial of the Deck A list. Instead, the 
>program goes to the fourth line of the Deck A list.
>
>How can I program it so that the experiment proceeds according to the 
>abovementioned?
>
>Note that the available Iowa Gambling Task made in e-prime suffers from the 
>same problem and if I understand the article about the original version 
>correctly (Bechara et al., 1994), then you have to program the experiment 
>so that you always begin with the first line/trial of the list and then 
>proceed sequentially.
>
>Thanks in advance for helping me out,
>
>Best regards,
>
>Angélique Cramer
>>From Angélique Cramer on 7/17/2006 10:31:00 AM
>Additional information:
>- Designlist: 100 samples, 1 cycle, Nested: DeckA, DeckB, DeckC, DeckD
>- DeckA/B/C/D: 40 samples per deck, attributes: win, loss
>- TrialProc: game slide (four cards visble on the screen, request to pick a 
>card from any of the four decks), InLine script (if strHit "DeckA" then 
>Feedback.ActiveState = "FBA", same goes for the other four decks), Feedback 
>slide with 4 possible active states (for example, for Deck A this is FBA 
>with text: "You have won [WinA] and lost [LossA])
>
>Thank you again for helping me,
>
>Best regards,
>
>Angélique Cramer
>
>
>



More information about the Eprime mailing list