By christinahaywood - 4/19/2016
Hi,
I have 9 experimental trials in my script, however, when running the study only the first experiment <expt 1 of 9> plays every time. Do you know how I can get the other experimental conditions to run randomly? Here is what part of the script looks like:
<expt 1 of 9> / preinstructions = (intro0, intro1, intro2) / subjects = (1 of 9) / groupassignment = groupnumber / blocks = [ 1=ownnames; 2=PANAS; 3=practice; 4=loading; 5=partnernames; 6=sync_AA_p2; 7=loading; 8=taskdifficulty; 9=assessingcloseness; 10=IOS; 11=IPT; 12=partnernames; 13=async_BC_p1; 14=loading; 15=taskdifficulty; 16=assessingcloseness; 17=IOS; 18=IPT; 19=demographics; 20=endquestions] / postinstructions = (end) </expt>
<expt 2 of 9> / preinstructions = (intro0, intro1, intro2) / subjects = (2 of 9) / groupassignment = groupnumber / blocks = [ 1=ownnames; 2=PANAS; 3=practice; 4=loading; 5=partnernames; 6=sync_BB_p2; 7=loading; 8=taskdifficulty; 9=assessingcloseness; 10=IOS; 11=IPT; 12=partnernames; 13=async_AB_p1; 14=loading; 15=taskdifficulty; 16=assessingcloseness; 17=IOS; 18=IPT; 19=demographics; 20=endquestions] / postinstructions = (end) </expt>
<expt 3 of 9> / preinstructions = (intro0, intro1, intro2) / subjects = (3 of 9) / groupassignment = groupnumber / blocks = [ 1=ownnames; 2=PANAS; 3=practice; 4=loading; 5=partnernames; 6=sync_BB_p2; 7=loading; 8=taskdifficulty; 9=assessingcloseness; 10=IOS; 11=IPT; 12=partnernames; 13=async_CA_p1; 14=loading; 15=taskdifficulty; 16=assessingcloseness; 17=IOS; 18=IPT; 19=demographics; 20=endquestions] / postinstructions = (end) </expt>
<expt 4 of 9> / preinstructions = (intro0, intro1, intro2) / subjects = (4 of 9) / groupassignment = groupnumber / blocks = [ 1=ownnames; 2=PANAS; 3=practice; 4=loading; 5=partnernames; 6=sync_CC_p2; 7=loading; 8=taskdifficulty; 9=assessingcloseness; 10=IOS; 11=IPT; 12=partnernames; 13=async_BC_p1; 14=loading; 15=taskdifficulty; 16=assessingcloseness; 17=IOS; 18=IPT; 19=demographics; 20=endquestions] / postinstructions = (end) </expt>
<expt 5 of 9> / preinstructions = (intro0, intro1, intro2) / subjects = (5 of 9) / groupassignment = groupnumber / blocks = [ 1=ownnames; 2=PANAS; 3=practice; 4=loading; 5=partnernames; 6=async_AB_p2; 7=loading; 8=taskdifficulty; 9=assessingcloseness; 10=IOS; 11=IPT; 12=partnernames; 13=sync_AA_p1; 14=loading; 15=taskdifficulty; 16=assessingcloseness; 17=IOS; 18=IPT; 19=demographics; 20=endquestions] / postinstructions = (end) </expt>
<expt 6 of 9> / preinstructions = (intro0, intro1, intro2) / subjects = (6 of 9) / groupassignment = groupnumber / blocks = [ 1=ownnames; 2=PANAS; 3=practice; 4=loading; 5=partnernames; 6=async_CA_p2; 7=loading; 8=taskdifficulty; 9=assessingcloseness; 10=IOS; 11=IPT; 12=partnernames; 13=sync_AA_p1; 14=loading; 15=taskdifficulty; 16=assessingcloseness; 17=IOS; 18=IPT; 19=demographics; 20=endquestions] / postinstructions = (end) </expt>
<expt 7 of 9> / preinstructions = (intro0, intro1, intro2) / subjects = (7 of 9) / groupassignment = groupnumber / blocks = [ 1=ownnames; 2=PANAS; 3=practice; 4=loading; 5=partnernames; 6=async_BC_p2; 7=loading; 8=taskdifficulty; 9=assessingcloseness; 10=IOS; 11=IPT; 12=partnernames; 13=sync_BB_p1; 14=loading; 15=taskdifficulty; 16=assessingcloseness; 17=IOS; 18=IPT; 19=demographics; 20=endquestions] / postinstructions = (end) </expt>
<expt 8 of 9> / preinstructions = (intro0, intro1, intro2) / subjects = (8 of 9) / groupassignment = groupnumber / blocks = [ 1=ownnames; 2=PANAS; 3=practice; 4=loading; 5=partnernames; 6=async_AB_p2; 7=loading; 8=taskdifficulty; 9=assessingcloseness; 10=IOS; 11=IPT; 12=partnernames; 13=sync_CC_p1; 14=loading; 15=taskdifficulty; 16=assessingcloseness; 17=IOS; 18=IPT; 19=demographics; 20=endquestions] / postinstructions = (end) </expt>
<expt 9 of 9> / preinstructions = (intro0, intro1, intro2) / subjects = (9 of 9) / groupassignment = groupnumber / blocks = [ 1=ownnames; 2=PANAS; 3=practice; 4=loading; 5=partnernames; 6=async_CA_p2; 7=loading; 8=taskdifficulty; 9=assessingcloseness; 10=IOS; 11=IPT; 12=partnernames; 13=sync_CC_p1; 14=loading; 15=taskdifficulty; 16=assessingcloseness; 17=IOS; 18=IPT; 19=demographics; 20=endquestions] / postinstructions = (end) </expt>
|
By Dave - 4/19/2016
You assign conditions -- i.e. the specific <expt> to run -- via the provided groupnumber:
<expt> ... / subjects = (1 of 9) / groupassignment = groupnumber ... </expt> ... <expt> ... / subjects = (9 of 9) / groupassignment = groupnumber ... </expt>
If you want to run the 1st <expt>, enter 1 as the groupnumber. If you want to run the 2nd <expt>, enter 2 and so forth.
(The assignment is actually done based on the provided number modulo the number of conditions, i.e. 10 will also run the 1st <expt> because mod(10,9) equals 1. 11 will run the 2nd one because mod(11,9) equals 2 and so forth. More on that here: https://www.millisecond.com/forums/Topic13856.aspx ).
For random assignment in web studies, simply have the launch page generate a random group number (that's the default setting).
|
|