Millisecond Forums

Randomizing no replace of blocks that are not sequential

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

By kd01 - 12/20/2017

Hello,

I have a task in which I hope to present three open ended trials (with different stimuli) in random order and between each openended trial present a survey on that trial and then a reminder of instructions. Is it possible to use the norepeatnoreplace command in the following way and still ensure there is no repeat of  of any particular open ended trial but that they are each still shown randomly?

<exp>
/blocks = 1=start; 2=norepeatnoreplace(one, two, three); 3=survey.Survey1; 4=reminder1; 5=norepeatnoreplace(one, two, three); 6=survey.Survey2; 7=reminder2; 8=norepeatnoreplace(one, two, three); 9=survey.Survey3; 10=end
</exp>
By Dave - 12/21/2017

kd01 - Wednesday, December 20, 2017
Hello,

I have a task in which I hope to present three open ended trials (with different stimuli) in random order and between each openended trial present a survey on that trial and then a reminder of instructions. Is it possible to use the norepeatnoreplace command in the following way and still ensure there is no repeat of  of any particular open ended trial but that they are each still shown randomly?

<exp>
/blocks = 1=start; 2=norepeatnoreplace(one, two, three); 3=survey.Survey1; 4=reminder1; 5=norepeatnoreplace(one, two, three); 6=survey.Survey2; 7=reminder2; 8=norepeatnoreplace(one, two, three); 9=survey.Survey3; 10=end
</exp>

No, that syntax is not correct / will not yield the desired result. What you should do is simply:

/blocks = [1=start; 2,5,8=noreplace(one, two, three); 3=survey.Survey1; 4=reminder1; 6=survey.Survey2; 7=reminder2; 9=survey.Survey3; 10=end]