setting selection of stimuli with no replacement from same pool list


Author
Message
WarrenL
WarrenL
Distinguished Member (3.4K reputation)Distinguished Member (3.4K reputation)Distinguished Member (3.4K reputation)Distinguished Member (3.4K reputation)Distinguished Member (3.4K reputation)Distinguished Member (3.4K reputation)Distinguished Member (3.4K reputation)Distinguished Member (3.4K reputation)Distinguished Member (3.4K reputation)
Group: Forum Members
Posts: 12, Visits: 102
Hi there,

I'm attempting to write a script for a Number Letter task where a pool of Number-Letter pairs (e.g. "A4", "B6")are presented on the screen in 2 positions. I'm having a couple of problems, mainly because I need to have a pool of potential pairs that need to be accessed by the two <text> stimuli (left side stimuli, right side stimuli) which are presented consecutively in sequencewith no repeats, no replacement.

What is the best option for this? If I implement an item pool pairs as below the <text> stimuli numberlettersleft and numberlettersright choose from the item pool exclusively, whereas would I want to happen is that if an item is used by the numberlettersleft (e.g. /1 "A3") then when numberlettersright is presented A3 is removed from the item pool, and that it doesn't repeat the same stimuli as the previous trial. 


<item pairs>
/1 = "A3"
/2 = "B4"
/3 = "C5"
/4 = "D4"
/5 = "G5"
/6 = "E6"
/7 = "A7"
/8 = "U8"
/9 = "I9"
</item>

<text numberlettersleft>
/ items = pairs
/ select = noreplacenorepeat
/ hposition = 45
/vposition = 45
/ color = black
</text>

<trial topleftpresletter>
/ stimulustimes = [1=numberlettersleft]
/ validresponse = ("d", "f", "j", "k")
</trial>

<text numberlettersright>
/ items = pairs
/ select = noreplacenorepeat
/ hposition = 55
/vposition = 45
/ color = black
</text>

<trial toprightpresletter>
/ stimulustimes = [1=numberlettersright]
/ validresponse = ("d", "f", "j", "k")
</trial>

------------------------------------------------------------------------------------
*** BLOCKS *****
------------------------------------------------------------------------------------

<block practice>
/trials = [1-18=sequence(topleftpresletter,toprightpresletter)]
</block>

*****
I've also thought about implementing a list (below) but for some reason when I refer to the list in the / items tag  in the text stimuli an error appears saying it cannot find the item pairs. Would using a list be a way around this and how do you refer to the list in the text stimuli? Any help at all is most appreciated - been pulling my hair out over this!

Thanks in advance, 

Warren


<list pairs>
/ selectionmode = random
/ items = ("A1", "B2", "C3", "D4")
</list>

<text numberlettersleft>
/ items = pairs
/ select = noreplacenorepeat
/ hposition = 45
/vposition = 45
/ color = black
</text>




GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search