AgriDesign · experimental design lab
Experimental design for agricultural research · crops and livestock

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.

Runs entirely in your browser Your data never leave your computer Fourteen designs · eleven mean tests Figures up to 900 dpi · PNG, TIFF, SVG Free for teaching and research

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.

STEP 1
Load & check
one row per plot, roles for every column
STEP 2
Explore
descriptive statistics and plots
STEP 3
Check assumptions
normality, variances, additivity
STEP 4
Analyse
ANOVA for your design + mean tests
STEP 5
Illustrate
editable figures with letters
STEP 6
Publish
report, tables, ZIP
STEP 7
Plan the next one
randomised layout, replicates

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.

4
1.2 SD
2.0 SD
F
p
CV
df
F
p
CV
df

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…DesignTypical case
One factor, homogeneous units, no gradientCompletely randomised (CRD)pots on a bench, animals of one weight
One factor, one known gradientRandomised complete block (RCBD)field slope, litter or barn, sampling day
One factor, two gradientsLatin squarerows × columns of a field; animals × periods
Two or more factors studied togetherFactorial in CRD or RCBDvariety × fertiliser, breed × diet
One factor applied to large plots, another inside themSplit-plotirrigation × varieties, pasture × stocking
Many treatments, blocks too small to hold them allIncomplete blocks (lattice, alpha)variety trials with 20–100 entries
A numeric variable measured before the treatmentAny 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.

Open the Zenodo record ↗ Source code on GitHub ↗
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.

2

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.

Other requirements you should be able to state A clearly written objective and hypotheses · the experimental unit (what receives the treatment) · the observational unit (what is measured; may be smaller) · a control or check treatment · the response variables and their units · the number of replicates justified by the expected CV · uniform management of everything that is not a treatment · border rows and guard plots to avoid interference between neighbours.
2 · Vocabulary the platform uses
TermMeaningExample
TreatmentA condition whose effect you want to measure0, 60, 120, 180 kg N/ha
FactorA group of related treatments (its levels)Factor "Nitrogen" with 4 levels
FactorialTwo or more factors studied together, all combinations3 varieties × 3 fertiliser doses = 9 treatments
Experimental unit (plot)The smallest unit that receives one treatment independentlyA 5 × 4 m plot, a pot, a tree
ReplicateOne complete set of all treatments (in blocked designs) or one unit per treatmentBlock 1, Block 2…
BlockA group of homogeneous plots containing every treatmentA strip of land along the slope
Response variableWhat is measured on each unitYield (t/ha), plant height (cm), severity (1–9)
CovariateA numeric variable measured before the treatment acts, used to adjust the responseInitial plant stand, soil N
Experimental errorVariation among units treated alike; the yardstick against which treatment differences are judgedEstimated by the residual mean square
CV (%)√MSE / grand mean × 100; a measure of trial precisionYield 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
BlockNitrogenVarietyYield
10A4.6
160A6.2
10B5.1
20A3.9

Every value of Block, Nitrogen and Variety is repeated on each row. Each column has a single type.

✗ Avoid
Block 1Block 2Block 3
Nitrogen 04.63.94.3
5.14.44.8
Nitrogen 606.25.55.9
Mean5.34.65.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, not 4,6 t/ha).
  • Missing plots: leave the cell empty or write NA. Do not write 0 for a missing value.
  • Consistent level names: Control and control and Control are 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 scaleExamplesUsual roleAnalysis consequences
