Chip Foundry Services Request Assessment

Interaction Effect

An interaction effect exists when the effect of one factor depends on the level of another factor. If raising temperature increases a response by $5$ units with gas mixture X but by $25$ units with mixture Y, temperature has no single effect to report: its effect depends on the mixture. The interaction is the formal measure of that dependence.

The interaction contrast

For a two-level design, let $\bar{y}_{ab}$ be the mean response with factor A at level $a$ and factor B at level $b$, where $-$ and $+$ denote the low and high levels. The simple effect of A at a fixed level of B is a difference of two cell means, and the interaction contrast is the difference of those simple effects:

$$\hat{I}=(\bar{y}_{++}-\bar{y}_{-+})-(\bar{y}_{+-}-\bar{y}_{--})$$

The contrast is symmetric: it equals the difference of the simple effects of B, so it does not matter which factor is called A. If the factors act additively, the two simple effects are equal and $I=0$; plotted as lines, the response profiles are parallel. In the coded regression form with $x_1,x_2\in\{-1,+1\}$:

$$y=\beta_0+\beta_1x_1+\beta_2x_2+\beta_{12}x_1x_2+\varepsilon,\qquad \beta_{12}=\frac{\hat{I}}{4}$$

The product term $x_1x_2$ carries the interaction. Its coefficient is a quarter of the contrast because the interaction contrast spans a change of $2$ coded units in each factor.

Worked example

A process is run with two temperature levels (A) and two gas mixtures (B, with mixture X as B$-$ and mixture Y as B$+$), with $r=2$ wafers per cell. The responses are $38,42$ for A$-$/B$-$; $48,52$ for A$-$/B$+$; $43,47$ for A$+$/B$-$; and $73,77$ for A$+$/B$+$. The cell means are $40,\,50,\,45,\,75$.

ComparisonCalculationValue
Effect of A at low B$45-40$$5$
Effect of A at high B$75-50$$25$
Interaction contrast $\hat{I}$$25-5$$20$

Each cell has within-cell sum of squares $8$, so $SS_E=32$ on $4$ degrees of freedom and $MS_E=8$. For the $2\times2$ contrast, $SE(\hat{I})=\sqrt{MS_E\cdot 4/r}=\sqrt{8\cdot4/2}=4$, giving $t=20/4=5$ on $4$ degrees of freedom, a two-sided p-value of approximately $0.0075$, and a $95\%$ confidence interval of about $[8.89,\,31.11]$ for $\hat{I}$. Equivalently, $\hat{\beta}_{12}=5$ with standard error $1$ and the interaction $F$-statistic is $t^2=25$. The effect of temperature is five times larger with mixture Y than with mixture X, so a single "average temperature effect" of $15$ would misdescribe both situations.

Crossover interactions and scale

Suppose the means are $\bar{y}_{--}=10$, $\bar{y}_{+-}=15$, $\bar{y}_{-+}=15$, $\bar{y}_{++}=10$. Factor A raises the response by $5$ at low B but lowers it by $5$ at high B. The average effect of A is exactly $0$, yet the interaction contrast is $\hat{I}=-5-5=-10$. A main-effect-only reading would conclude that A does not matter, when it matters in opposite directions. This is a crossover interaction.

Whether an interaction exists can depend on the scale of the response. With multiplicative cell means $10,\,30,\,20,\,60$ in the order $\bar{y}_{--},\bar{y}_{-+},\bar{y}_{+-},\bar{y}_{++}$, the raw-scale contrast is $(60-30)-(20-10)=20$, not zero. On the log scale, $\ln60-\ln30=\ln20-\ln10=\ln2$, so the log-scale interaction is zero. Such an interaction can often be removed by a suitable transformation; a crossover cannot.

Practical use

  • Fit and test the interaction before summarising main effects. If it is significant, report simple effects, or cell means with confidence intervals, rather than one average effect per factor.
  • Keep the lower-order terms when a product term is in the model, so the interpretation does not depend on arbitrary coding choices.
  • Estimating an interaction needs replication or enough runs to leave error degrees of freedom. A model with as many terms as runs has none left to test it.
  • In coded $\pm1$ designs, all coefficients here have the same standard error $\hat{\sigma}/\sqrt{N}$, so an interaction of the same size as a main effect is equally detectable; real interactions are often smaller, so plan the number of runs for the smallest interaction worth acting on.
  • Separate a statistically detectable interaction from a practically important one. Report the contrast with its confidence interval and the size of the effect on the response.