A factorial experiment studies how several factors affect the same outcome: each factor is set at a few levels, and every combination of levels is run [1]. Most often each factor has just two levels. A 2×2 design has two factors with two levels each, four combinations in all; it shows not only what each factor does on its own but also whether the two influence each other, and that interaction is often the most important finding [1].

How the four groups are set up

Suppose a teaching study wants to answer two questions at once: whether to give immediate feedback during practice, and whether to assign more or less practice. Crossing the two factors gives four groups: no feedback with little practice, feedback with little practice, no feedback with much practice, and feedback with much practice. Each participant is randomly assigned to one group, and everyone takes the same test. The four combinations are called treatment combinations, or cells [1].

Two-level factors are often coded −1 and +1 (or 0 and 1) for the low and high level; when the levels are only categories, a convention fixes which value "control" takes [1]. Here the "no feedback, little practice" cell has both factors at their baseline, so it serves as the common control.

Computing main effects and the interaction

Here are illustrative cell means (not data from a real study):

Little practice Much practice
No feedback 60 65
Feedback 64 77

The main effect of a two-level factor is the average response of all runs at its high level minus the average response of all runs at its low level [1]. The main effect of feedback is (64 + 77) ÷ 2 − (60 + 65) ÷ 2 = 70.5 − 62.5 = 8 points; the main effect of practice is (65 + 77) ÷ 2 − (60 + 64) ÷ 2 = 71 − 62 = 9 points.

An interaction is a lack of additivity between factors [1]. With little practice, feedback raises scores by 4 points (64 − 60); with much practice, by 12 points (77 − 65). The difference between these differences is 8 points: the effect of feedback depends on the amount of practice. If the two factors simply added up, the "feedback, much practice" cell would be 60 + 4 + 5 = 69, but it is 77.

Interaction plot: feedback line rises above additive line

Figure: Interaction plot of the illustrative data.

How to read an interaction plot

An interaction plot draws the cell means with one factor's two levels on the horizontal axis and one line for each level of the other factor. Without interaction the lines are parallel; additivity can be seen as a kind of parallelism between the factors [1]. In the plot above, the feedback line is clearly steeper; the dashed line shows where it would run if the lines were parallel, and the gap between the solid and dashed lines is the interaction.

When there is an interaction, main effects need care. A main effect is an average over the levels of the other factor: the 8-point main effect of feedback averages 4 points with little practice and 12 with much practice, and feedback is not worth 8 points at either level [1]. The Montgomery example cited in the Wikipedia article makes the same point: temperature has a positive main effect, yet it matters a lot only when formaldehyde concentration is low and hardly at all when it is high [1]. In such cases it is more useful to report the effect of one factor at each level of the other.

Why not change one factor at a time

The alternative is to change one factor at a time: compare feedback against none with little practice, then compare more practice against less without feedback. With the illustrative data this gives +4 for feedback and +5 for practice, predicting 69 when both are raised and missing the 77 entirely. When the effect of one factor differs across the levels of another, only a factorial design can detect it; using one factor at a time when interactions are present can seriously mislead about how the outcome responds to the factors [1].

This is not just a theoretical worry. The Wikipedia article relays an example told by the statistician George Box: engineers at the bearing maker SKF only wanted to compare a standard and a cheaper cage design, but the statistician Christer Hellstrand turned the test into a 2×2×2 factorial design that added two more factors without adding runs, and it revealed that raising outer ring osculation and inner ring heat treatment together could make bearings last five times longer [1]. As early as 1926, Ronald Fisher argued that a factorial design can estimate several factors and even their interactions with the same number of trials, and the same precision, needed to estimate any one of them alone [1].

Points for running and analysing it

  1. Randomise. As in any experiment, randomly assign participants or experimental units to the cells to reduce the impact of bias; in practice this can be a considerable operational challenge [1].
  2. Replicate. Each cell needs several independent observations to estimate experimental error; when there are many factors and replication is hard, higher-order interactions are sometimes assumed negligible and their estimates used as error [1].
  3. Analyse. Use two-way analysis of variance or a regression with an interaction term to test both main effects and the interaction, alongside main-effect and interaction plots [1].
  4. Mind the size and the linearity assumption. The number of combinations in a full factorial grows exponentially with the number of factors: ten two-level factors give 1,024 combinations, where a fractional factorial design may be used instead. With continuous factors at only two levels, effects are assumed linear; when curvature is expected, a more complex design is needed [1].
  5. Report to the standard. Factorial randomised trials have their own reporting guidelines: the CONSORT 2010 extension for factorial trials and the SPIRIT 2013 extension for factorial trial protocols [1].

References

  1. Factorial experiment, Wikipedia, accessed 2026-11-19