Factorial design (DOE): full and fractional 2-level designs
A factorial design is an experiment that changes several factors at once and runs combinations of their levels, so you can estimate each factor's effect and how factors interact. In a 2-level design every factor has a low and a high setting. A full factorial runs all 2ᵏ combinations of k factors; a fractional factorial runs a planned half, quarter or smaller fraction and accepts that some effects become mixed up (aliased) with others.
When to use it
- You have two to about six factors that you believe matter, and you want their main effects and two-factor interactions.
- A screening design has cut a long list of suspects down to a few.
- You expect interactions, such as temperature and time in a curing step, that a one-factor-at-a-time test would miss.
- You need a first model before optimizing. If you already know the response curves, move on to a response surface design.
How it works
Code each factor as −1 (low) and +1 (high). A full factorial in k factors has 2ᵏ runs: 8 for three factors, 16 for four, 32 for five. The effect of a factor is the average response at its high level minus the average at its low level:
Effect(A) = ȳ(A = +1) − ȳ(A = −1)An interaction column is the product of the factor columns (AB = A × B), and its effect is computed the same way. A large AB effect means the effect of A depends on the setting of B. The regression coefficient of each term is half its effect.
Fractional factorials. With 2ᵏ⁻ᵖ runs you build the first k − p columns as a full factorial and set the others with generators. In a 2⁴⁻¹ design (8 runs, 4 factors) the generator D = ABC gives the defining relation I = ABCD. Multiply any effect by ABCD to find its alias: A is aliased with BCD, and AB with CD. The design cannot tell aliased effects apart; it estimates their sum.
Resolution is the length of the shortest word in the defining relation:
| Resolution | What is aliased | Examples |
|---|---|---|
| III | Main effects with two-factor interactions | 2³⁻¹ (4 runs), 2⁷⁻⁴ (8 runs) |
| IV | Main effects clear; two-factor interactions with each other | 2⁴⁻¹ (8 runs), 2⁶⁻² (16 runs) |
| V | Main effects and two-factor interactions clear of each other | 2⁵⁻¹ (16 runs) |
Center points are runs with every numeric factor at its midpoint. They do not change the effect estimates, but they test for curvature and, when repeated, give an estimate of pure error. Blocking splits the runs into groups (two days, two material lots) and sacrifices a high-order interaction to the block difference. Randomization, running the trials in random order, protects the effects from drifts such as tool wear or warm-up.
Example
An assembly line bonds a bracket with structural adhesive. The team studies four factors in a 2⁴⁻¹ design (resolution IV, generator D = ABC) with three center points, 11 runs in random order. The response is pull-off force in newtons.
| Std order | Run order | A: Cure temp (°C) | B: Cure time (min) | C: Clamp pressure (bar) | D: Bead width (mm) | Force (N) |
|---|---|---|---|---|---|---|
| 1 | 2 | 60 | 20 | 2 | 2 | 41.3 |
| 2 | 9 | 80 | 20 | 2 | 3 | 50.3 |
| 3 | 5 | 60 | 40 | 2 | 3 | 46.7 |
| 4 | 6 | 80 | 40 | 2 | 2 | 60.9 |
| 5 | 4 | 60 | 20 | 4 | 3 | 43.3 |
| 6 | 7 | 80 | 20 | 4 | 2 | 47.9 |
| 7 | 11 | 60 | 40 | 4 | 2 | 44.0 |
| 8 | 3 | 80 | 40 | 4 | 3 | 63.6 |
| 9 | 1 | 70 | 30 | 3 | 2.5 | 50.6 |
| 10 | 8 | 70 | 30 | 3 | 2.5 | 49.9 |
| 11 | 10 | 70 | 30 | 3 | 2.5 | 51.3 |
The eight factorial runs give seven effects, each one an alias pair:
| Term (and its alias) | Effect (N) |
|---|---|
| A (= BCD) | 11.85 |
| B (= ACD) | 8.10 |
| C (= ABD) | −0.10 |
| D (= ABC) | 2.45 |
| AB + CD | 5.05 |
| AC + BD | 0.25 |
| AD + BC | 0.10 |
The three center points have a mean of 50.60 N and a standard deviation of 0.70 N (2 degrees of freedom). The standard error of an effect is 2s/√8 = 0.495 N, and with t₀.₉₇₅,₂ = 4.303 any effect larger than 2.13 N is significant at the 5% level. That flags A, B, D and the AB + CD pair. The curvature check compares the factorial mean (49.75 N) with the center mean (50.60 N): t = −1.79, well inside ±4.30, so there is no evidence of curvature.
How to read the results
- Rank the effects. Cure temperature and cure time dominate; clamp pressure does nothing in this range, so you can set it for cost or cycle time.
- Resolve aliases with process knowledge, then with data. The AB + CD effect is most likely the temperature × time interaction, which is common in curing. To be sure, run the other half fraction (the eight runs with D = −ABC). Together the two halves form the full 2⁴ and separate every two-factor interaction.
- Predict from the model, not from the best run. With A, B and D high, the model predicts 49.75 + (11.85 + 8.10 + 2.45 + 5.05)/2 = 63.5 N, which agrees with run 8 (63.6 N). Confirm it with a few new runs.
- Use the center points. No curvature means a straight-line model is adequate inside this region. Curvature would call for a response surface design.
Common mistakes
- Running in standard order. Any drift during the day then looks like the effect of whichever factor changes most slowly.
- Reading a resolution III design as if main effects were clean. Each one is mixed with two-factor interactions.
- Ranges that are too narrow. If the high and low settings are close, real effects drown in the noise. Choose levels as far apart as the process safely allows.
- Too few runs for the noise. An 8-run design with four center points detects an effect of two standard deviations only about 57% of the time. Check the power of the design first.
- Calling repeat readings replicates. Measuring the same part three times does not repeat the run; resetting the factors and making a new part does.
Frequently asked questions
What is the difference between a full and a fractional factorial?
A full factorial runs every combination, so every main effect and interaction can be estimated separately. A fractional factorial runs a planned subset, which saves runs but aliases some effects with others. A resolution IV or V fraction is usually a good trade for four or more factors.
How many center points should I add?
Three to five is common. They add degrees of freedom for error and a curvature test without changing the effect estimates. They only make sense when every factor is numeric; with a categorical factor, put center points at each of its levels.
How do I analyze an unreplicated design with no center points?
There are no degrees of freedom left for error, so use a normal or half-normal plot of the effects with Lenth's pseudo standard error to judge which effects stand out.
When should I block?
When you cannot run all trials under the same conditions, such as over two shifts or with two lots of material. Blocking removes that difference from the error instead of letting it inflate the noise.