8.2 DOE Design Principles: Randomization, Blocking, Replication, and Resolution
Key Takeaways
- Randomization protects against unknown lurking variables; blocking removes the effect of a known nuisance variable.
- Replication means repeating an entire experimental run including setup, and it is what provides a valid estimate of experimental error.
- Repetition means taking several measurements within one run and estimates measurement and within-run variation only.
- Design resolution states which effects are confounded: Resolution III confounds main effects with two-factor interactions, IV confounds two-factor interactions with each other, and V is clean for two-factor interactions.
- A balanced design has an equal number of observations at each factor level, which makes effect estimates independent and simplifies analysis.
The three foundational principles
R. A. Fisher's three principles underpin every valid experiment.
| Principle | What it does | What it protects against |
|---|---|---|
| Randomization | Assigns run order and treatment allocation at random | Unknown, unmeasured lurking variables |
| Replication | Repeats whole runs, including setup | Provides an estimate of experimental error; improves precision |
| Blocking | Groups runs so a known nuisance factor is constant within a block | Known but uninteresting sources of variation |
The division of labour is worth memorizing: block what you know, randomize against what you do not.
Randomization
If temperature and pressure runs are performed in a systematic order, and ambient humidity happens to rise through the day, the humidity effect is inseparable from whatever factor was varied last. Randomize the run order and the humidity effect is distributed unpredictably across all factors, converting a systematic bias into ordinary experimental error.
Randomization also protects the validity of the statistical tests themselves. The $F$ tests in an ANOVA assume independent errors, and independence is what randomization delivers.
Where full randomization is expensive -- for example when a factor requires a lengthy oven change -- a split-plot design randomizes the hard-to-change factor at the whole-plot level and the easy-to-change factors within it. This is a legitimate design, but it has two error terms and must be analyzed accordingly. Simply running the hard-to-change factor in convenient order and analyzing as though it were fully randomized is not.
Replication versus repetition
This distinction is a reliable exam question.
| Replication | Repetition | |
|---|---|---|
| What is repeated | The entire run, including setup, loading, and adjustment | Multiple measurements or units within one run |
| Variation captured | All sources: setup, material, operator, measurement | Measurement and within-run variation only |
| Valid for | Estimating experimental error; testing significance | Improving the precision of a single run's response |
| Effect on df | Adds degrees of freedom for error | Does not add valid error degrees of freedom |
Treating repetition as replication understates experimental error, which inflates the $F$ statistic and makes effects appear significant when they are not. If a run's setup is done once and five parts are measured, that is repetition; averaging them gives a better estimate of that run's response, but it says nothing about run-to-run variation.
Blocking
A block is a group of experimental units expected to be more homogeneous within than between: one raw material lot, one day, one operator, one machine. Assign a complete set of treatments within each block, and the block-to-block variation is estimated and removed from the error term.
The result is a more sensitive experiment. The cost is one or more degrees of freedom, and the assumption that the blocking factor does not interact with the treatment factors.
Balance, order, and efficiency
Balance. A design is balanced when each factor level appears the same number of times and each combination appears equally often. Balanced designs make the effect estimates orthogonal -- estimated independently of one another -- so removing a term from the model does not change the other estimates. Unbalanced designs can still be analyzed but the estimates are correlated and interpretation is harder.
Order. Standard order (Yates order) is a canonical listing of runs used for constructing and analyzing the design. Run order must be randomized. Never confuse the two: the design matrix is written in standard order, and the experiment is executed in random order.
Efficiency. The information obtained per experimental run. Factorial designs are efficient because every run contributes to the estimate of every effect; one-factor-at-a-time experimentation is inefficient because each run informs only one comparison, and it cannot detect interactions at all.
Power and sample size in DOE
Power is the probability of detecting a real effect of a given size. In a two-level factorial, the number of runs required to detect an effect $\delta$ with power $1-\beta$ depends on $\delta/\sigma$ and on the number of replicates.
where $N$ is the total number of runs. Because every run contributes to every effect estimate, adding one replicate of a $2^4$ design (16 more runs) reduces the standard error of every effect by a factor of $\sqrt{2}$.
Two practical rules: an unreplicated two-level factorial has no degrees of freedom for error unless higher-order interactions are pooled into error or a normal probability plot of effects is used; and adding centre points provides both an error estimate and a test for curvature without disturbing the factorial structure.
Interaction and confounding
An interaction exists when the effect of one factor depends on the level of another. Interaction plots with non-parallel lines indicate interaction; crossing lines indicate a strong one. Interactions are the main reason factorial designs beat one-factor-at-a-time work, because OFAT cannot detect them.
Confounding (aliasing) occurs when two effects cannot be separately estimated because they are calculated from the same contrast. It is the price of fractional designs: reduce the number of runs and some effects merge.
Resolution
Design resolution states which effects are confounded, and it is written as a Roman numeral.
| Resolution | Confounding pattern | Use |
|---|---|---|
| III | Main effects confounded with two-factor interactions | Screening many factors cheaply; risky if interactions are likely |
| IV | Main effects clear of two-factor interactions; two-factor interactions confounded with each other | Common screening choice; identifies important main effects safely |
| V | Main effects and two-factor interactions clear of each other; two-factor interactions confounded with three-factor interactions | Characterization; usually adequate for a final model |
A useful mnemonic: the resolution number is the length of the shortest word in the defining relation, and an effect of order $p$ is confounded with effects of order $R - p$. In Resolution III, a main effect ($p=1$) is confounded with $3-1 = 2$-factor interactions; in Resolution V, a main effect is clear of two-factor interactions and two-factor interactions ($p=2$) are confounded with $5-2 = 3$-factor interactions.
Because three-factor and higher interactions are usually negligible in physical processes -- the sparsity of effects principle -- Resolution V designs are treated as effectively unconfounded.
A design checklist
- Have the response, factors, levels, and ranges been defined, with the response measured by a validated measurement system?
- Are the factor ranges wide enough to produce a detectable effect, but inside safe operating limits?
- Is the design balanced, and what is its resolution?
- Which effects are confounded, and is that acceptable given what is known about the process?
- Is the run order randomized, and if not, is a split-plot analysis planned?
- Are there replicates (not merely repetitions) to estimate error, or centre points?
- Are known nuisance factors blocked?
- Has the power to detect the practically important effect been computed before running?
An experimenter performs one setup for each of eight factorial runs and measures five parts from each run. What has been done, and what is the consequence?
In a Resolution IV fractional factorial design, which statement about confounding is correct?
Raw material is supplied in lots, and lot-to-lot variation is known to be substantial but is not of interest. What is the correct design response?