Millisecond Forums

Randomizing IAT and Survey

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

By Verena3711 - 5/13/2013

Hello Inquisit-Community,


I've already looked at related posts, but I still can't solve my problem:

I have programmed 4 individual IATs and one Survey. Now I would like the survey always to run in the beginning and then the program should randomly choose one of the four IATs. Is this possible?


I know that with the <batch> element I can combine the different scripts, but I cannot figure out how to randomize the IATs but keep the survey constant.



Thanks for your help!


PS: My script looks like this


<batch>
/file = "Survey.Iqx"
/file = "IAT1.Iqx"
/file = "IAT2.Iqx"
/file = "IAT3.Iqx"
/file = "IAT4.Iqx"
</batch>


By Dave - 5/13/2013

You need 4 <batch> elements in your file to do this:


<batch>
/ subjects = (1 of 4)
/ groupassignment = random
/ file = "Survey.Iqx"
/ file = "IAT1.Iqx"
</batch>

<batch>
/ subjects = (2 of 4)
/ groupassignment = random
/ file = "Survey.Iqx"
/ file = "IAT2.Iqx"
</batch>

[...]