PennController for IBEX › Forums › Support › Randomizing two different experiments › Reply To: Randomizing two different experiments
January 17, 2023 at 2:45 pm
#9847
Keymaster
Hi Nico,
As long as you have the exact same list of groups in your two tables, you can use a Template command for one table and another command for the other table, and participants will be assigned the same group across tables. So this is how I would do things:
Template("Mix.csv", row =>
newTrial("Global",
// etc.
Template("CT.csv", row =>
newTrial("Random",
// etc.
Sequence(
...( Math.random() > 0.5
? [ randomize("Global") , randomize("Random") ]
: [ randomize("Random") , randomize("Global") ]
)
)
Jeremy