When to use it
You compared several treatments (crop varieties, fertilizers, machine settings) and grouped the experimental units into blocks of similar units (field strips, days, batches, litters) with every treatment appearing once in every block. Blocking removes a known nuisance source of variation so the treatment comparison is sharper.
When not to: An unbalanced layout with missing treatment x block cells (the card still runs but only warns; with holes in the layout a mixed model with random blocks is the sounder analysis), a design with more than one nuisance factor to control simultaneously (consider a Latin square or split-plot design), or residuals that badly fail normality (the Friedman test is the rank-based analogue).
Step by step
Open it from the menu
Click DOE in the menu bar; under Field Trials choose Randomized Complete Block Design (RCBD).
Fill in the form
Choose the columns: What you measured, Treatments, Blocks. The form lists only columns whose type fits each field.
Check the options
The options start at their defaults: Alpha, Confidence level. Change one only when your question needs it.
Run the analysis
Press Run analysis. The Result Card opens on its Results tab.
What to choose in the form
| What you measured Response required | One numeric column. The continuous response (e.g. yield). |
|---|---|
| Treatments Treatment required | One categorical or ordered categorical column. Treatment factor (2+ levels): the comparison of interest. |
| Blocks Block required | One categorical or ordered categorical column. Blocking factor (2+ blocks): the nuisance source being removed. |
| Alpha | Significance threshold for the treatment test and Tukey HSD. Default: 0.05. |
| Confidence level | Confidence level for the treatment-mean intervals. Default: 0.95. |
How to read the card
The Results tab starts with what to know first (rows left out, checks that did not pass), then the interpretation in words and the Key Results; charts and assumption checks follow further down. Learn More explains the method in plain words. Read a Result Card covers all four tabs.
What it assumes
- Homogeneity of variance (homoscedasticity)
If it does not hold: Unequal variance across treatments distorts the F-test's true Type I error rate, especially with unbalanced replication.
How to check: Levene's test (median-centered) across treatment groups, computed when at least two treatment cells have 2+ observations; reported directly on the card.
- Normality (of residuals, not of the raw data)
If it does not hold: Non-normal residuals make the treatment and block F-tests approximate; the F-test is fairly robust for balanced designs but less so when the design is unbalanced or n is small.
How to check: Shapiro-Wilk on the model residuals (for 3 to 5000 residuals), reported directly on the card.
A worked example
Four wheat varieties (treatment) tested across three field blocks with a known fertility gradient, one observation per variety x block cell.
Result: Treatment F(3,6) = 8.42, p = .014; Tukey HSD finds variety D significantly outyields variety B; relative efficiency = 1.62 versus a completely randomized design.
Blocking was clearly worthwhile here (an unblocked design would have needed about 62% more plots to detect the same treatment differences this precisely), and variety D is the standout performer, distinguishable from B but not conclusively from A or C given this sample size.
From the Statistics Library.
The code tabs
Code gives this analysis as Python, R and MATLAB code (and SAS where the tab offers it), reading the data the way KernelStats did. Export sends the card to a report or to slides. See The Code tab.
Understand the statistics
Ask Oobi
Type one of these into Ask Oobi beside your data:
- Do these four wheat varieties differ in yield once I account for the fertility gradient across my three field blocks?
- Explain the randomized complete block design (RCBD) analysis in plain words.
- What does blocking mean?
Last reviewed November 16, 2026.
