Millisecond Forums

Linking multiple batches for multistage randomization

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

By Erica H - 7/15/2014

Hello,

I have two IATs with two alternate versions within each type that I'd like to present to participants.   I would like participants to be randomly assigned to complete one of the IAT types, but randomize which version of the test appears first.  I created two levels of batches; one that randomizes the order of versions, and one that randomizes the IAT type (path leading to the random order batch file).  Individually (the sub-level random order) works, but the master file seems to be getting "stuck"- not loading.  Any suggestions?

IAT1 (version A, version B)
IAT2 (version A, version B)
By Dave - 7/15/2014

Not sure how this can be answered without you providing actual code. Are you saying you've set up <batch> elements that run files containing further <batch> elements? If so, that's not advisable. Instead you should simply do

<batch>
/ file = "IAT_1_A.iqx"
/ file = "IAT_1_B.iqx"
/ subjects = (1 of 4)
/ groupassignment = random
</batch>

<batch>
/ file = "IAT_1_B.iqx"
/ file = "IAT_1_A.iqx"
/ subjects = (2 of 4)
/ groupassignment = random
</batch>

<batch>
/ file = "IAT_2_A.iqx"
/ file = "IAT_2_B.iqx"
/ subjects = (4 of 4)
/ groupassignment = random
</batch>

<batch>
/ file = "IAT_2_B.iqx"
/ file = "IAT_2_A.iqx"
/ subjects = (4 of 4)
/ groupassignment = random
</batch>