2ᵏ Factorial Designs
Try every combination of your factors, each at just two levels, low and high. Then every effect, and every interaction between factors, is a simple comparison: the average result where it's "high" minus the average where it's "low," and every one of those comparisons gets to use all the runs.
What the symbols mean
- Average at +
Mean of all runs where this effect's sign column is +.
- Replicates
Runs at each combination of levels.
- Number of factors
A full design has 2ᵏ combinations.
What the symbols mean
- Coded level
−1 at the low setting and +1 at the high: x = (setting − center)/(half the range).
- Interaction effect
Half the difference between A's effect at high B and at low B.
What the symbols mean
- Error SD
From replicates, or from pooling negligible high-order effects.
- Total runs
n·2ᵏ.
Explanation
A two-level factorial is simply an experiment that tries every combination of a few settings, each at a low and a high value, like feed slow or fast with speed low or high. The name says it: each factor gets two levels, and the runs cover every combination. The math is mostly one move: an effect is the average response at the "+" runs minus the average at the "−" runs. An interaction is the same move on a column made by multiplying two factors' signs, and it measures whether one knob's effect depends on where the other knob is set. Averages and subtraction, that's it.
The scene. A machinist wants smoother aluminum parts and has two knobs: feed rate (A) and spindle speed (B). Changing one knob at a time (feed up at low speed, then speed up at low feed) never visits high feed with high speed, so it can't see whether the knobs interact. A factorial runs all four corners: with both low, with A high, with B high and with both high. The lowercase letters name the factors that are high; listed this way the runs are in standard order.
Main effects. The effect of A is the average response at high A minus the average at low A. With cell means:
Each half averages over both levels of B, so the A effect is measured at both speeds, for free. That's the hidden bargain of factorials: every run helps estimate every effect.
Interactions. A's effect at high B is ; at low B it's . The interaction is half their difference:
the "same-sign" corners minus the "opposite-sign" corners. On an interaction plot (mean response against A, one line for each level of B) parallel lines mean no interaction; lines that converge, diverge or cross mean the effect of one factor depends on the other.
Sign tables. Write a column of s and s for each factor in standard order; an interaction's column is the product of its factors' columns. Every effect is the sum of where its column is , minus the sum where it's , divided by half the number of runs. A has 8 runs and 7 effects: A, B, C, AB, AC, BC and ABC.
Effects are regression coefficients, doubled. With coded levels , any two columns have as many matching signs as mismatched ones, so the columns are orthogonal and . Least squares from multiple regression then gives each coefficient on its own: , the contrast over . An effect is the change from to , two units, so . Orthogonality is also why dropping one term changes no other coefficient: the confounding trouble of plant records is designed away.
Is an effect real? Each effect is a difference of two averages of runs, so and . With replicates, is the pooled variance within cells; compare with the critical value on the error degrees of freedom, as in testing against a spec. In an unreplicated design, pool the small high-order interactions as error, or use a probability plot of the effects (see fractional factorials).
A common mistake. When an interaction is large, it's tempting to report the main effect of A on its own. But the A effect is then an average of two different slopes, one at each level of B, and it describes neither. Read the interaction plot first. Two smaller slips: dividing a contrast by the wrong count (use half the runs, ), and actually running in standard order. Standard order is for bookkeeping; the runs themselves go in random order.
See it
Worked examples
Surface roughness Ra (µm) of milled aluminum, two replicates per corner: : ; (high feed): ; (high speed): ; : . Estimate the effects and test them, with for 4 degrees of freedom.
- 1
Cell means: , , , .
Practice
Type your answer and check it. Solve them all to complete the lesson.
A experiment on a solder reflow oven varies peak temperature (A) and conveyor speed (B) and measures the void area under a chip, in percent. The cell means are , , and . Find the main effect of peak temperature.
On an interaction plot of mean yield against catalyst level, the line for low temperature slopes up and the line for high temperature slopes down; they cross. What's the right conclusion?
A experiment on a batch reactor (A temperature, B catalyst concentration, C stirring rate) gives yields (%) in standard order: , , , , , , , . Estimate the AB interaction.
In a design, which four runs have a sign in the AC column?
For the milling experiment ( µm, effects , , ), write the coded model and predict the roughness with feed halfway between its center and high levels () and high spindle speed (), in µm.
A design is run twice, 16 runs in all. The pooled within-cell SD is and the C effect is estimated as 1.5. Compute the statistic for C and compare it with (8 degrees of freedom).
The reactor experiment is unreplicated. Treat AC, BC and ABC (effects , and ) as noise and pool their sums of squares into an error term. Compute for the C effect, , and compare it with .
The hardest one here. Get it, and you've got this lesson.
For the reactor experiment, (a) find the effect of temperature (A) at low catalyst and at high catalyst, and (b) using the coded model with only the A, B and AB terms, predict the yield at the best corner. Enter the two A effects, then the predicted yield in percent.
Where it's used
Two-level factorials are the workhorse of industrial experimentation: tuning injection-molding and machining parameters, optimizing chemical and semiconductor recipes, calibrating engine maps, and choosing settings for welding and 3D printing. Engineers read the interaction plots to find settings that work together, and the coded model becomes the transfer function a process controller uses. The same designs underpin robust design, where factors are chosen to make a product insensitive to noise it can't control.