Millisecond Forums

Trying to achieve block randomization for 6 conditions

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

By bkorsmo - 10/25/2018

I'm trying to achieve block randomization for 6 conditions. I'm hosting on millisecond.com. Here is how I'm trying it below but it doesnt seem to be working.

<batch>
/ subjects = (1 of 6)
/ groupassignment = random
/file="informed_consent_control_1.iqx"
/file="intro_control.iqx"
/file="intervention_control.iqx"
/file="2_IAT_race.iqx"
/file="survey_control.iqx"
/file="final_page.iqx"
</batch>

<batch>
/ subjects = (2 of 6)
/ groupassignment = random
/file="informed_consent_BS.iqx"
/file="intro_BS_1.iqx"
/file="intervention_BS_1.iqx"
/file="2_IAT_race.iqx"
/file="survey_meditation.iqx"
/file="final_page.iqx"
</batch>

<batch>
/ subjects = (3 of 6)
/ groupassignment = random
/file="informed_consent_LKM.iqx"
/file="intro_LKM.iqx"
/file="intervention_LKM.iqx"
/file="2_IAT_race.iqx"
/file="survey_meditation.iqx"
/file="final_page.iqx"
</batch>

<batch>
/ subjects = (4 of 6)
/ groupassignment = random
/file="informed_consent_control_1.iqx"
/file="intro_control.iqx"
/file="intervention_control.iqx"
/file="2_IAT_race.iqx"
/file="survey_control.iqx"
/file="final_page.iqx"
</batch>

<batch>
/ subjects = (5 of 6)
/ groupassignment = random
/file="informed_consent_BS.iqx"
/file="intro_BS_1.iqx"
/file="intervention_BS_1.iqx"
/file="2_IAT_race.iqx"
/file="survey_meditation.iqx"
/file="final_page.iqx"
</batch>

<batch>
/ subjects = (6 of 6)
/ groupassignment = random
/file="informed_consent_LKM.iqx"
/file="intro_LKM.iqx"
/file="intervention_LKM.iqx"
/file="2_IAT_race.iqx"
/file="survey_meditation.iqx"
/file="final_page.iqx"
</batch>

By Dave - 10/25/2018

bkorsmo - Thursday, October 25, 2018
I'm trying to achieve block randomization for 6 conditions. I'm hosting on millisecond.com. Here is how I'm trying it below but it doesnt seem to be working.

<batch>
/ subjects = (1 of 6)
/ groupassignment = random
/file="informed_consent_control_1.iqx"
/file="intro_control.iqx"
/file="intervention_control.iqx"
/file="2_IAT_race.iqx"
/file="survey_control.iqx"
/file="final_page.iqx"
</batch>

<batch>
/ subjects = (2 of 6)
/ groupassignment = random
/file="informed_consent_BS.iqx"
/file="intro_BS_1.iqx"
/file="intervention_BS_1.iqx"
/file="2_IAT_race.iqx"
/file="survey_meditation.iqx"
/file="final_page.iqx"
</batch>

<batch>
/ subjects = (3 of 6)
/ groupassignment = random
/file="informed_consent_LKM.iqx"
/file="intro_LKM.iqx"
/file="intervention_LKM.iqx"
/file="2_IAT_race.iqx"
/file="survey_meditation.iqx"
/file="final_page.iqx"
</batch>

<batch>
/ subjects = (4 of 6)
/ groupassignment = random
/file="informed_consent_control_1.iqx"
/file="intro_control.iqx"
/file="intervention_control.iqx"
/file="2_IAT_race.iqx"
/file="survey_control.iqx"
/file="final_page.iqx"
</batch>

<batch>
/ subjects = (5 of 6)
/ groupassignment = random
/file="informed_consent_BS.iqx"
/file="intro_BS_1.iqx"
/file="intervention_BS_1.iqx"
/file="2_IAT_race.iqx"
/file="survey_meditation.iqx"
/file="final_page.iqx"
</batch>