Nominal (categories without order)Variety, fungicide, soil typeTreatment factor / blockCompared with ANOVA and mean-separation tests
Ordinal (ordered categories)Disease score 1–9, vigour 1–5Response (ordinal)ANOVA is questionable; use Kruskal–Wallis / Friedman or ordinal models (Block 4)
Discrete countsNumber of pods, insects per plantResponse√ or log transformation, or Poisson GLM, when counts are small or variance grows with the mean
Proportions / percentagesGermination %, incidence %ResponseArcsine-√ (percentages from counts) or logit; values near 0 or 100 % are the problem
ContinuousYield, height, dry mass, pHResponseIdeal for ANOVA; check normality and homogeneity of variances
Quantitative factorDose 0/60/120/180, densityTreatment factorANOVA plus polynomial (trend) contrasts or regression on dose
Numeric codes for treatments If your treatments are coded 1, 2, 3, 4 the column looks numeric. The platform flags it as "integer codes" and proposes Treatment factor. Confirm the role, otherwise the codes would be analysed as a measurement.
5 · Which design do I have? (quick guide)
Your data have…DesignModel
One factor, no blockingCompletely randomised (CRD)y = μ + τ + ε
One factor, one block column, each treatment once per blockRandomised complete block (RCBD)y = μ + β + τ + ε
One factor, each treatment several times per blockGeneralised RCBDy = μ + β + τ + (βτ) + ε
One factor, row and column blocking, t = rows = columnsLatin squarey = μ + ρ + γ + τ + ε
Two or more factors, all combinations, with or without blocksFactorial in CRD / RCBDy = μ + β + α + δ + (αδ) + ε
Two factors, one applied to large plots and the other to sub-plots inside themSplit-plotTwo error terms (main plot, sub-plot)
Three factors nested in plots, sub-plots, sub-sub-plotsSplit-split-plotThree error terms
Two factors applied in perpendicular stripsStrip-plot (split-block)Three error terms
Many treatments, blocks smaller than the number of treatmentsIncomplete blocks: lattice, alpha, BIBDAdjusted means
Many new genotypes plus a few repeated checksAugmented designChecks estimate the error
The same plot measured on several datesRepeated measuresSplit-plot in time / mixed model
A numeric variable measured before treatmentAny of the above + covariateANCOVA
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

.xlsx.xls.xlsm.xlsb.ods.csv.tsv.txt.json.dat
Only for .csv / .txt files.
Latin American Excel often exports with a comma.
Paste from the clipboard instead

Or try an example dataset

3

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?
StatisticFormulaDescribesUse it when
Standard deviation (SD)√[Σ(y − ȳ)² / (n − 1)]Variability of the individual plotsYou want to show how spread out the observations are
Standard error (SE)SD / √nPrecision of the meanYou compare means (most treatment-mean figures)
95 % confidence intervalȳ ± t0.975, n−1 · SERange of plausible values for the true meanYou want the reader to judge differences by eye
CV (%)SD / ȳ × 100Relative variability, unit-freeComparing precision between trials or variables
CV benchmarks in agronomy For grain-yield field trials a CV of 10–20 % is normal; below 10 % is excellent; above 30 % suggests problems (heterogeneous field, poor plot technique, errors). Plant height and phenology usually have CV < 10 %; insect counts and disease scores often exceed 30 %. The CV that journals ask for is the one from the ANOVA (√MSE / grand mean), which Block 5 reports.
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

Factor, block, or all treatment combinations.

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.

4

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
AssumptionMeaningHow it is checked hereIf it fails
IndependenceThe error of one plot tells nothing about its neighbourGuaranteed by randomisation; Durbin–Watson and the residuals-in-order plot only reveal gross patternsNothing fixes it afterwards: block properly next time; spatial models
Normality of errorsResiduals follow a bell-shaped curveShapiro–Wilk (best for n < 50), Anderson–Darling, Jarque–Bera; Q–Q plotF is robust with balanced designs; transform, or rank-based tests
Homogeneity of variancesAll treatments have the same error varianceLevene (median-centred; robust), Bartlett (sensitive to non-normality), Fligner–Killeen, Fmax; residuals vs fitted plotMost damaging for mean comparisons; transform (log if SD ∝ mean), Welch, ranks
AdditivityBlock and treatment effects add; no block × treatment interactionTukey's one-degree-of-freedom test; block profile lines in Block 3Log transformation for multiplicative effects
How much does it matter? With equal replication and 3–6 treatments, the F-test keeps its nominal α well even under moderate non-normality . Unequal variances matter more, especially when the treatment with the largest variance also has the fewest replicates. A single wrong value can make every test fail at once — look at the outlier table first.
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
SituationTransformationNotes
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 countsA 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 1logitOr a binomial GLM.
Rates, times to an event; SD ∝ mean²1/yRarely needed in agronomy.
UnsureBox–Cox λThe profile likelihood tells you which power is supported by the data; λ = 1 means "leave it".
Rules The whole analysis (ANOVA, mean separation, letters) is done on the transformed scale. Report back-transformed means for readability and say so in the caption. Never transform only to "get significance". Ordinal scores (1–9) are not helped by transformations: use the rank-based methods.
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.

