An example with "de"
Six genotypes in three blocks, compared with Tukey's HSD at α = 0.05 (the sample data of the ANOVA tool):
| Genotype | Mean yield | Group |
|---|---|---|
| G5 | 31.47 | a |
| G3 | 27.97 | b |
| G6 | 25.43 | c |
| G2 | 23.30 | d |
| G4 | 21.87 | de |
| G1 | 20.53 | e |
- G5, G3 and G6 each have their own letter: each differs from every other genotype.
- G4 ("de") shares "d" with G2 and "e" with G1, so G4 does not differ significantly from either of them.
- G2 ("d") and G1 ("e") share no letter, so they do differ.
This is not a contradiction. "Not significantly different" means the data cannot separate two means, not that they are equal. G4 lies between G2 and G1 and is too close to either to be separated, while G2 and G1 are far enough apart (2.77, more than the HSD of 1.90).
What the letters do not tell you
- "ab" is not an in-between level of significance. It only says which groups a mean overlaps with.
- Letters are not effect sizes. Two treatments with different letters may differ by an amount that is too small to matter in practice. Report the means and a standard error or the critical difference as well.
- Letters only apply within one table. Do not compare letters across traits, years or separate analyses; each table has its own error term.
- Letters depend on the test and α. The same data can give more groups with LSD or Duncan than with Tukey; see Tukey vs LSD vs Duncan.
- No letters without a significant F-test. If the treatment F-test is not significant, there is no evidence that the treatments differ, and FieldTrialHub shows no letters.
Which mean gets "a"?
By convention, and in FieldTrialHub and the R package agricolae, the highest mean gets "a" and letters follow in decreasing order of the means. Some programs give "a" to the lowest mean or assign letters in another order; the rule about shared letters is the same either way. Say in your table footnote which test you used, for example: "Means followed by the same letter are not significantly different (Tukey's HSD, P < 0.05)."
Designs with unequal standard errors
In augmented designs, incomplete-block (alpha-lattice) designs and trials with missing plots, different pairs of means have different standard errors. Letters must then be computed pair by pair from the actual p-values, which FieldTrialHub does in its augmented and alpha-lattice tools, matching the R package multcompView. In a split-plot trial, main-plot and subplot means use different error terms, so they get separate letter tables; see split-plot ANOVA in R.
Get letters for your own data
Paste your data into the free ANOVA tool (one factor, CRD or RCBD) or the factorial ANOVA tool. The letters are computed in your browser and match R's agricolae package; see the validation page.