Randomisation: What, Why and How?

plots of crops with the blog title "Randomisation: What, Why and How?"

Randomisation is one of the three foundations of good experimental design, the other two being Blocking and Replication. (See here for an example illustrating these concepts). In commercial trials, poor randomisation doesn’t just affect statistical validity; it can directly influence cultivar selection or treatment choices, investment confidence, and the credibility of trial outcomes with internal and external stakeholders.

Definitions of terms as used here:

  • Trial: The experiment or study.
  • Treatment: The things that are to be compared. For example, four Wheat cultivars, or 6 Student ages, or a new drug with an old drug.
  • Plot: The unit to which a treatment is applied. This could be a small 10m x 3 m plot, or a set of 3 plants in a plot, or an adult male over 50, or …many others.
  • Block: A group of plots. Usually, a block is comprised of plots that are largely similar (with respect to the aims and other factors in the trial)
  • Replication: This term can be confusing as it has more than one meaning! It can mean the number of plots to which a particular treatment will be allocated, or a complete set of treatments, or a repeat of the entire trial. Or, possibly others. Here, ‘replication’ refers to the first of these.
  • Layout: This is the arrangement of the plots. In a field, this might mean a layout of 5 plots by 7. In a clinical trial, this might mean a set of ten treatment centres, and the assessment order of 25 patients within each of these centres.

Once the number of replicates for each treatment and the site layout/ arrangement of plots have been chosen, the treatments need to be allocated to the plots. This step generally involves randomisation.

Why randomise?

Plots are almost never identical, so it is important to make sure the treatments are not allocated in a biassed manner. For example, consciously or unconsciously, a favoured treatment may be allocated to the tallest plants. Humans are pretty bad at randomizing, so it is best to use one of the ‘old-fashioned’ methods (below), or usually, the computer. In an ideal world, for a trial with the same replication for all treatments, the treatments should be allocated such that each plot has an equal chance of receiving any one of the treatments.

The other major reason to randomize is a somewhat technical one. For a valid analysis, giving unbiassed estimates of treatment differences, it is assumed that the set of plots is a random sample from some large population of plots. This is almost never true! However, randomizing the allocation of treatments to plots does to some extent mitigate this, and allows sound conclusions to be made about the plots actually used. So, randomization under-pins the validity of a statistical analysis.

How to randomise?

There are two ways to randomized. One is to randomly allocate treatments to the plots, and the other, to allocates plots to treatments. The first is more usual. 

Historically, randomization was carried out manually. These days, the software that generates a design usually includes a step where the randomisation is carried out. (See Genstat, Design menus and commands; CycDesigN). However, it can be informative to do an ‘old school’ randomisation. Various methods were used: 

Tables of randomized numbers
Numbers from a telephone directory (book…)
Shuffled Playing cards
Tokens with treatment names
etc

For the last of these, Tokens can be made using several equally sized small pieces of card, with one piece for each plot. The Tokens have the treatment labels written on them and are put into a bag. This is shaken to mix the tokens. They’re then drawn out one at a time and allocated to plots in order:

Diagram showing manual randomization using Tokens, for three replicates of each of four treatments, to be laid out in a completely randomized design.
Figure 1: Diagram showing manual randomization using Tokens, for three replicates of each of four treatments, to be laid out in a completely randomized design.

These days, the bag shaking and treatment allocation steps are carried out with the computer, given information about the required design.

I don’t like this randomisation ☹

Sometimes, you don’t like the result of a randomisation. The randomization above is genuine- it has not been manipulated from the generated design. The design has all of the B treatment in the higher numbered plots (7-12) whilst all of the A are in the first half of the plots (1-6). Many people would be uncomfortable with this.

How can I deal with this?

A naïve approach might be to keep generating randomisations until you get one you like, or else make a few swaps. Neither of these is really legitimate. There are however several legitimate ways to address the problem. The most common is via Blocking, especially as implemented in a randomised block design.

Blocks are groups of similar plots. If the design has one set of blocks then the randomisation is carried out within each block. For the above example, the blocks might comprise plots 1 to 4, plots 5 to 8 and plots 9 to 12:

Diagram showing the layout for the example, in three complete blocks.
Figure 2: Diagram showing the layout for the example, in three complete blocks.

The treatment allocation would then be done by putting one token each of A, B, C and D into the bag, using the shaking then drawing process as above, and repeating for the second and third blocks. This can still result in undesired layouts, such as having all three A in the first column of the plots (plots 1, 5, and 9). Blocking in two directions (Rows and Columns) would address this. CycDesigN is a particularly powerful tool to generate such two-way designs including the randomisation.

