Two-Level Factorial Designs
A full factorial studies factors, each at two levels, and includes all combinations. It is useful for screening: identify important factors and interactions before investing in a more detailed experiment.
The interaction interpretation comes from Factorial Experiments & Interaction. Here, coding levels as -1 and +1 makes the calculations especially simple.
| Factors | Combinations at two levels | Combinations at three levels |
|---|---|---|
| 3 | 8 | 27 |
| 5 | 32 | 243 |
| 8 | 256 | 6,561 |
Multiply by the number of independent replicates per combination for the total run count. Two levels reduce the cost, but run counts still grow rapidly.
Coding Natural Units¶
For low and high numerical settings , code
Standard Order & Sign Columns¶
In standard (Yates) order, A changes sign every row, B every two rows, and C every four. A letter in a treatment label means that factor is high; means all factors are low.
| Label | A | B | C | AB | AC | BC | ABC |
|---|---|---|---|---|---|---|---|
| -1 | -1 | -1 | +1 | +1 | +1 | -1 | |
| +1 | -1 | -1 | -1 | -1 | +1 | +1 | |
| -1 | +1 | -1 | -1 | +1 | -1 | +1 | |
| +1 | +1 | -1 | +1 | -1 | -1 | -1 | |
| -1 | -1 | +1 | +1 | -1 | -1 | +1 | |
| +1 | -1 | +1 | -1 | +1 | -1 | -1 | |
| -1 | +1 | +1 | -1 | -1 | +1 | -1 | |
| +1 | +1 | +1 | +1 | +1 | +1 | +1 |
Interaction columns are products: , . Add a column of +1s for the intercept.
Standard order is for bookkeeping, not execution. Randomize the actual run order. Running all low-C settings first could confound C with equipment drift, fatigue, or another time-related change.
Effects as Signed Contrasts¶
For an effect column containing , define the factorial effect as
For A this compares its high and low levels, averaging over all other factors. For AB it compares the combinations with positive product signs against those with negative product signs. “AB positive” is not the same as “A and B both high.”
Let be the number of independent replicates at each corner and . If is the response total at corner ,
Keep totals and means distinct: using a total-based denominator with corner means introduces an erroneous factor of .
Why Regression Coefficients Are Half the Effects¶
The full coded regression contains the intercept and all factor-product columns. For two factors,
In a balanced full factorial,
A coded factor changes by two units, from -1 to +1. This is why its averaged high-minus-low effect is twice the coefficient.
For the two-factor model, the simple A effect at B level is
Consequently,
The factorial AB effect is half the difference of differences under this standard convention. Distinguish these quantities when switching between an interaction plot and a sign-table calculation.
Orthogonality & ANOVA¶
For the balanced full factorial design matrix , including all product columns,
Different columns have zero inner product; every column has squared length . Hence,
The coefficient estimates are uncorrelated under independent common-variance errors; normal errors additionally imply independence. Missing runs, unequal replication, or different weights can remove this orthogonality.
Every main effect and interaction has one df. Its sum of squares is
For a fully replicated design, estimate pure error within each corner:
Then
Under the corresponding zero-effect null, use or . An individual effect interval is
When examining many effects, distinguish individual tests from a family of claims and plan the multiplicity treatment accordingly.
Saturated Designs & Error Estimation¶
An unreplicated design has observations and coefficients in the full model, including the intercept. It is saturated:
It fits the corner responses exactly. A perfect fit is not evidence of negligible noise or an adequate response surface.
| Option | What supplies error information? | Limitation |
|---|---|---|
| Replicate corners independently | Within-setting variation. | Requires additional runs. |
| Replicate center settings | Variation at the center. | Using it at corners assumes a common error variance. |
| Pool scientifically negligible effects into residuals | Unmodeled contrast variation. | Depends on those effects truly being negligible. |
| Use relevant external variance information | Prior or separate measurements. | Must be applicable to the present process and units. |
For example, a 23 design has 8 runs. Fitting the intercept, three main effects, and three two-way interactions leaves one residual df, corresponding to ABC. This is an error estimate only under the assumption that ABC is negligible; it is not pure replication error.
Do not select a favorable error denominator simply to obtain significance. Preserve hierarchy: retain the lower-order terms needed by any retained interaction. A single marginal effect can be small even when that factor participates in an important interaction.
From Screening to a Better Experiment¶
A screening experiment identifies directions and dependencies worth investigating. It does not automatically determine the best operating conditions.
Use response units and interaction plots to judge practical importance, not only -values or marginal boxplots.
Choose low/high settings that are feasible and scientifically distinguishable.
Account for participant, batch, or day when it is part of the assignment structure. Repeated trials from one participant are not automatically independent replicates.
For quantitative factors, investigate intermediate settings and curvature when needed.
For categorical factors, additional categories are new levels; they are not numerical midpoints.
Validate a promising combination with additional independent runs before treating its observed advantage as established.
A reduced model or a design using fewer than all combinations introduces additional assumptions. The full-factorial sign-table formulas above should not be applied unchanged to an arbitrary subset of runs.