Millisecond Forums

Noreplacenorepeat with constraints

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

By Jesse Heutink - 1/16/2014

Hello Millisecond Forums,

I've made a own mental simulation task. My participants have to simulate six different activities. Each activity has a voluntarily and a involuntary version.
I want that each participant have to simulate 3 voluntarily and 3 involuntarily activities and that which activity they get is radomly selected. 
I've tried to figure it out in Inquisit by myself and I've also looked for a solution for my problem on this forum but I didn't find anything.
I hope you will/can help me.

Best regards,

Jesse Heutink
By Dave - 1/17/2014

Please provide a specific description of your procedure. It is not possible to give any sensible or helpful advice based on the (very general) information you have provided. For example, it is entirely unclear how 'noreplacenorepeat' and (additional?) constraints figure in to the overall picture.
By Jesse Heutink - 1/17/2014

Okay. Hopefully I can explain it in more detail. In my experiment participants have to simulate six different free time activities. Like they pre-experience the activity. After every simulation they have to rate on a likert-scale how much fun this activity is. All the six activities that I have chosen for my experiment have a voluntarily and a involuntarily version. I want that my participants have to simulate six activities in total. For example Activity 1 (voluntarily), Activity 2 (involuntarily), Activity 3 (voluntarily), Activity 4 (involuntarily), Activity 5 (voluntarily) and Activity 6 (involuntarily). I don't want that my participants get both versions (voluntarily and involuntarily) of one activity. Besides that, at which time every activity will be presented has to be based at random. This is what I mean whith noreplacenorepeat. The constrain is that I want that each participant have to simulate three voluntarily type activities and three involuntarily ones, as you can see in the example above. I don't know how to fix this is Inquisit. I hope it is now more clear what my question is like. And I hope that you can/will help me.


Best Regards,


Jesse Heutink 
By Dave - 1/17/2014

The basic selection logic goes like this:

<block taskblock>
/ trials = [1-6 = noreplacenorepeat(voluntarytrial, involuntarytrial)]
</block>

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

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

<text voluntarytext>
/ items = voluntaryitems
/ select = itemselector
</text>

<text involuntarytext>
/ items = involuntaryitems
/ select = itemselector
</text>

<counter itemselector>
/ select = noreplace(1-6)
</counter>

<item voluntaryitems>
/ 1 = "Voluntary Activity A"
/ 2 = "Voluntary Activity B"
/ 3 = "Voluntary Activity C"
/ 4 = "Voluntary Activity D"
/ 5 = "Voluntary Activity E"
/ 6 = "Voluntary Activity F"
</item>

<item involuntaryitems>
/ 1 = "Involuntary Activity A"
/ 2 = "Involuntary Activity B"
/ 3 = "Involuntary Activity C"
/ 4 = "Involuntary Activity D"
/ 5 = "Involuntary Activity E"
/ 6 = "Involuntary Activity F"
</item>
By Jesse Heutink - 1/20/2014

Thanks!