A Quick Introduction to Experimental Design in Genstat

The blog title "A Quick Introduction to Experimental Design in Genstat" set across an image of a tractor in a field of crops

In Genstat, experimental design provides a systematic way to plan experiments, control variation, and generate reliable results. Users can create and randomise designs such as Randomized Complete Block or Split-Plot layouts, calculate power and sample size, and visualise trial structures. These principles apply to any experimental setting, from manufacturing and engineering to biological and social sciences, helping researchers draw confident, evidence-based conclusions.

What Is Experimental Design?

Experimental design involves developing a clear plan for data collection and analysis so that results are objective and statistically valid.

When planning an experiment, you need to:

  • Define the experimental units and response variable(s).
  • Specify the treatments and how they’ll be applied.
  • Identify controllable and uncontrollable variables.
  • Choose an appropriate design.
  • Determine how many replicates are required.

A key part of the process is managing variability among experimental units so that comparisons between treatments are fair and precise.

For example, if you were testing a new manufacturing process by measuring employee productivity, you might expect production on Monday to be higher than on Friday. You could randomly select which process to use each day, but “day of the week” is a source of variability that should be controlled. Randomising the process each day helps, but to control day-to-day variation effectively, you need blocking.

What Is Blocking in Experimental Design?

Blocking is a method for managing nuisance variation by grouping experimental units that share similar characteristics. This involves grouping experimental units based on shared characteristics so that units within each block are as similar as possible, then randomizing treatments within the block. So, in the manufacturing example, you might block by day of the week. Dates over which the trial is run would be assigned to blocks based on day of the week, and within each block, the dates would be randomly assigned to the old or new process. This approach ensures that any observed differences in productivity are more confidently attributed to the process itself rather than the day of the week.

By grouping experimental units into blocks, you control for variability that might otherwise obscure treatment effects. This ensures that observed differences are more likely due to the treatments themselves rather than extraneous factors. A common way to implement blocking in practice is through a Randomized Complete Block Design (RCBD). 

Randomized Complete Block Design (RCBD)

A Randomized Complete Block Design is a common structure for experiments where known sources of variation exist.

In an RCBD:

  • Experimental units are grouped into homogeneous blocks.
  • each block has the same number of experimental units, usually one for each treatment
  • Treatments are randomly assigned within each block so that each treatment occurs in each block the same number of times

Let’s look at how this can be set up in Genstat. 

Example: Creating a Randomized Complete Block Design in Genstat

Suppose you want to test how different flower foods affect flower longevity:

Objective: Investigate how different flower foods affect flower life.

Response variable: Number of days flowers remain in full bloom before wilting.

Experimental units: Pots containing a single flowering plant.

Blocking factor: Four separate glasshouses, which may differ in light, temperature, and shade conditions.

Treatments: A factorial combination of three flower foods (plain water, commercial, and new untested) and two flower types (purple and yellow).

To generate a two-way randomized complete block design in Genstat:

  1. Go to Stats → Design → Generate a Standard Design
  2. Choose Two-way design (in randomized blocks)
  3. Specify the blocking factor (glasshouses, with 4 levels), the experimental units (pots), and the treatment factors (flower food, with 3 levels, and flower type, with 2 levels)
  4. Select Display design in a spreadsheet

The “Randomization seed” field allows you to specify a seed used to randomize the design. Genstat automatically changes the seed every time a design is produced. However, you can supply your own seed if you want, and keeping the same seed will generate an identical design. For example, if you want to produce an identical design to the blog, set the “Randomization seed” to 20005.

Genstat produces a schematic of the design and a skeleton ANOVA table showing the degrees of freedom for treatment factors and blocks, along with a spreadsheet to record the experimental data.

The treatment effects are estimated in the “Glasshouse.Pot stratum”, which represents the variation within the glasshouses.
The “Glasshouse stratum” represents the variation between glasshouses.

Checking the Power of your design 

Genstat makes it easy to check the power of a design. 

the probability of detecting a specified difference between treatment means at a given significance level.

To calculate power, you specify:

  1. The treatment term for which you want to calculate power
  2. The significance level for the test
  3. The size of the difference you want to detect
  4. The residual mean square

For example, suppose you want to detect differences as small as 2 days in the mean number of days flowers last between the different flower food by flower type combinations, using a 5% significance level.

You also need to provide an estimate of the residual mean square for the stratum containing the treatment term – in this case, the “Glasshouse.Pot stratum.” For illustration, we might assume a value of 0.5, though in practice this should come from a previous analysis of similar data.

Clicking OK generates a pop-up showing that the power of our design is 0.962, which is quite high and indicates a strong probability of detecting meaningful differences between treatment combinations.

Calculating Sample Size Requirements

Genstat also allows you to calculate the number of replicates required for a design to detect a specified difference between treatment means at a given power and significance level. In a randomized-block design, the number of replicates depends on the number of blocks, in our example, the glasshouses.

To perform this calculation, Genstat requires you to specify:

  1. The treatment term of interest
  2. The significance level
  3. The desired power
  4. The size of the difference you want to detect

The within-block variance (i.e., the residual mean square for the “Glasshouse.Pot stratum”)

Clicking OK generates a pop-up showing the required number of replicates. In this example, we could reduce the number of glasshouses from 4 to 3 without significantly reducing the power of the experiment.

Split-Plot Design 

Some experiments require more complex layouts or blocking structures. For example, consider a split-plot design. Suppose a field trial is being set up to investigate the effects of four different levels of nitrogen fertilizer on three oat varieties. Due to practical constraints, the oat varieties can only be sown over large areas of land, whereas the fertilizer can be applied to smaller subplots. In such cases, a split-plot design is ideal, as it allows different treatment factors to be applied at different levels while maintaining a statistically valid design. 

Suppose we have 6 replicates of each oat variety by nitrogen treatment. The field is organized into 6 blocks, with each block divided into 3 whole plots, one for each oat variety. Each whole plot is then further split into 4 subplots, with each subplot receiving one of the four nitrogen treatments. This structure ensures that all treatment combinations are properly replicated while accommodating the practical constraints of sowing and fertilizer application.

To generate this design in Genstat:

  1. Go to Stats → Design → Generate a Standard Design
  2. Choose Split-plot design
  3. Specify the number of blocks (6)
  4. Specify the treatment factor for the whole plots (Oat variety, 3 levels)
  5. Specify the treatment factor for the subplots (Nitrogen level, 4 levels)
  6. Select Display design in a spreadsheet

The output provides a schematic showing blocks, whole plots, subplots, and the treatment assignments. 

Looking across the first row, in Block 1 – Whole Plot 1, oat variety 3 is sown across the entire whole plot. The subplots receive the nitrogen treatments as follows: subplot 1 – nitrogen level 1, subplot 2 – nitrogen level 4, subplot 3 – nitrogen level 2, and subplot 4 – nitrogen level 3.

Why Experimental Design Matters

Experimental design is a crucial step in ensuring that your experiments are both statistically valid and practically feasible. Whether using a Randomized Complete Block Design to control variability in a controlled environment, or a split-plot design to manage practical constraints in the field, careful planning helps ensure that observed differences are truly due to the treatments being tested.

Using software like Genstat makes it easier to generate, visualize, and implement these designs, check the power of your experiments, and determine the optimal number of replicates. By understanding and applying these design principles, you can make more confident, reliable conclusions from your data!

Start Designing with Genstat

Plan your next experiment with confidence. Contact our team to explore how Genstat supports rigorous experimental design and data analysis across research and industry.

Picture of The VSNi Team
The VSNi Team

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...