Tutorials › ANOVA › Additivity and Interaction Limits in Latin Squares

Analyzing Latin Square and Incomplete Block Data · Tutorial 152 of 595

Additivity and Interaction Limits in Latin Squares

Learn what additivity means in a Latin square, why treatment-by-block interactions are aliased with block effects, and what the usual residual variation can—and cannot—tell you.

Intermediate 10 min read

What You'll Learn

  • State the additive Latin-square model and its assumptions
  • Explain why each row-treatment and column-treatment combination occurs only once
  • Show how treatment-by-row interactions can be aliased with column effects
  • Interpret the residual degrees of freedom without treating them as replicated pure error
  • Recognize how nonadditivity can limit treatment comparisons and F tests
  • Distinguish a varying observed treatment difference from a separately estimated interaction

Why Additivity Matters in a Latin Square

A Latin square controls two blocking factors at once: each treatment appears once in every row and once in every column. That balance is useful when row and column differences are nuisance variation. But it comes with an important limit: there is only one observation in each row-column cell. The usual Latin-square analysis therefore relies on treatment and block effects being additive, rather than changing according to which row or column receives a treatment.

If the effect of a treatment really does vary across rows or columns, the standard analysis has no separate set of replicated observations with which to disentangle that variation from other sources. The resulting treatment comparisons may still be calculated, but interpreting them as a common treatment effect requires care.

The Additive Model and Its Assumptions

Let the Latin square have order \(k\), so that there are \(k\) rows, \(k\) columns, and \(k\) treatments, with \(k^2\) observations altogether. Let \(Y_{ij}\) be the response in row \(i\), column \(j\), and let \(T_{ij}\) denote the treatment assigned to that cell. The standard model is

$$ Y_{ij}=\mu+\rho_i+\gamma_j+\tau_{T_{ij}}+\varepsilon_{ij}. $$

Here, \(\mu\) is the overall mean; \(\rho_i\) is the effect of row \(i\); \(\gamma_j\) is the effect of column \(j\); and \(\tau_{T_{ij}}\) is the effect of the treatment assigned to that cell. A common identifiability convention is \(\sum_i\rho_i=0\), \(\sum_j\gamma_j=0\), and \(\sum_t\tau_t=0\). These constraints define the effects relative to the overall mean.

Definition: The Latin-square model is additive when a treatment contributes the same effect regardless of the row or column in which it is used. In model terms, there are no treatment-by-row or treatment-by-column interaction terms. Under additivity, the expected response for a treatment can shift with the row and column effects, but the treatment difference itself does not change across those blocks.

For the usual ANOVA F tests, the model also assumes that the errors are independent, have mean zero and a common variance \(\sigma^2\), and are normally distributed conditional on the design: \(\varepsilon_{ij}\sim N(0,\sigma^2)\). The treatments must have been allocated according to the randomization scheme for the Latin square. These conditions justify treating the remaining variation as error when testing treatment effects. If the additive mean structure is wrong, the usual error term may contain systematic interaction variation instead of only random error.

Worked Example: What the Usual Residual Degrees of Freedom Represent

Suppose a hypothetical Latin square has \(k=4\) treatments, four rows, and four columns. There is one response in each of its \(4^2=16\) cells. Find the usual ANOVA degrees of freedom and explain what the residual degrees of freedom mean.

The total degrees of freedom are \(16-1=15\). Rows use \(4-1=3\) degrees of freedom, columns use \(4-1=3\), and treatments use \(4-1=3\). Thus the residual degrees of freedom are

$$ df_{\text{residual}}=15-3-3-3=6. $$

Equivalently, \(df_{\text{residual}}=(k-1)(k-2)=(4-1)(4-2)=6\). These six degrees of freedom are the departures from the fitted additive row, column, and treatment pattern. There is no repeated observation in any row-column cell to provide a separate estimate of pure measurement error. Consequently, if interactions are present, some of their variation can enter the residual sum of squares. The six residual degrees of freedom are not six independent replicates of an otherwise identical condition.

Why Treatment-by-Block Interactions Cannot Be Isolated

In every row, each treatment occurs exactly once. Therefore, for any particular row-treatment pair, there is exactly one observed response. The same is true for every column-treatment pair. An interaction would describe a departure from additivity for such a pair, but there is no second observation at that same pair to distinguish that departure from random error.

There is a further, exact aliasing problem. Because each treatment occurs once in every row, the column containing a given row-treatment pair is determined by the Latin-square layout. Any pattern of column effects can therefore be written as a pattern over row-treatment pairs. The next calculation shows this directly.

Worked Example: A Treatment-by-Row Pattern Can Duplicate Column Effects

Consider this hypothetical order-three Latin square:

RowColumn 1Column 2Column 3
1ABC
2BCA
3CAB

Suppose the column effects are \(\gamma_1=-2\), \(\gamma_2=0\), and \(\gamma_3=2\) response units. They sum to zero. Define a row-by-treatment pattern by assigning each row-treatment pair the effect of the column in which that pair occurs. The resulting values are:

RowEffect for AEffect for BEffect for C
1-202
22-20
302-2

