PennController for IBEX › Forums › Support › Different sequencing for different participants › Reply To: Different sequencing for different participants

Hi,
If you need perfectly balanced groups (30-30) you’ll have to assign participants manually. If I were you, I would run a first batch of 30 participants with Sequence("intro","consent","subexp1practice",rshuffle("subexp1items","subexp1fillers"),"break","subexp2practice",randomize("subexp2items","subexp2fillers"),"send","ending")
, then run a second batch of 30 participants with Sequence("intro","consent","subexp2practice",randomize("subexp2items","subexp2fillers"),"break","subexp1practice",randomize("subexp1items","subexp1fillers"),"send","ending")
If you want it to be random, you could simply do this, but then you won’t be certain you’ll end up with exactly 30 participants in each group:
if (Math.random() >= 0.5)
Sequence("intro","consent","subexp1practice",rshuffle("subexp1items","subexp1fillers"),"break","subexp2practice",randomize("subexp2items","subexp2fillers"),"send","ending")
else
Sequence("intro","consent","subexp2practice",randomize("subexp2items","subexp2fillers"),"break","subexp1practice",randomize("subexp1items","subexp1fillers"),"send","ending")
NB: shouldn’t it be rshuffle
or randomize
everywhere? Right now you have rshuffle
for exp1 in the first Sequence
command only
Jeremy