How to run it
- Arrange the data with one row per plot: environment (location, season or location-year), replication, genotype and one column per trait. Every genotype must appear once in every replication at every environment, with the same number of replications everywhere.
- Choose whether environments are fixed (you care about these particular sites) or random (the sites represent a target region). This decides the error used to test and compare genotypes.
- Click Run multi-location analysis. Download the R script to reproduce it with agricolae.
How to read the output
- Bartlett's test checks whether the error variances of the sites are similar. If they differ strongly (a rule of thumb is a ratio of largest to smallest error mean square above 3), the pooled analysis should be interpreted with care.
- Environments are tested against replications within environments. With environments fixed, genotypes and G × E are tested against the pooled error; with environments random, genotypes are tested against G × E.
- Eberhart and Russell: a regression coefficient b near 1 means average response to better environments; b above 1, a genotype that profits more from good conditions; b below 1, one that is more stable across poor and good sites. A small, non-significant S²d means the response is predictable.
- AMMI splits the G × E interaction into principal components. In the AMMI1 biplot, genotypes and environments with PC1 scores of the same sign interact positively; genotypes near zero on PC1 are stable.
How results are checked
The combined ANOVA and AMMI scores match agricolae::AMMI; site analyses match lm; Bartlett's test matches bartlett.test; stability parameters match per-genotype lm regressions; letters match agricolae. See the validation page.