MockDataLab

Agronomy & Plant Science

Agricultural split-plot trial: blocks → main plots → subplots → quadrats

Four blocks, three irrigation levels as main plots, four varieties as subplots and three harvested quadrats per subplot. Main-plot treatments get their own error term, so irrigation is tested with far fewer degrees of freedom than variety: the defining feature of a split-plot design.

blocks (4) → main_plots (3 irrigation levels) → sub_plots (4 varieties) → quadrats (3)

Data structure

Split-plot and RCBD designs dominate agricultural and plant-science field trials and are routinely mis-analysed as completely randomized factorials.

blocksone row = one field block
A block effect for soil and slope differences.
main_plotsone row = one irrigation strip
Irrigation level and the whole-plot error.
sub_plotsone row = one variety within a strip
Variety and plot-level grain yield (t/ha), including an irrigation × variety interaction.
quadratsone row = one harvested quadrat
Subsample biomass in g/m² (1 t/ha = 100 g/m²).

Generate the split-plot field trial tables

The preset is a starting point: change any formula, noise step or row count and the preview, ER diagram and relation check update.

The relational generator loads as it scrolls into view…

Key relationships

  • yield_t_ha = 6 + irrigation + variety + interaction + blocks.block_effect + parent.mainplot_error

    Two error strata: mainplot_error is shared by the four varieties in a strip; the subplot error is the gaussian noise step.

  • biomass_g_m2 = parent.yield_t_ha * 100 + noise

    Quadrats are subsamples, not replicates.

Common pitfalls

  • Analysing as a two-way factorial with one residual: the irrigation F-test then uses the wrong, too-small error term.
  • Treating quadrats as replicates (sacrificial pseudoreplication).
  • Leaving out the block term, which is what removes field heterogeneity.
  • Not recording the randomized field layout, so spatial trends cannot be checked.

Typical analysis

Average quadrats to subplot level, then fit a mixed model with block and block:irrigation as random effects (the whole-plot error) and irrigation × variety as fixed effects, using Kenward–Roger degrees of freedom.

R
library(lmerTest)
b <- read.csv("blocks.csv", comment.char = "#"); m <- read.csv("main_plots.csv", comment.char = "#"); s <- read.csv("sub_plots.csv", comment.char = "#")
d <- merge(merge(s, m, by = "mainplot_id"), b, by = "block_id")
fit <- lmer(yield_t_ha ~ irrigation * variety + (1 | block_id) + (1 | block_id:irrigation), data = d)
anova(fit, ddf = "Kenward-Roger")

Further reading

  • Gomez KA, Gomez AA (1984). Statistical Procedures for Agricultural Research, 2nd ed. Wiley.
  • Hurlbert SH (1984). Pseudoreplication and the design of ecological field experiments. Ecological Monographs 54(2):187–211.

Other relational presets