Millisecond Forums

Randomizing blocks in expt

https://www.millisecond.com/forums/Topic19178.aspx

By gootral - 5/30/2016

Hi ppl!

Can u tell me how to randomize blocks?
I mean my first block is demographics, then I have 2 blocks which I want to randomize. How to do that?
Thx for any advices!
By Dave - 5/30/2016

Suppose the two blocks you want to randomize are called a and b. Then you simply do:

<expt>
/ blocks = [1=demographics; 2-3 = noreplace(a,b)]
...
</expt>

You'll find this covered in the documentation for the <expt> element's /blocks attribute. In general, randomizing blocks in an experiment works the same way as randomizing trials in a block.