Restricted randomisation, Evenness and Neighbour balance

Blocking is in essence a form of ‘restricted randomisation’, to ensure the layout has desired properties. (However, too much blocking can restrict things so much there is little left to randomise!). 

Two other types of restricted randomization are provided in CycDesigN, where the properties ‘evenness’ and ‘’neighbour balance’ are available (Williams and Piepho 2019). Evenness makes sure each treatment is approximately evenly spread out across a trial, and neighbour balance aims to make each treatment appear approximately the same number of times next to each other, or equally two plots apart and so on.

When Randomisation is impossible or makes a trial very difficult to do.

Randomisation is not always possible. For example, plant part (leaf, root, stem) may be a factor of interest, but it is not possible to randomise leaves to be roots, roots to be stems. Or to randomise the sex of an adult or… Similarly, if a measurement is being taken before applying a treatment and then again after application, you cannot randomise after and before. This of course does not mean that you should not carry out the trial! It is just important to be aware of these constraints.

Sometimes randomisation is possible, but (for example) will result in a lot of extra work or expense to implement. This is a problem that fairly often occurs in field trials. For example, as described by Yates (1957), a trial was to be carried out to compare the effect of different nitrogen levels (as manure) on a set cultivars. To sow a cultivar into plots of a practical size for comparing nitrogen levels was impossible. It would also have been very expensive to lay out the trial using plots of a size suitable for sowing a cultivar. Yates’ solution was to use a ‘split-plot’ design, where cultivars were sown into large ‘main plots’ and then each of these was split into ‘sub-plots’ of a size suitable for applying nitrogen at a particular level. Randomization was then carried out in two steps, one to allocate the cultivars to the main plots, and then the other to allocate nitrogen levels to the sub-plots within each main plot. Main plots are shown as colours, and the split plots for nitrogen are separated by blue lines.

Split-plot layout for the Trial described by Yates.
Figure 3: Split-plot layout for the Trial described by Yates.

Why this matters in practice

When trial outcomes inform assessment of treatment effects, or cultivar selection, advancement, or management decisions, robust randomisation helps ensure those decisions are based on real differences rather than unintended bias.

Thinking carefully about randomisation at the design stage, and using appropriate forms of restricted randomisation where needed, can help avoid problems that are difficult or impossible to resolve once the trial is underway or the data have been collected.


References & further Information

Williams, E. R., and H.-P. Piepho (2019). Error variance bias in neighbour balance and evenness of distribution designs. Australian & New Zealand Journal of Statistics, vol 61.4 p466-473.

Yates,F. (1957) The Design and Analysis of Factorial Experiments, Commonwealth Bureau of Soils. Technical. Communication. No 35, 74 pages

R. Mead, R.N. Curnow, A.M. Hasted (2003) Statistical Methods in Agriculture and Experimental Biology, Third Edition, section 17.5. CUP

R. Mead (1988) The design of experiments : statistical principles for practical applications, Chapter 9. Chapman and Hall/CRC

S.J. Welham, S.A. Gezan, S.J. Clark, A. Mead (2014) Statistical Methods in Biology: Design and Analysis of Experiments and Regression, section 3.1.2. Chapman and Hall/CRC

R.D. Stern, R. Coe, E.F. Allan, I.C. Dale, (2004), Good statistical practice for natural resources research, Section 5.8. CABI publishing.

Picture of Dr. Ruth Butler
Dr. Ruth Butler
Dr. Ruth Butler has worked as a biometrician/statistical consultant for more than 35 years, initially in the UK, then from the mid-1990s in New Zealand. She has primarily worked with bio-protection scientists (plant pathology, entomology), but also has significant experience working with other non-medical biological scientists including in soils/agronomy, food research and plant breeding. Ruth has been a Genstat user throughout her career, contributing around 10 Genstat procedures, and has been a beta tester of Genstat for 30 years. Ruth has also been a CycDesigN user since the very first version was released in 1997. Her interests are in good data management practices, well-designed experiments, and in improving communication between statisticians and scientists.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Related articles

How much of the variation in your field trial comes from the treatments, and how much comes from...
What should you do when count data are more variable than your model expects? Vanessa Cave and David...
Precision breeding can deliver scientifically impressive traits, but practical value depends on more than technical success. Owen McIntosh...