Millisecond Forums

random presentation without repeat

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

By millis - 10/31/2013

In the experiment I would like to run, I have 20 items that belong to one type of blocks (“easymain”) and 80 items that belong to another type of blocks (“difficultmain”). I would like to present one block of “easymain”, 8 blocks of “difficultmain”, and then one block of “easymain,” with each block consisting of 10 items. Also, I want to present the items in a random order within and across the blocks – once for each item (I do not want to repeat any items.)


With my current scripts (below are parts relevant to block and trial randomization), some items are being repeated a few times. Is there a way to present items in blocks without repeating any items across the blocks?


--


<block easymain>


/ trials = [1-10=noreplace(easymain)]


/ preinstructions = (maininst)


/ bgstim = (fixation)


</block>



<block difficultmain>


/ trials = [1-10=noreplace(difficultmain)]


/ preinstructions = (maininst)


/ bgstim = (fixation)


</block>



<expt>


/ preinstructions = (welcome)


/ postinstructions = (end)


/ blocks = [1=easyprac; 2=difficultprac; 3=noreplace(easymain); 4,5,6,7,8,9,10,11=noreplace(difficultmain); 12=noreplace(easymain)]


</expt>

By Dave - 10/31/2013

To keep selection pools intact across blocks, you need to specify a proper /resetinterval for the respective stimulus elements. Details are available in the language reference for said attribute.