Millisecond Forums

Select TWO stimuli from ITEM list used within same trial and no repeat in the rest of experiment.

https://forums.millisecond.com/Topic14475.aspx

By ischneider - 9/30/2014

Hi there - I have an item list of positive words and an item list of negative words. I want to make three types of trials, each showing two words: 
positive - negative, negative - negative, or positive - positive. The lists have 96 words. I would like to do the following: 
For pos-neg trials : noreplacenorepeat from pos list and same for neg list --> this works fine. 
For neg-neg trials : I want to pull two random words from the negative word list  to be presented but I don't want them put back. 
For pos-pos trials: the same but for positive. 

the pos-neg trials look like this (there are two types of trials, distances differ:  have the words change positions on screen on each trial, by use of counter etc) but I am not sure how to arrange for trials that pull from the same list. Separate lists make no sense, because then there is a chance that a word is paired with the same word from the second list. Not at all sure whether this is clear, but does anyone have  any ideas?


<trial close>
/ pretrialpause = 0
/ trialcode = "close"
/ stimulustimes = [500 =frame1, frame2, negatief, positief]
/ validresponse = ("f", "j")
/ ontrialbegin = [text.negatief.hposition=counter.close1.selectedvalue;
text.positief.hposition=counter.close2.selectedvalue;
shape.frame1.hposition=counter.shape1close1.selectedvalue;
shape.frame2.hposition=counter.shape2close2.selectedvalue]
</trial>

<trial far>
/ pretrialpause = 0
/ trialcode = "far"
/ stimulustimes = [500 =frame1, frame2, negatief, positief]
/ validresponse = ("f", "j")
/ ontrialbegin = [text.positief.hposition=counter.far1.selectedvalue;
text.negatief.hposition=counter.far2.selectedvalue;
shape.frame1.hposition=counter.shape1far1.selectedvalue;
shape.frame2.hposition=counter.shape2far2.selectedvalue]
</trial>



By Dave - 9/30/2014

To get two item from the same pool, do

<block myblock>
/ trials = [1-2=mytrial]
</block>

<trial mytrial>
/ stimulusframes = [1=mytext1, mytext2]
/ validresponse = (57)
</trial>

<text mytext1>
/ items = myitems
/ select = list.mylist.nextindex
/ position = (40%, 50%)
</text>

<text mytext2>
/ items = myitems
/ select = list.mylist.nextindex
/ position = (60%, 50%)
</text>

<item myitems>
/ 1 = "A"
/ 2 = "B"
/ 3 = "C"
/ 4 = "D"
</item>

<list mylist>
/ poolsize = 4
/ selectionrate = always
</list>