- Introduced by
- Ronald A. Fisher
- Year
- 1935
- Type
- Parametric blocked ANOVA
What does it do?
The Latin square design is a blocked experimental design that controls two nuisance factors, a row block and a column block, at the same time.
Each of the n treatments appears exactly once in every row and every column of an n×n arrangement. Ronald A. Fisher set out the design in his 1935 book The Design of Experiments. By absorbing variation from both blocking factors before treatment effects are estimated, it can substantially reduce experimental error compared with a completely randomised layout.
The intuition behind the method
Imagine a field trial in which both a north-south gradient in soil moisture and an east-west gradient in sunlight could mask the true effect of different fertiliser treatments. A Latin square lays out the treatments so that each one appears once in each row and once in each column, so that row and column differences can be separated from the treatment comparison. The Greco-Latin square extends this idea by overlaying a second set of symbols, usually written as Greek letters, on the Latin letters, so that a third blocking factor is controlled within the same n×n units.
History
Ronald A. Fisher gave a systematic account of the Latin square as an experimental design in his 1935 book The Design of Experiments, showing how the balanced row-and-column structure removes two independent sources of nuisance variation from the error. Douglas Montgomery's Design and Analysis of Experiments, now in its ninth edition (2017), is a standard practitioner reference for engineering and industrial applications. The Greco-Latin square extends the same blocking logic to a third factor. Earlier origins of the arrangement are not covered here.
When to use it
Use a Latin square when you have a single continuous response, exactly n treatments, and two identifiable nuisance factors that each have exactly n levels and that you want to block out at once. The design is common in agricultural field trials, crossover studies, and industrial process experiments where row and column gradients cannot be avoided. Three assumptions must hold: row, column, and treatment effects are additive with no interactions among them; errors are independent, normally distributed, and have equal variance; and every treatment appears once per row and once per column. In crossover use, the additive model also requires that no treatment carries over into later periods. Where carryover is plausible, washout periods or a crossover layout that accounts for carryover are needed. If interactions between the blocking factors and treatments are suspected, a factorial design with replication is more appropriate. When the squares are very small and the error degrees of freedom are too few to give useful power, a randomised complete block design, which blocks on one factor only, may be the more practical choice.
Limitations and considerations
- The n×n symmetry requirement means the number of treatments, row levels, and column levels must all be equal, which can be restrictive in practice.
- The additive model assumes no interaction between treatments and blocking factors; if interactions exist, the F test is not valid as specified.
- Error degrees of freedom equal (n−1)(n−2), so small squares leave very few error degrees of freedom; for n = 3 there are only 2, which gives low power unless the square is reasonably large.
- In the standard model each treatment-row-column combination receives only one observation; replication requires additional squares.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- The row and column terms are fitted and removed from the error, so the treatment comparison uses only the residual left after both blocking factors are accounted for, without needing more than the n² experimental units.
- Well suited to experiments where crossing the two blocking factors is practically unavoidable, such as time of day crossed with operator in industrial trials.
- The Greco-Latin extension, formed by superimposing two orthogonal Latin squares, blocks a third factor within the same n² units.
- The analysis uses the standard ANOVA partition of sums of squares, so the treatment F test has the same form as in other blocked ANOVA designs.
Applications
- Agricultural field trials controlling for soil gradients in two directions while comparing fertiliser or crop varieties.
- Pharmaceutical crossover studies in which patient, period, and sequence all constitute nuisance factors, provided treatment carryover between periods is negligible or removed by washout periods.
- Industrial process experiments where machine, operator, and time of day are simultaneous sources of variation.
- Educational research designs in which school, classroom, and week effects must be separated from the instructional treatment effect.
- Sensory evaluation studies balancing subject, serving order, and position effects when testing multiple product formulations.
How it works
How it works
The null hypothesis states that all treatment effects are zero, meaning none of the treatments shifts the response away from the grand mean. The alternative asserts that at least one treatment has a non-zero effect. Row and column effects are nuisance parameters included in the model only to remove their variation from the error term.
Formula
H_0:\ \tau_1 = \tau_2 = \cdots = \tau_n \quad H_1:\ \text{at least one } \tau_i \neq 0The total variability in the response is partitioned into four components: rows, columns, treatments, and residual error. The mean square for treatments is divided by the mean square for error to form the F ratio. Because the two blocking factors have already absorbed part of the variation, the error mean square is typically smaller than it would be in a completely randomised design, which tends to increase the power of the test for a given number of observations. For an n×n Latin square the error has (n−1)(n−2) degrees of freedom.
Formula
F = \dfrac{MS_{\text{treatment}}}{MS_{\text{error}}} = \dfrac{SS_{\text{treatment}}/(n-1)}{SS_{\text{error}}/[(n-1)(n-2)]}The observed F ratio is compared with the critical value from the F distribution with n−1 numerator and (n−1)(n−2) denominator degrees of freedom. If the ratio exceeds the critical value at the chosen significance level, the null hypothesis is rejected and post-hoc comparisons can be used to identify which treatments differ. The error degrees of freedom are small for small squares; for n = 3 there are only 2, so power should be checked before this design is adopted.
Formula
\text{reject } H_0 \text{ if } F > F_{\alpha,\, n-1,\, (n-1)(n-2)}Common pitfalls
- Overlooking the no-interaction assumption. If treatment effects differ across rows or columns, the F test is biased.
- Assuming additivity without checking it. Inspect residuals by row and column, or apply Tukey's one-degree-of-freedom non-additivity test; if the check fails, do not report the Latin square F as valid.
- Choosing a very small n without a power analysis. With n = 3 the error has only 2 degrees of freedom.
- Treating the design as a completely randomised design and reporting only the treatment sum of squares while omitting the row and column partition.
- Running post-hoc comparisons across the n treatment levels without adjusting for multiple comparisons.
Frequently asked questions
What is the difference between a Latin square and a randomised complete block design?
A randomised complete block design controls one nuisance factor by grouping experimental units into blocks. A Latin square controls two nuisance factors simultaneously — the row variable and the column variable — at the cost of requiring that the number of treatments equal the number of row levels and the number of column levels. When you have only one blocking dimension, the randomised block design is simpler and wastes fewer degrees of freedom on the second blocking factor.
How many degrees of freedom does the error term have?
For an n×n Latin square the error (residual) has (n−1)(n−2) degrees of freedom. For n = 3 that is only 2, for n = 4 it is 6, and for n = 5 it is 12. Very small squares therefore have limited power, and a power analysis should be conducted to verify that the chosen n provides adequate sensitivity before the experiment is run.
What should I do if I suspect an interaction between a blocking factor and the treatment?
The standard Latin square model assumes additivity — that row, column, and treatment effects combine without interaction. If subject-matter knowledge or preliminary data suggest that the treatment effect differs across rows or columns, the additive model is inappropriate. In that case a full factorial design with replication is the correct choice, as it explicitly estimates the interaction terms.
When should I use a Greco-Latin square instead of a plain Latin square?
Use a Greco-Latin square when you have three nuisance factors — rows, columns, and a third factor such as operator, batch, or time period — each with exactly n levels, and you want to remove all three simultaneously. The Greco-Latin square is formed by superimposing two mutually orthogonal Latin squares, ensuring that every treatment appears exactly once in combination with every level of every blocking factor. Orthogonal Latin squares of order 6 do not exist, so the Greco-Latin square cannot be constructed for n = 6.
Related methods
Sources
Montgomery, D. C. (2017). Design and Analysis of Experiments (9th ed.). Wiley.
ISBN: 978-1119492443Fisher, R. A. (1935). The Design of Experiments. Oliver & Boyd.
Open publication reference2015_Book_StatisticalAnalysisAndDataDisp, p. 436