Millisecond Forums

command "Blocks 1 of 2/2 of 2" not working

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

By nbUOS - 6/7/2016

so i just figured out (after 30 participants unfortunately), that my command for Blocks (get a different order for incompatible and compatible trials when putting in a 1 or 2 at the beginning of each test) doesnt work but rather assigns orders at random it seems.
this is very annoying since i now have to recode almost every subject for my IAT algorithm to work...
i have been using a syntax from a former colleqgue and just copy pasted some aspects so i am not totally sure where it is going wrong/what i should change. i am browsing the inquisit manuals but have not yet found the answer.

here the code where i believe the mistake might be hidden:

<expt>
/ subjects = (1 of 1)
/ preinstructions = (begin1)
/ postinstructions = (end)
/ blocks = [1=survey;
                2=block1_bs;
                3=attributepractice_bs;
                4=block3_bs;
                5=block4_bs;
                6=block5_bs;
                7=block6_bs;
                8=block7_bs;
                9=block8_bs;
                10=block9_bs;
                11=block1_Kommunikation;
                12=attributepractice_Kommunikation;
                13=block3_Kommunikation;
                14=block4_Kommunikation;
                15=block5_Kommunikation;
                16=block6_Kommunikation;
                17=block7_Kommunikation;
                18=block8_Kommunikation;
                19=block9_Kommunikation]
</expt>


<variables>
/ group = (1 of 2) (block1_bs=targetcompatiblepractice_bs;
                        block3_bs=compatibletest1_bs;
                        block4_bs=compatibletestinstructions_bs;
                        block5_bs=compatibletest2_bs;
                        block6_bs=targetincompatiblepractice_bs;
                        block7_bs=incompatibletest1_bs;
                        block8_bs=incompatibletestinstructions_bs;
                        block9_bs=incompatibletest2_bs;           
                        block1_Kommunikation=targetcompatiblepractice_Kommunikation;
                        block3_Kommunikation=compatibletest1_Kommunikation;
                        block4_Kommunikation=compatibletestinstructions_Kommunikation;
                        block5_Kommunikation=compatibletest2_Kommunikation;
                        block6_Kommunikation=targetincompatiblepractice_Kommunikation;
                        block7_Kommunikation=incompatibletest1_Kommunikation;
                        block8_Kommunikation=incompatibletestinstructions_Kommunikation;
                        block9_Kommunikation=incompatibletest2_Kommunikation)
/ group = (2 of 2) (block1_bs=targetincompatiblepractice_bs;
                        block3_bs=incompatibletest1_bs;
                        block4_bs=incompatibletestinstructions_bs;
                        block5_bs=incompatibletest2_bs;
                        block6_bs=targetcompatiblepractice_bs;
                        block7_bs=compatibletest1_bs;
                        block8_bs=compatibletestinstructions_bs;
                        block9_bs=compatibletest2_bs;
                        block1_Kommunikation=targetincompatiblepractice_Kommunikation;
                        block3_Kommunikation=incompatibletest1_Kommunikation;
                        block4_Kommunikation=incompatibletestinstructions_Kommunikation;
                        block5_Kommunikation=incompatibletest2_Kommunikation;
                        block6_Kommunikation=targetcompatiblepractice_Kommunikation;
                        block7_Kommunikation=compatibletest1_Kommunikation;
                        block8_Kommunikation=compatibletestinstructions_Kommunikation;
                        block9_Kommunikation=compatibletest2_Kommunikation)
</variables>


anyone see the mistake and can help me?





By Dave - 6/7/2016

#1: You don't need the /subjects attribute in the <expt> element. You can delete it.

#2: Your <variables> element assigns different block orders (compatible vs. incompatible first) based on the provided *subject number*. I.e., a participant with an *odd* subject number (1, 3,  5, ...) will receive the compatible blocks first, a participant with an *even* subject number (2, 4, 6, ...) will receive the incompatible blocks first.

If you want the assignment to be done based on the *group number*, you need to specify

<variables>
/ groupassignment = groupnumber
/ group = (1 of 2) (block1_bs=targetcompatiblepractice_bs;
                        block3_bs=compatibletest1_bs;
                        block4_bs=compatibletestinstructions_bs;
                        block5_bs=compatibletest2_bs;
                        block6_bs=targetincompatiblepractice_bs;
                        block7_bs=incompatibletest1_bs;
                        block8_bs=incompatibletestinstructions_bs;
                        block9_bs=incompatibletest2_bs;           
                        block1_Kommunikation=targetcompatiblepractice_Kommunikation;
                        block3_Kommunikation=compatibletest1_Kommunikation;
                        block4_Kommunikation=compatibletestinstructions_Kommunikation;
                        block5_Kommunikation=compatibletest2_Kommunikation;
                        block6_Kommunikation=targetincompatiblepractice_Kommunikation;
                        block7_Kommunikation=incompatibletest1_Kommunikation;
                        block8_Kommunikation=incompatibletestinstructions_Kommunikation;
                        block9_Kommunikation=incompatibletest2_Kommunikation)
/ group = (2 of 2) (block1_bs=targetincompatiblepractice_bs;
                        block3_bs=incompatibletest1_bs;
                        block4_bs=incompatibletestinstructions_bs;
                        block5_bs=incompatibletest2_bs;
                        block6_bs=targetcompatiblepractice_bs;
                        block7_bs=compatibletest1_bs;
                        block8_bs=compatibletestinstructions_bs;
                        block9_bs=compatibletest2_bs;
                        block1_Kommunikation=targetincompatiblepractice_Kommunikation;
                        block3_Kommunikation=incompatibletest1_Kommunikation;
                        block4_Kommunikation=incompatibletestinstructions_Kommunikation;
                        block5_Kommunikation=incompatibletest2_Kommunikation;
                        block6_Kommunikation=targetcompatiblepractice_Kommunikation;
                        block7_Kommunikation=compatibletest1_Kommunikation;
                        block8_Kommunikation=compatibletestinstructions_Kommunikation;
                        block9_Kommunikation=compatibletest2_Kommunikation)
</variables>

For details on how condition assignment works, see https://www.millisecond.com/forums/Topic13856.aspx