DesignTestParametric analoguePost-hoc comparisons
One factor, completely randomisedKruskal–WallisOne-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 × treatmentFriedmanRCBDConover (t on rank sums) or Nemenyi (studentized range)
Two crossed factorsScheirer–Ray–HareTwo-way ANOVA
Any factorial or blocked design, interactions includedAligned Rank Transform (ART)Full factorial ANOVATukey HSD on aligned ranks of each main effect
Normal data, unequal variancesWelch ANOVAOne-way ANOVAGames–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:

5

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
DesignRandomisationModelError termsTypical use
CRDTreatments to units at random, no restrictiony = μ + τ + ε1Pots, greenhouse, lab; unequal replication allowed
RCBDEach treatment once in each block, randomised within blocky = μ + β + τ + ε1Field trials with a gradient (slope, fertility)
Latin squareEach treatment once per row and per columny = μ + ρ + γ + τ + ε1Two gradients; t = rows = columns (4–8 treatments)
FactorialAll A × B combinations, in CRD or RCBDy = μ + β + α + δ + (αδ) + ε1Variety × fertiliser, dose × timing
Split-plotA on main plots (within blocks), B on sub-plots within each main plottwo strata2 (Error a, Error b)Irrigation, tillage, sowing date × varieties
Split-split-plotThree nested plot sizesthree strata3Irrigation × variety × N dose
Strip-plotA in horizontal strips, B in vertical strips, both across the blockthree strata3Machinery treatments in both directions
Incomplete blocksBlocks smaller than t, nested in replicates (lattice, alpha, BIBD)y = μ + ρ + β(ρ) + τ + ε1Variety trials with 16–100+ entries
AugmentedChecks in every block, new entries oncey = μ + β + τ + ε1 (from checks)Early generations in breeding
NestedB levels differ inside each Ay = μ + α + δ(α) + εA tested vs B(A)Trees within orchards, plants within plots
Split-plot is the most common mistake If the main-plot factor was applied to large plots and the sub-plot factor inside them, the main-plot factor must be tested against Error a (block × main plot), which has few degrees of freedom. Analysing it as a factorial RCBD uses the sub-plot error and produces false significance for the main-plot factor. The sub-plot factor and the interaction are tested against Error b and are estimated more precisely — this is the design's purpose.

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.
  • 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?
TestError rate controlledPowerRecommended when
Tukey HSDFamily-wise, all pairsMediumDefault choice for pairwise comparisons; Tukey–Kramer with unequal n
Fisher's LSDPer comparisonHighFew (≤ 4) treatments after a significant F ("protected"); planned comparisons
Bonferroni / Šidák / HolmFamily-wiseLow → mediumA small set of pre-planned comparisons; Holm is always preferable to Bonferroni
DuncanNeither (liberal)HighHistorically common in agronomy; many journals no longer accept it
SNKPer stepMedium-highMultiple range; can declare non-transitive groups
REGWQFamily-wiseMedium-highBest of the multiple range tests when many means are truly equal
SchefféAll contrastsLowestContrasts decided after looking at the data
DunnettFamily-wise, vs controlHigh for its questionOnly "is each treatment different from the check?"
Games–HowellFamily-wiseMediumVariances differ among treatments
Reading the letters Means followed by the same letter are not significantly different at the stated α. A level may carry two letters (ab) when it differs from neither group: the test found no transitivity, and that is a legitimate result, not an error. Always state the test and α in the table footnote or figure caption, and report the SE or the minimum significant difference.

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

Only designs compatible with the roles in Block 2 are enabled. ★ = suggested from the data structure.

6

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
ResultBest figureAvoid
Means of a qualitative factor (varieties, products)Points or bars with SE and letters; sort by mean when levels have no natural order3-D bars, pie charts
Few replicates (3–4)Show every observation (strip plot) with the mean bar; readers can judge the spreadBars that hide the data
Quantitative factor (doses, densities, dates)Response curve: means ± SE with the fitted equation and the optimumBars with letters (they discard the trend)
Two factorsInteraction plot (lines) if the interaction matters; grouped bars or a heat map for many levelsSeparate 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 layoutField 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.

7

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.

8

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.

1 · Generate a randomised layout

Layout, numbering and field-book options

4 · Replicates and power

From previous trials on the site.