Design and analyse agricultural experiments without writing code
Maize, tomato, chile or coffee plots; cows, sheep or goats in pens — the same guided route takes you from the field book to ANOVA with the right error terms, mean-separation letters, response curves and journal-ready figures, and back to the field with a randomised layout for the next trial. No R, SAS or Python required.
New here? Open a worked example (maize × nitrogen in blocks) and walk through the blocks.
How it works
A guided route in the order an agricultural experiment is actually reported. Every step explains the idea in plain language, checks whether your data support it and recommends what to do next.
Try it: why blocking beats a completely randomised layout
Four treatments are laid out twice on the same field: completely at random (left) and in randomised complete blocks (right). The field has a fertility gradient from the top row to the bottom row; both layouts receive the same treatment effects and the same random noise. Each layout is then analysed with the platform's own ANOVA engine. Move the gradient up and watch the CRD lose its power while the blocks keep it.
What's inside
Seven analysis blocks, in the order of the route. Click a card to jump to it.
Every kind of experiment
The experimental unit and the type of response decide the design and the test. AgriDesign recognises the structure of your table and offers only the analyses that make sense for it.
Designs covered
Colours are treatments; each rectangle is a plot. The platform recognises factors, blocks, rows and columns in your data and builds the matching model with its error strata.
Methods covered
From the diagnosis of the residuals to the planning of the next trial.
What it brings together
One guided path from the data sheet to the figure, with the theory next to every result.
The theory, in plain language
Enough to design a sound trial and defend the analysis in a seminar. Each block repeats the part it needs next to its results.
What every experiment must have start here
Replication. Each treatment goes to several independent experimental units — plots, pots, animals or pens.
Replication is the only way to estimate the experimental error, and it sharpens the estimate of every mean: the standard
error of a treatment mean is s/√r. Measuring the same plot several times is sub-sampling, not replication.
Randomisation. Treatments are assigned by chance, never by convenience. It protects against unknown biases (a fertile corner, the order of harvest, the first animals caught) and is what justifies the F-test. Block 8 generates the layouts.
Local control. Units are grouped into blocks that are homogeneous inside — same soil, same slope, same barn — and every treatment appears in every block, so the block-to-block variation leaves the error. The simulator above shows how much that buys.
The experimental unit decides everything plots, pots, animals
The experimental unit is the smallest thing that receives a treatment independently: the plot in a field trial, the pot in a greenhouse, the animal when diets are fed individually, but the pen when all animals in it eat from the same trough. Counting animals as replicates when the pen was treated is the most frequent error in livestock trials: it multiplies the replicates and invents significance. The same happens with plants inside a plot, trees inside a row or dishes inside an incubator.
Measurements taken on several plants of the same plot are averaged (or analysed as sub-samples) before the ANOVA; measurements repeated on the same unit over time are repeated measures, analysed as a split-plot in time.
Choosing the design from the layout which model
| Your experiment has… | Design | Typical case |
|---|---|---|
| One factor, homogeneous units, no gradient | Completely randomised (CRD) | pots on a bench, animals of one weight |
| One factor, one known gradient | Randomised complete block (RCBD) | field slope, litter or barn, sampling day |
| One factor, two gradients | Latin square | rows × columns of a field; animals × periods |
| Two or more factors studied together | Factorial in CRD or RCBD | variety × fertiliser, breed × diet |
| One factor applied to large plots, another inside them | Split-plot | irrigation × varieties, pasture × stocking |
| Many treatments, blocks too small to hold them all | Incomplete blocks (lattice, alpha) | variety trials with 20–100 entries |
| A numeric variable measured before the treatment | Any of the above + covariate (ANCOVA) | initial weight, plant stand, soil test |
Reading the ANOVA table F, p, CV
The total variation is split among the sources of the design. Each F compares the mean square of a source with the mean square of its error: in a split-plot the main-plot factor is tested against the main-plot error (Error a), which has few degrees of freedom, and the sub-plot factor against Error b. Using the wrong error is the classic way to obtain false significance.
The coefficient of variation, √MSE / grand mean × 100, is the precision of the trial: 10–20 % is usual for field yields, lower for controlled conditions and heights, higher for counts and scores. A significant block effect is not a result about treatments; it means blocking was worthwhile.
Which mean-separation test letters
Tukey HSD is the default for all pairwise comparisons: it controls the family-wise error. Fisher's LSD is more powerful but only defensible after a significant F and with few treatments. Duncan is liberal and increasingly refused by journals. Dunnett answers one question only: does each treatment differ from the control? Scheffé protects contrasts chosen after seeing the data. Games–Howell is for unequal variances.
Means with the same letter are not significantly different at the stated α; a level with two letters (ab) belongs to both groups. When the factor is quantitative (doses, densities, dates) letters are the wrong summary: fit a trend and report the optimum.
When the assumptions fail transform or rank
The F-test assumes independent errors with equal variance and a normal distribution, checked on the residuals — never on the raw response. Unequal variances hurt more than mild non-normality. Counts usually need a square-root, percentages from counts an arcsine or logit, and multiplicative effects a logarithm; the Box–Cox profile tells which power the data support.
Ordinal scores (1–9 severity, 1–5 vigour) are not helped by transformations: use Kruskal–Wallis, Friedman or the aligned rank transform, which keep the structure of the design and still give letters.
How many replicates power
The replicates needed to detect a difference d (as % of the mean) with a known CV follow from
r ≥ 2 (tα/2 + tβ)² (CV / d)², solved iteratively. With a CV of 15 % and a 15 % difference, an RCBD
needs about 17 replicates; with a CV of 8 %, five are enough. Reducing the CV — uniform units, border rows, blocking along the
gradient, the pen as the unit — is usually cheaper than adding replicates. Aim for at least 10–12 error degrees of freedom.
How to cite AgriDesign
If the platform contributes to a thesis, a paper or a report, please cite it. The DOI is a concept DOI archived in Zenodo: it always resolves to the latest version.
BibTeX entry
Version-specific DOIs and the full metadata are in the CITATION.cff file of the repository (GitHub shows them under "Cite this repository"). The same reference is printed in every report generated in Block 7.
Data: import, tidy check and variable roles
Load the field book, verify that the table is well formed and tell the platform what each column means.
Before you upload: what a good agricultural experiment needs
Short, practical theory. Open the sections you need; the platform checks most of these points automatically once the data are loaded.
1 · The three principles of experimental design (Fisher)
R. A. Fisher, working at Rothamsted on agricultural field trials in the 1920s, established the three principles that every valid experiment still relies on. They are the criteria the platform uses to judge your data.
Replication. Each treatment is applied to several independent experimental units (plots, pots, animals).
Replication is the only way to estimate the experimental error, and it increases precision: the standard
error of a treatment mean is s/√r. Measuring the same plot several times is not replication
(that is sub-sampling or pseudo-replication). Field trials typically use 3–6 replicates; 4 is the usual minimum.
Randomisation. Treatments are assigned to units by a chance mechanism (lottery, random numbers, software), never by convenience. Randomisation protects against unknown biases (a fertile corner, the border of the field, the order of harvest), makes the errors independent and justifies the F-test. Block 8 will generate randomised layouts for you.
Local control (blocking). Units are grouped so that those within a group are as alike as possible (same soil, slope, moisture, planting date, harvest team). Every treatment then appears in every block, and the block-to-block variation is removed from the error. Blocks should be laid out across the gradient of fertility so that each block is homogeneous inside.
2 · Vocabulary the platform uses
| Term | Meaning | Example |
|---|---|---|
| Treatment | A condition whose effect you want to measure | 0, 60, 120, 180 kg N/ha |
| Factor | A group of related treatments (its levels) | Factor "Nitrogen" with 4 levels |
| Factorial | Two or more factors studied together, all combinations | 3 varieties × 3 fertiliser doses = 9 treatments |
| Experimental unit (plot) | The smallest unit that receives one treatment independently | A 5 × 4 m plot, a pot, a tree |
| Replicate | One complete set of all treatments (in blocked designs) or one unit per treatment | Block 1, Block 2… |
| Block | A group of homogeneous plots containing every treatment | A strip of land along the slope |
| Response variable | What is measured on each unit | Yield (t/ha), plant height (cm), severity (1–9) |
| Covariate | A numeric variable measured before the treatment acts, used to adjust the response | Initial plant stand, soil N |
| Experimental error | Variation among units treated alike; the yardstick against which treatment differences are judged | Estimated by the residual mean square |
| CV (%) | √MSE / grand mean × 100; a measure of trial precision | Yield trials: < 15–20 % is acceptable |
3 · How to arrange your table (one row per plot)
The platform reads tidy (long-format) tables: one row per experimental unit and one column per variable. The first row holds the column names. This is the layout used by R, SAS, SPSS and Excel pivot tables.
✓ Correct
| Block | Nitrogen | Variety | Yield |
|---|---|---|---|
| 1 | 0 | A | 4.6 |
| 1 | 60 | A | 6.2 |
| 1 | 0 | B | 5.1 |
| 2 | 0 | A | 3.9 |
| … | … | … | … |
Every value of Block, Nitrogen and Variety is repeated on each row. Each column has a single type.
✗ Avoid
| Block 1 | Block 2 | Block 3 | |
|---|---|---|---|
| Nitrogen 0 | 4.6 | 3.9 | 4.3 |
| 5.1 | 4.4 | 4.8 | |
| Nitrogen 60 | 6.2 | 5.5 | 5.9 |
| Mean | 5.3 | 4.6 | 5.0 |
Blocks as columns, merged cells for the factor, two variables sharing a column, and a totals row.
- No merged cells. Merged cells keep the value only in the first cell; the others become blanks. Fill every row.
- No title rows, notes or totals inside the table. Put them on another sheet.
- Short headers without spaces or special characters:
Yield_t_ha,Height_cm,Block. - One decimal separator (point or comma, not both) and no thousands separators or units inside the cells (
4.6, not4,6 t/ha). - Missing plots: leave the cell empty or write
NA. Do not write 0 for a missing value. - Consistent level names:
ControlandcontrolandControlare three different treatments to a computer. - Wide tables (treatments or blocks as columns) can be converted to long format with the reshape tool below.
4 · Types of variables and the role each column plays
The platform detects whether each column is numeric or categorical and suggests a role; you can always change it.
| Measurement scale | Examples | Usual role | Analysis consequences |
|---|---|---|---|
| Nominal (categories without order) | Variety, fungicide, soil type | Treatment factor / block | Compared with ANOVA and mean-separation tests |
| Ordinal (ordered categories) | Disease score 1–9, vigour 1–5 | Response (ordinal) | ANOVA is questionable; use Kruskal–Wallis / Friedman or ordinal models (Block 4) |
| Discrete counts | Number of pods, insects per plant | Response | √ or log transformation, or Poisson GLM, when counts are small or variance grows with the mean |
| Proportions / percentages | Germination %, incidence % | Response | Arcsine-√ (percentages from counts) or logit; values near 0 or 100 % are the problem |
| Continuous | Yield, height, dry mass, pH | Response | Ideal for ANOVA; check normality and homogeneity of variances |
| Quantitative factor | Dose 0/60/120/180, density | Treatment factor | ANOVA plus polynomial (trend) contrasts or regression on dose |
5 · Which design do I have? (quick guide)
| Your data have… | Design | Model |
|---|---|---|
| One factor, no blocking | Completely randomised (CRD) | y = μ + τ + ε |
| One factor, one block column, each treatment once per block | Randomised complete block (RCBD) | y = μ + β + τ + ε |
| One factor, each treatment several times per block | Generalised RCBD | y = μ + β + τ + (βτ) + ε |
| One factor, row and column blocking, t = rows = columns | Latin square | y = μ + ρ + γ + τ + ε |
| Two or more factors, all combinations, with or without blocks | Factorial in CRD / RCBD | y = μ + β + α + δ + (αδ) + ε |
| Two factors, one applied to large plots and the other to sub-plots inside them | Split-plot | Two error terms (main plot, sub-plot) |
| Three factors nested in plots, sub-plots, sub-sub-plots | Split-split-plot | Three error terms |
| Two factors applied in perpendicular strips | Strip-plot (split-block) | Three error terms |
| Many treatments, blocks smaller than the number of treatments | Incomplete blocks: lattice, alpha, BIBD | Adjusted means |
| Many new genotypes plus a few repeated checks | Augmented design | Checks estimate the error |
| The same plot measured on several dates | Repeated measures | Split-plot in time / mixed model |
| A numeric variable measured before treatment | Any of the above + covariate | ANCOVA |
6 · Accepted file formats
- Excel: .xlsx, .xlsm, .xlsb, .xls (choose the sheet after loading).
- Open formats: .ods (LibreOffice), .csv, .tsv, .txt (any delimiter: comma, semicolon, tab, pipe), .dat, .prn.
- JSON: an array of objects (one per plot), an array of arrays, or
{columns:[…], data:[…]}. - Clipboard: copy a range in Excel and paste it in the box below.
Files are read locally with the FileReader API; nothing is transmitted.
1 · Load your data
Drag a file or click to browse. The first row must contain the column names; one row per plot.
Drop your file here or click to choose
Paste from the clipboard instead
Or try an example dataset
Descriptive statistics and exploratory graphics
Look at the data before testing anything: location, spread, shape, outliers and how the groups compare.
Reading the numbers and the plots
What each statistic tells you about a field experiment, and what to look for before the ANOVA.
1 · Why explore first
An ANOVA summarises the whole experiment in one F-test. Exploring first protects you from three classic mistakes: analysing a typing error as if it were a treatment effect, testing means when the variances are wildly different, and reporting a mean for a variable whose distribution has no meaningful centre (skewed counts, bounded scores).
- Location: mean and median. If they differ noticeably, the distribution is skewed or has outliers.
- Spread: standard deviation (SD), interquartile range (IQR) and coefficient of variation (CV).
- Shape: skewness (asymmetry) and kurtosis (weight of the tails) relative to the normal distribution.
- Structure: do the groups differ in level? in spread? do the blocks behave consistently?
2 · SD, SE and confidence interval — which one goes in the paper?
| Statistic | Formula | Describes | Use it when |
|---|---|---|---|
| Standard deviation (SD) | √[Σ(y − ȳ)² / (n − 1)] | Variability of the individual plots | You want to show how spread out the observations are |
| Standard error (SE) | SD / √n | Precision of the mean | You compare means (most treatment-mean figures) |
| 95 % confidence interval | ȳ ± t0.975, n−1 · SE | Range of plausible values for the true mean | You want the reader to judge differences by eye |
| CV (%) | SD / ȳ × 100 | Relative variability, unit-free | Comparing precision between trials or variables |
3 · How to read the plots
- Histogram + density: shape of the whole sample. Compare the orange density with the dashed normal curve. Two humps usually mean two different treatments or blocks, not a problem.
- Box plot: box = middle 50 % (Q1 to Q3), line = median, ◆ = mean, whiskers = most extreme values within 1.5 × IQR, circles = potential outliers. Boxes of very different height signal unequal variances.
- Violin: a smoothed histogram on each side; shows bimodality that a box hides. Needs ≥ 5–6 observations per group to be meaningful.
- Means with error bars: the classic treatment figure. State in the caption what the bars are (SE, SD or CI). Overlapping SE bars do not imply "not significant" — the test decides.
- Strip plot: every plot is shown; the honest picture when replicates are few (3–4), where boxes and violins are misleading.
- Block profiles: one line per block across treatments. Roughly parallel lines mean the treatment ranking is consistent across blocks (additivity, an RCBD assumption). Crossing lines suggest a block × treatment interaction or an outlying plot.
- Interaction plot (two factors): parallel lines = no interaction, the factors act additively; converging or crossing lines = interaction, and the main effects should be interpreted with care.
- Scatter vs. covariate: if the response depends linearly on a variable measured before treatment, ANCOVA (Block 5) will increase precision.
4 · Outliers: what to do
A value flagged by Tukey's rule (beyond 1.5 × IQR) or by |z| > 3 is suspicious, not wrong. Go back to the field book: a decimal shifted, a plot damaged by animals or flooding, a mis-labelled sample. Correct documented errors; declare damaged plots as missing (Block 5 handles missing plots); never delete a value only because it is inconvenient. If in doubt, run the analysis with and without it and report both.
Choose what to describe
What the numbers say
Exploratory figures
Every figure can be edited (⚙) and downloaded at publication resolution. Style settings you change are remembered for the next figures.
ANOVA assumptions, transformations and non-parametric alternatives
Are the data candidates for an analysis of variance and mean tests? If not, what to do instead.
The assumptions behind the F-test, in plain language
The ANOVA model is y = μ + treatment + block + ε. Everything below is about ε, the experimental error, and is therefore checked on the residuals of the fitted model, never on the raw response.
1 · The four assumptions and what happens when they fail
| Assumption | Meaning | How it is checked here | If it fails |
|---|---|---|---|
| Independence | The error of one plot tells nothing about its neighbour | Guaranteed by randomisation; Durbin–Watson and the residuals-in-order plot only reveal gross patterns | Nothing fixes it afterwards: block properly next time; spatial models |
| Normality of errors | Residuals follow a bell-shaped curve | Shapiro–Wilk (best for n < 50), Anderson–Darling, Jarque–Bera; Q–Q plot | F is robust with balanced designs; transform, or rank-based tests |
| Homogeneity of variances | All treatments have the same error variance | Levene (median-centred; robust), Bartlett (sensitive to non-normality), Fligner–Killeen, Fmax; residuals vs fitted plot | Most damaging for mean comparisons; transform (log if SD ∝ mean), Welch, ranks |
| Additivity | Block and treatment effects add; no block × treatment interaction | Tukey's one-degree-of-freedom test; block profile lines in Block 3 | Log transformation for multiplicative effects |
2 · Reading the residual plots
- Q–Q plot: points on the line = normal. An S-shape = heavy or light tails; a curve = skewness; one or two points far off = outliers. The shaded band is a 95 % envelope: a few points outside it are expected.
- Residuals vs fitted: should look like a random cloud around zero. A funnel (wider spread at higher fitted values) = variance grows with the mean → log or square root. A curve = missing term (e.g. a quadratic dose effect) or non-additivity.
- Scale–location: √|residual| against fitted; an increasing trend confirms heteroscedasticity.
- Residuals by treatment: boxes of very different height = unequal variances among treatments.
- Residuals in data order: runs of positive then negative residuals suggest a trend along the field if rows follow the planting order.
3 · Transformations: which one and why
| Situation | Transformation | Notes |
|---|---|---|
| SD proportional to the mean; effects multiplicative (CV constant across treatments) | ln(y) or log₁₀(y) | Use ln(y + 1) when there are zeros. Back-transformed means are geometric means. |
| Counts (insects, weeds, colonies): variance ≈ mean | √y, or √(y + 0.5) with small counts | A Poisson or negative-binomial GLM is the modern alternative. |
| Percentages derived from counts (germination, incidence, mortality) | arcsine √(p) | Only needed when values fall below 20 % or above 80 %. Not for percentages that are ratios of continuous quantities (e.g. moisture %). |
| Proportions away from 0 and 1 | logit | Or a binomial GLM. |
| Rates, times to an event; SD ∝ mean² | 1/y | Rarely needed in agronomy. |
| Unsure | Box–Cox λ | The profile likelihood tells you which power is supported by the data; λ = 1 means "leave it". |
4 · Non-parametric analysis of designed experiments
Rank-based procedures replace the observations by their ranks and therefore do not need normality; they are the natural choice for ordinal scores, small samples with outliers and heavily skewed measurements.
| Design | Test | Parametric analogue | Post-hoc comparisons |
|---|---|---|---|
| One factor, completely randomised | Kruskal–Wallis | One-way ANOVA (CRD) | Dunn (z on mean ranks) or pairwise Mann–Whitney, with Holm / Bonferroni / FDR adjustment |
| One factor in complete blocks, one plot per block × treatment | Friedman | RCBD | Conover (t on rank sums) or Nemenyi (studentized range) |
| Two crossed factors | Scheirer–Ray–Hare | Two-way ANOVA | — |
| Any factorial or blocked design, interactions included | Aligned Rank Transform (ART) | Full factorial ANOVA | Tukey HSD on aligned ranks of each main effect |
| Normal data, unequal variances | Welch ANOVA | One-way ANOVA | Games–Howell |
Rank tests lose little power when the data are actually normal (about 5 % for Kruskal–Wallis vs the F-test) and can gain a lot when they are not. Their hypotheses are about the whole distribution (stochastic dominance), usually summarised as medians.
1 · Model and residual diagnostics
Model used for the residuals:
Experimental designs: ANOVA and mean-separation tests
Choose the design that matches how the experiment was laid out, get the ANOVA with the right error terms, separate the means and test trends and contrasts.
Designs, error terms and mean separation — what you need to know
Each design has a linear model and, sometimes, more than one experimental error. The platform builds the model for you; here is what it does and why.
1 · Choosing the design: it is how the treatments were randomised, not how you wish to analyse
| Design | Randomisation | Model | Error terms | Typical use |
|---|---|---|---|---|
| CRD | Treatments to units at random, no restriction | y = μ + τ + ε | 1 | Pots, greenhouse, lab; unequal replication allowed |
| RCBD | Each treatment once in each block, randomised within block | y = μ + β + τ + ε | 1 | Field trials with a gradient (slope, fertility) |
| Latin square | Each treatment once per row and per column | y = μ + ρ + γ + τ + ε | 1 | Two gradients; t = rows = columns (4–8 treatments) |
| Factorial | All A × B combinations, in CRD or RCBD | y = μ + β + α + δ + (αδ) + ε | 1 | Variety × fertiliser, dose × timing |
| Split-plot | A on main plots (within blocks), B on sub-plots within each main plot | two strata | 2 (Error a, Error b) | Irrigation, tillage, sowing date × varieties |
| Split-split-plot | Three nested plot sizes | three strata | 3 | Irrigation × variety × N dose |
| Strip-plot | A in horizontal strips, B in vertical strips, both across the block | three strata | 3 | Machinery treatments in both directions |
| Incomplete blocks | Blocks smaller than t, nested in replicates (lattice, alpha, BIBD) | y = μ + ρ + β(ρ) + τ + ε | 1 | Variety trials with 16–100+ entries |
| Augmented | Checks in every block, new entries once | y = μ + β + τ + ε | 1 (from checks) | Early generations in breeding |
| Nested | B levels differ inside each A | y = μ + α + δ(α) + ε | A tested vs B(A) | Trees within orchards, plants within plots |
Covariates (ANCOVA) are added to any of these models; treatment means are then adjusted to the mean of the covariate. Type III sums of squares are used by default so that unbalanced data and incomplete blocks give adjusted tests; for balanced data Type I and III coincide.
2 · Reading the ANOVA table
- SS partitions the total variation; MS = SS/df; F = MS(source) / MS(its error). The "tested against" column shows which error each F uses.
- Partial η² = SS(source) / [SS(source) + SS(error)]: proportion of variance attributable to the source; an effect size to accompany the p-value.
- CV % = √MSE / grand mean × 100: precision of the trial, the figure reviewers look for.
- R² of the model: how much of the total variation the design explains (blocks included).
- A significant block effect is not a finding about treatments; it means blocking was worthwhile.
- A significant interaction means the answer to "which level of A is best?" depends on B. Report the cell means and simple effects; the main-effect means alone can be misleading.
3 · Which mean-separation test?
| Test | Error rate controlled | Power | Recommended when |
|---|---|---|---|
| Tukey HSD | Family-wise, all pairs | Medium | Default choice for pairwise comparisons; Tukey–Kramer with unequal n |
| Fisher's LSD | Per comparison | High | Few (≤ 4) treatments after a significant F ("protected"); planned comparisons |
| Bonferroni / Šidák / Holm | Family-wise | Low → medium | A small set of pre-planned comparisons; Holm is always preferable to Bonferroni |
| Duncan | Neither (liberal) | High | Historically common in agronomy; many journals no longer accept it |
| SNK | Per step | Medium-high | Multiple range; can declare non-transitive groups |
| REGWQ | Family-wise | Medium-high | Best of the multiple range tests when many means are truly equal |
| Scheffé | All contrasts | Lowest | Contrasts decided after looking at the data |
| Dunnett | Family-wise, vs control | High for its question | Only "is each treatment different from the check?" |
| Games–Howell | Family-wise | Medium | Variances differ among treatments |
Pairwise tests or contrasts? When the factor is quantitative (doses, densities, dates), letters are a poor summary: fit a trend instead. Orthogonal polynomial contrasts partition the treatment SS into linear, quadratic… components; the highest significant one gives the shape of the response, and the fitted equation gives the optimum dose. When treatments have a structure (control vs the rest, organic vs mineral sources), a single planned contrast is more powerful and more informative than all pairwise comparisons.
4 · Reporting the results (what reviewers expect)
- The design, the number of replicates and the model, including any covariate and transformation.
- The ANOVA table or, at least, F with its degrees of freedom and p for every treatment factor and interaction; the CV of the trial.
- Tables of means with SE (or the LSD/HSD value) and letters, stating the test and α; back-transformed means when a transformation was used.
- For quantitative factors, the fitted response curve with its equation and R².
- Effect sizes (partial η²) and confidence intervals where possible; p-values alone are increasingly discouraged.
1 · Design and options
Result graphics
Publication figures built from the analysis in Block 5: means with letters, interactions, response curves, differences, variance partition, field maps and multi-panel composites. Everything is editable and exports at journal resolution.
Making a figure a reviewer will like
Short guidelines, then the gallery.
1 · Which figure for which result
| Result | Best figure | Avoid |
|---|---|---|
| Means of a qualitative factor (varieties, products) | Points or bars with SE and letters; sort by mean when levels have no natural order | 3-D bars, pie charts |
| Few replicates (3–4) | Show every observation (strip plot) with the mean bar; readers can judge the spread | Bars that hide the data |
| Quantitative factor (doses, densities, dates) | Response curve: means ± SE with the fitted equation and the optimum | Bars with letters (they discard the trend) |
| Two factors | Interaction plot (lines) if the interaction matters; grouped bars or a heat map for many levels | Separate main-effect plots when the interaction is significant |
| "Which pairs differ?" | Differences with confidence intervals (Tukey plot) | Letters alone when there are many treatments |
| Field trial with row/column layout | Field map coloured by the residual to reveal spatial trends | — |
2 · Error bars, letters and captions
- State what the bar is: SE (precision of the mean; the usual choice), SD (variability of plots) or 95 % CI. Never leave it implicit.
- Letters: "Means with the same letter are not significantly different (Tukey HSD, α = 0.05)". Put the test in the caption, not the title.
- A level with two letters (ab) belongs to both groups; do not "fix" it by hand.
- The Y axis of a bar chart must start at zero; a point plot may zoom in. Say which in the caption if you zoom.
- Units in the axis label: "Grain yield (t ha⁻¹)".
- Colour-blind-safe palettes (Okabe–Ito, Paul Tol) are available; use distinct line styles or markers in addition to colour when the figure may be printed in greyscale.
3 · Technical requirements of journals
- Resolution: 300 dpi for colour/halftone, 600–1000 dpi for line art. The export bar shows the pixel size and the printed size in cm for each option.
- Width: single column ≈ 8.5 cm, double column ≈ 17.5 cm (Elsevier, Springer, Wiley are similar). At 300 dpi that is ≈ 1000 and 2100 px; choose "High · 4×" or "Publication · 8×" accordingly.
- Formats: TIFF (with resolution tag, uncompressed here), PNG, or vector (SVG → convert to EPS/PDF in Inkscape if the journal insists). JPG only for photographs.
- Fonts: Arial/Helvetica or Times, 8–12 pt at final size; the "Journal" presets below set this.
- Multi-panel: label panels (a), (b)… in bold at the top-left; keep the same axis scale across panels when they are compared.
No analysis yet. Run Block 5 first: the figures here are built from its ANOVA, means and letters.
Report and export
A self-contained report with methods, tables and the figures exactly as you edited them; print it to PDF or download the whole package.
What goes into a good results report
Structure and reproducibility
- Methods: design, replicates, factors and levels, response and units, transformation, model and error terms, mean-separation test and α, software. The platform drafts this paragraph; edit it to your context.
- Results: the ANOVA (F, df, p, CV), means with SE and letters, trends for quantitative factors, and the interaction tables when relevant.
- Figures: numbered, with self-explanatory captions (what the bars are, which test, α). The report embeds them as vector graphics, so they stay sharp in the PDF and can be extracted.
- Reproducibility: the ZIP package includes the data as loaded, every table as CSV and every figure as SVG plus raster at the chosen resolution — enough for a supplementary-material file.
- The HTML report opens in any browser without internet; "Print → Save as PDF" in the browser produces the PDF (A4 margins are pre-set).
No analysis yet. Run Block 5 first: the report is built from its results.
Design generator: randomisation, field layout and replicates
Plan the experiment before sowing: a reproducible randomisation, the field map, the field book to record the data, and the number of replicates you need.
Planning a field experiment
1 · Randomisation done right
- Randomise with a documented seed: the same seed reproduces the same layout, so the plan can be regenerated and audited. Write the seed in the field book.
- Randomise within the structure of the design: within each block (RCBD), within each row and column (Latin square), main plots within blocks and sub-plots within main plots (split-plot).
- Never "improve" a randomisation by hand to avoid adjacent identical treatments; if a layout is agronomically impossible, change the seed and record why.
- Number the plots in the direction of the field operations (serpentine numbering saves walking) and keep the same numbering for the whole season.
2 · Plot size, shape and blocks
- Long, narrow plots oriented along the fertility gradient are more uniform than square ones; blocks are laid out across the gradient so that each block is homogeneous inside.
- Plot size should be large enough to hold a harvest area free of border effects: border rows and plot ends are discarded (e.g. harvest the central 2 rows × 4 m of a 4-row × 5 m plot).
- Typical field-crop plots: 10–30 m² for cereals, 20–50 m² for maize; pot experiments: one plant or a few plants per pot with more replicates.
- Guard rows around the trial and alleys between blocks reduce interference between neighbouring treatments (fertiliser drift, shading, lodging).
3 · How many replicates?
The number of replicates r needed to detect a difference d (as % of the mean) between two treatments, with CV known from previous trials, comes from
r ≥ 2 (tα/2 + tβ)² (CV / d)², solved iteratively because the t-values depend on the error degrees of freedom. The calculator below does this and
also answers the inverse question: with the replicates I can afford, how small a difference can I detect?
- Aim for at least 10–12 error degrees of freedom; with fewer, F-tests and mean comparisons are weak.
- A difference of 10–15 % of the mean with a CV of 10–15 % typically needs 4–6 replicates in an RCBD.
- Power calculations use the CV; the biggest lever is reducing the CV through plot technique and blocking, not adding replicates.