<batch>
/ subjects = (6 of 6)
/ groupassignment = random
/file="informed_consent_LKM.iqx"
/file="intro_LKM.iqx"
/file="intervention_LKM.iqx"
/file="2_IAT_race.iqx"
/file="survey_meditation.iqx"
/file="final_page.iqx"
</batch>


If you want condition assignment based on randomly generated group ids between 1 and 6, you need to set your <batch> elements' /grouassignment attributes to groupnumber, not random.

<batch>
/ subjects = (1 of 6)
/ groupassignment = groupnumber
/file="informed_consent_control_1.iqx"
/file="intro_control.iqx"
/file="intervention_control.iqx"
/file="2_IAT_race.iqx"
/file="survey_control.iqx"
/file="final_page.iqx"
</batch>

...

<batch>
/ subjects = (6 of 6)
/ groupassignment = groupnumber
/file="informed_consent_LKM.iqx"
/file="intro_LKM.iqx"
/file="intervention_LKM.iqx"
/file="2_IAT_race.iqx"
/file="survey_meditation.iqx"
/file="final_page.iqx"
</batch>
By bkorsmo - 10/25/2018

Dave - Thursday, October 25, 2018
bkorsmo - Thursday, October 25, 2018
I'm trying to achieve block randomization for 6 conditions. I'm hosting on millisecond.com. Here is how I'm trying it below but it doesnt seem to be working.

<batch>
/ subjects = (1 of 6)
/ groupassignment = random
/file="informed_consent_control_1.iqx"
/file="intro_control.iqx"
/file="intervention_control.iqx"
/file="2_IAT_race.iqx"
/file="survey_control.iqx"
/file="final_page.iqx"
</batch>

<batch>
/ subjects = (2 of 6)
/ groupassignment = random
/file="informed_consent_BS.iqx"
/file="intro_BS_1.iqx"
/file="intervention_BS_1.iqx"
/file="2_IAT_race.iqx"
/file="survey_meditation.iqx"
/file="final_page.iqx"
</batch>

<batch>
/ subjects = (3 of 6)
/ groupassignment = random
/file="informed_consent_LKM.iqx"
/file="intro_LKM.iqx"
/file="intervention_LKM.iqx"
/file="2_IAT_race.iqx"
/file="survey_meditation.iqx"
/file="final_page.iqx"
</batch>

<batch>
/ subjects = (4 of 6)
/ groupassignment = random
/file="informed_consent_control_1.iqx"
/file="intro_control.iqx"
/file="intervention_control.iqx"
/file="2_IAT_race.iqx"
/file="survey_control.iqx"
/file="final_page.iqx"
</batch>

<batch>
/ subjects = (5 of 6)
/ groupassignment = random
/file="informed_consent_BS.iqx"
/file="intro_BS_1.iqx"
/file="intervention_BS_1.iqx"
/file="2_IAT_race.iqx"
/file="survey_meditation.iqx"
/file="final_page.iqx"
</batch>

<batch>
/ subjects = (6 of 6)
/ groupassignment = random
/file="informed_consent_LKM.iqx"
/file="intro_LKM.iqx"
/file="intervention_LKM.iqx"
/file="2_IAT_race.iqx"
/file="survey_meditation.iqx"
/file="final_page.iqx"
</batch>


If you want condition assignment based on randomly generated group ids between 1 and 6, you need to set your <batch> elements' /grouassignment attributes to groupnumber, not random.

<batch>
/ subjects = (1 of 6)
/ groupassignment = groupnumber
/file="informed_consent_control_1.iqx"
/file="intro_control.iqx"
/file="intervention_control.iqx"
/file="2_IAT_race.iqx"
/file="survey_control.iqx"
/file="final_page.iqx"
</batch>

...

<batch>
/ subjects = (6 of 6)
/ groupassignment = groupnumber
/file="informed_consent_LKM.iqx"
/file="intro_LKM.iqx"
/file="intervention_LKM.iqx"
/file="2_IAT_race.iqx"
/file="survey_meditation.iqx"
/file="final_page.iqx"
</batch>

Thanks Dave!