Study design · Statistics Library

Factorial design

A factorial design tests two or more factors together in one experiment, running every combination of their levels, which lets it detect both each factor's individual effect and how factors interact.

Topic indexA reference reading outside the guided chapter sequence

Understand the idea

Instead of testing one factor at a time (try three temperatures with pressure held fixed, then try three pressures with temperature held fixed), a factorial design tests every COMBINATION of the factors' levels in one experiment: all 3 temperatures crossed with all 3 pressures, for example, giving 9 combinations.

This is more than just efficient bookkeeping: testing one factor at a time can never detect an INTERACTION, a case where temperature's effect depends on which pressure it is combined with. A factorial design is the only standard way to see that kind of dependency, because it is the only design that actually varies both factors together.

It also uses the data more efficiently than testing factors separately: every run in a factorial design contributes information about EVERY factor at once, rather than each one-factor-at-a-time experiment only informing about the single factor it varied.

A full factorial design runs every combination of factor levels. A design where each of k factors has two levels is called a 2^k design, because it needs 2 multiplied by itself k times runs; three factors need 8 runs. A fractional factorial design runs only a planned fraction of the combinations, saving runs at the cost of mixing up some effects with others. The alias structure lists which effects are mixed up in a fractional design, so you know which ones cannot be told apart. Factorial designs are a core tool of design of experiments, often shortened to DOE.

Practitioner explanation

A full factorial with k factors at 2 levels each requires 2^k runs and estimates all main effects and all interactions (up to k-way) independently, because the design is ORTHOGONAL: each effect's estimate is uncorrelated with every other effect's estimate, which is what one-factor-at-a-time experimentation never achieves and factorial designs guarantee by construction.

As k grows, the full factorial's run count grows exponentially; FRACTIONAL factorial designs run a carefully chosen subset of the combinations, accepting that some effects become ALIASED (confounded) with others (typically higher-order interactions with lower-order ones, under the standard sparsity-of-effects assumption that higher-order interactions are usually negligible) in exchange for far fewer runs.

In KernelStats the DOE designer generates full factorials and 2^(k-p) fractional factorials, listing each fractional design's resolution and complete alias structure (so the analyst knows exactly which effects are confounded with which) before any run is made; Design of Experiments (2-Level Factorial) then analyzes a two-level factorial (effects, Pareto chart, main-effect and interaction plots, ANOVA) but does not itself perform aliasing analysis; Design Compare (Trade-off Table) and DOE Power Simulation (Monte Carlo) support choosing between candidate designs before committing resources to running them.

When to use it

Consider it when

Whenever more than one factor is being studied and an interaction between them is plausible or of direct interest; factorial designs are the standard tool in DOE for exactly this situation.

Use caution when

One-factor-at-a-time experimentation, in place of a factorial design, when interactions are plausible: it can produce systematically misleading conclusions about the 'best' setting of each factor if their effects are not actually independent.

Alternatives

  • Randomized Complete Block Design (RCBD). There is one factor of interest and one known nuisance factor to control for, rather than two or more factors of substantive scientific interest.
  • Prediction Profiler. A response-surface (continuous, curved) relationship between factors and outcome is expected, beyond what a two-level factorial's linear-and-interaction model captures.

Common misconceptions

Misconception

Testing one factor at a time, holding others fixed, is a fair and sufficient way to find each factor's individual effect.

Correction

One-factor-at-a-time experimentation cannot detect interactions between factors, and if an interaction exists, the 'best setting' found for each factor in isolation may not be the best combination when the factors are set together.

References

  1. NIST/SEMATECH e-Handbook of Statistical Methods, §5.3.3 How do you select an experimental design?, NIST/SEMATECH (2012), §5.3.3.