For example, row 2 treatment A occurs in column 3, so its assigned value is \(\gamma_3=2\). In each row the three values sum to zero, and for each treatment the values across rows also sum to zero. Thus this is a centered row-by-treatment pattern, yet on every observed cell it gives exactly the same contribution as the column effect. The data cannot tell whether this pattern came from column effects or from this component of a treatment-by-row interaction.

The same reasoning applies in the other direction: because each treatment occurs once in every column, a treatment-by-column pattern can duplicate row effects. Adding unrestricted treatment-by-row interactions to the standard model would use all the row-by-treatment combinations; there is just one observation for each. Such a model cannot also distinguish column effects and residual error. The analogous limit holds for unrestricted treatment-by-column interactions.

What the Standard ANOVA Can and Cannot Say

Under the additive model, the standard ANOVA separates variation into row, column, treatment, and residual components. With \(k^2\) observations, the degrees of freedom are \(k^2-1\) in total, \(k-1\) for each of rows, columns, and treatments, and

$$ k^2-1-3(k-1)=(k-1)(k-2) $$

for the residual. The usual treatment F statistic divides the treatment mean square by the residual mean square. Its standard interpretation depends on the additive model and the error assumptions: the denominator is being used as an estimate of random error variation after accounting for the fitted effects.

If treatment-by-row or treatment-by-column interaction is present, the treatment effect is not a single common shift across blocks. Interaction variation may be included in the residual, and the ordinary residual mean square then combines random error with departures from additivity. In addition, interaction patterns can be aliased with block effects. As a result, the usual F test may not have its intended error interpretation, and adjusted treatment comparisons should not automatically be described as effects that would be the same in every row and column.

A treatment comparison can still be reported as an average over the rows and columns represented in the square, but that average does not establish that the treatment difference is constant across blocks. Without replication or further design and modeling assumptions, the standard Latin-square analysis cannot identify the separate interaction pattern and its uncertainty.

Worked Example: A Marginal Difference Can Hide Variation Across Rows

In a hypothetical order-three square with the layout above, suppose the observed responses, in response units, are:

RowColumn 1Column 2Column 3
110 (A)12 (B)20 (C)
218 (B)20 (C)10 (A)
320 (C)20 (A)22 (B)

The treatment means are the averages of the three responses for each treatment:

$$ \bar{Y}_A=\frac{10+10+20}{3}=\frac{40}{3}\approx13.33,\qquad \bar{Y}_B=\frac{12+18+22}{3}=\frac{52}{3}\approx17.33,\qquad \bar{Y}_C=\frac{20+20+20}{3}=20. $$

The marginal A-minus-C difference is \(40/3-20=-20/3\approx-6.667\) response units. But the observed A-minus-C differences within the three rows are \(10-20=-10\), \(10-20=-10\), and \(20-20=0\) response units. The contrast is not the same in these rows.

This pattern cautions against saying that A is exactly 6.667 units below C in every row. It does not, by itself, establish a treatment-by-row interaction: each treatment is also in a different column within a row, and column effects can contribute to the observed differences. The square supplies no separate replicated comparison that resolves these explanations. The marginal contrast is a descriptive average for these data; a common treatment-effect interpretation relies on additivity.

Diagnosing Departures Without Overclaiming

Residuals from the additive fit can be inspected for conspicuous patterns, just as residuals are used to assess model fit in other ANOVA settings. However, in a Latin square with one observation per cell, such a pattern does not identify its source. It may reflect treatment-by-row interaction, treatment-by-column interaction, row-by-column nonadditivity, an unusual observation, or random error. The usual residual degrees of freedom do not provide independent replication for separating these possibilities.

The design choice matters before data collection. If scientifically important treatment effects may differ by row or column, a design with replication or other structure that permits those interactions to be estimated is needed. The analysis should then match that design. A standard Latin-square table alone cannot recover interaction information that its layout does not separately identify.

Common Mistakes

  • Calling every residual a pure error estimate. The residual includes departures from the additive fit; systematic interactions can contribute to it.
  • Claiming the standard analysis has tested interaction. A residual pattern may prompt concern, but the usual Latin-square ANOVA does not separately estimate unrestricted treatment-by-row or treatment-by-column interaction.
  • Interpreting an average contrast as constant in every block. A marginal treatment difference summarizes the observed square; it does not demonstrate that the same difference holds in every row and column.
  • Attributing a changing within-row difference specifically to treatment-by-row interaction. The treatments occupy different columns within each row, so column effects are another explanation that the design does not separate in this comparison.
Key takeaway: Standard Latin-square ANOVA relies on additive treatment and block effects. With one observation in each row-column cell, treatment-by-row and treatment-by-column interactions cannot be separately disentangled from block effects and residual variation. Interpret treatment tests and comparisons with that limitation in view.

Check Your Understanding

Try these questions before reviewing the explanations above.

  1. Write the additive Latin-square model and state what additivity says about treatment effects across rows and columns.
  2. For a square of order \(k=5\), calculate the usual residual degrees of freedom.
  3. Why can a treatment-by-row pattern duplicate column effects in the observed data?
  4. What does the usual residual mean square contain if treatment-by-block interaction is present?
  5. Why does a changing observed treatment contrast across rows not, by itself, identify treatment-by-row interaction?
Clinical Biostats