splitting stimulus list randomly into two fixed groups


Author
Message
juliane_d
juliane_d
Expert (1.4K reputation)Expert (1.4K reputation)Expert (1.4K reputation)Expert (1.4K reputation)Expert (1.4K reputation)Expert (1.4K reputation)Expert (1.4K reputation)Expert (1.4K reputation)Expert (1.4K reputation)
Group: Forum Members
Posts: 12, Visits: 39
Hi there,

I thought this was easy, but i cannot figure it out. I have a list of stimuli that i want to randomly assign to two groups anew for each participant to be used in various tasks throughout the experiment. I have tried using counter and list elements with the /not attribute for the second group, but cannot get it to run. Any idea what I am doing wrong? Many thanks,

Juliane
**************************************

<counter setup_pix1>
/ items = ("pix1", "pix2","pix3","pix4","pix5","pix6")
/ select = noreplace
/ selectionrate = trial
</counter>

<counter setup_pix2>
/ items = ("pix1", "pix2","pix3","pix4","pix5","pix6")
/ select = noreplace
/ selectionrate = trial
/ not = (setup_pix1)
</counter>

<item pix1items>
</item>

<item pix2items>
</item>

<text Pix1>
/ items = pix1items
/ size = (30%, 30%)
/ position = (50,50)
/ select = noreplace
</text>

<text Pix2>
/ items = pix2items
/ size = (30%, 30%)
/ position = (50,50)
/ select = noreplace
</text>

<trial setup_pairings>
/ ontrialbegin = [item.pix1items.item=counter.setup_pix1.selectedvalue]
/ ontrialbegin = [item.pix2items.item=counter.setup_pix2.selectedvalue]
/ trialduration = 0
</trial>

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 108K
<block myblock>
/ trials = [1=setup_pix; 2=summary]
</block>

<counter setup_pix>
/ items = ("pix1", "pix2","pix3","pix4","pix5","pix6")
/ select = noreplace
/ selectionrate = always
</counter>

<item pix1items>
</item>

<item pix2items>
</item>

<text Pix1>
/ items = pix1items
/ size = (30%, 30%)
/ position = (50,50)
/ select = noreplace
</text>

<text Pix2>
/ items = pix2items
/ size = (30%, 30%)
/ position = (50,50)
/ select = noreplace
</text>

<trial setup_pix>
/ ontrialbegin = [item.pix1items.item=counter.setup_pix.selectedvalue;
    item.pix1items.item=counter.setup_pix.selectedvalue;
    item.pix1items.item=counter.setup_pix.selectedvalue;
    item.pix2items.item=counter.setup_pix.selectedvalue;
    item.pix2items.item=counter.setup_pix.selectedvalue;
    item.pix2items.item=counter.setup_pix.selectedvalue;]
/ trialduration = 0
</trial>

<trial summary>
/ stimulusframes = [1=summary]
/ validresponse = (57)
</trial>

<text summary>
/ items = ("Items now in <item pix1items>: <%item.pix1items.item.1%>, <%item.pix1items.item.2%>, <%item.pix1items.item.3%>
Items now in <item pix2items>: <%item.pix2items.item.1%>, <%item.pix2items.item.2%>, <%item.pix2items.item.3%>")
</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