How can I vary assignment of item elements to trial elements?


Author
Message
Diane
Diane
Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)
Group: Forum Members
Posts: 53, Visits: 131
Hi


I want to vary which items get assigned to different trials between subjects (to counterbalance items across conditions). So I have a set of items called PairA, a set of items called PairB, etc. Then I have different types of trials, say Study4X1, Study 8X1, etc. I want subject 1 to see the PairA items in Study4X1 and PairB items in Study8X1, and the reverse for the next subject, PairB in Study4X1 and PairA in Study8X. In the actual experiment there will be more sets of items and types of trials. How can I set which items to use at the beginning of the experiment? I've tried the code below, but then it presents "item.pairA" literally, instead of sampling items from item.pairA. 

<text shortpair>
/select = noreplace
/position = (45%, 40%)
/txcolor = (0, 0, 0)
/txbgcolor = (192, 192, 192)
</text>

<trial trial1sec>
/stimulustimes =[0=shortpair]
/pretrialpause = 200
/posttrialpause = 200
/trialduration = 1000
</trial>

<block study4x1>
/trials = [1-80 = noreplace(trial1sec)]
/preinstructions = (intro4x1)
</block>

<expt >
/blocks = [1=study4x1; 2=somblock]
/onexptbegin = [text.shortpair.item=item.pairA]
/preinstructions = (welcome)
/postinstructions = (endexp)
</expt>


Can anyone help me or point me to a good example in the task library?


Thanks,

Diane

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Diane - 11 Years Ago
Dave - 11 Years Ago
Diane - 11 Years Ago
Dave - 11 Years Ago
Dave - 11 Years Ago
                     Thanks so much! Here's a bare experiment, I've removed all...
Diane - 11 Years Ago
                         You should be able to simply do <openended cuedrecallshort>...
Dave - 11 Years Ago
                             Perfect, this is exactly what I needed. Thank you so much! Diane
Diane - 11 Years Ago
Diane - 11 Years Ago

Reading This Topic

Explore
Messages
Mentions
Search