Block Randomization


Menu location: Analysis_Randomization_Blocks


This function randomizes n individuals into k treatments, in blocks of size m.


Randomization reduces opportunities for bias and confounding in experimental designs, and leads to treatment groups which are random samples of the population sampled, thus helping to meet assumptions of subsequent statistical analysis (Bland, 2000).


Random allocation can be made in blocks in order to keep the sizes of treatment groups similar. In order to do this you must specify a sample size that is divisible by the block size you choose. In turn you must choose a block size that is divisible by the number of treatment groups you specify.


An advantage of small block sizes is that treatment group sizes are very similar. A disadvantage of small block sizes is that it is possible to guess some allocations, thus reducing blinding in the trial. An alternative to using large block sizes is to use random sequences of block sizes, which can be done in StatsDirect by specifying a block size of zero. The random block size option selects block sizes of 2, 3, or 4 (at random) times the number of treatments.


The randomization proceeds by allocating random permutations of treatments within each block.


Random allocation in blocks

Randomized with seed: 10

Subjects: 20

Block size: random between 4 and 8

Treatments: 2

Subject Treatment
1 A
2 B
3 A
4 B
5 B
6 A
7 A
8 B
9 A
10 A
11 B
12 B
13 B
14 A
15 A
16 B
17 A
18 B
19 A
20 B


Technical validation

Robust (pseudo-)random number generation is used, see random number generation.



Copyright © 2000-2016 StatsDirect Limited, all rights reserved. Download a free trial here.