12.1 Design of Experiments: 2^k Factorials, ANOVA & Taguchi Robust Design
Key Takeaways
Design of Experiments (DOE) studies multiple input factors simultaneously, identifying both main factor effects and non-additive interaction effects that one-factor-at-a-time (OFAT) testing cannot detect.
In factorial designs, treatments are coded as orthogonal contrasts; main effects are computed as with Sum of Squares .
Taguchi robust design crosses an inner array of control factors with an outer array of noise factors and picks the settings with the highest signal-to-noise ratio, then uses an adjustment factor to put the mean on target.
Analysis of Variance (ANOVA) partitions total variation into orthogonal model components (), testing factor significance using the statistic.
Fractional factorial designs () exploit the sparsity-of-effects principle; Resolution III aliases main effects with 2-factor interactions, Resolution IV aliases 2-factor interactions with each other, and Resolution V leaves main effects and 2-factor interactions unaliased.
12.1 Design of Experiments: 2^k Factorials, ANOVA & Taguchi Robust Design
Design of Experiments (DOE) is an active, structured empirical methodology for systematically manipulating process inputs (factors) and observing the resulting changes in system outputs (responses). Developed by Sir Ronald A. Fisher in agricultural research and subsequently adapted to industrial engineering by George Box, Genichi Taguchi, and Douglas Montgomery, DOE enables engineers to optimize processes, improve yield, reduce variability, and establish robust operating windows.
1. Experimental Design Fundamentals
In industrial systems, any manufacturing or service process can be modeled as a transfer function:
where is the measured performance response, represent controllable or uncontrollable input factors, and represents random experimental error.
Core Terminology
- Factor: An independent variable manipulated by the experimenter. Factors can be quantitative (e.g., furnace temperature in °C, feed rate in mm/min) or qualitative/categorical (e.g., machine operator, material supplier, catalyst type).
- Level: The specific values or operational settings assigned to a factor during the experiment. In two-level designs, levels are typically designated as low () and high ().
- Treatment (Treatment Combination): A specific set of factor levels applied to an experimental unit. In a design with factors, each unique combination of settings across all factors constitutes one treatment.
- Response: The dependent variable of interest measured after applying a treatment (e.g., tensile strength in MPa, surface roughness in m, assembly cycle time in seconds).
- Experimental Error: The residual, unexplained variability among experimental units treated identically. It arises from unmeasured environmental fluctuations, material inconsistencies, and measurement system noise.
Fisher's Three Foundational Principles
To ensure valid statistical inference, any experimental plan must implement three core principles:
- Replication: The independent repetition of the basic experiment (treatment combinations applied to distinct experimental units). True replication must be distinguished from repeated measurements: taking five readings on a single machined part reflects measurement error, whereas machining five distinct parts under identical nominal machine settings constitutes true replication. Replication achieves two vital objectives:
- It allows the experimenter to obtain an independent, unbiased estimate of pure experimental error variance (), which forms the denominator of test statistics in Analysis of Variance (ANOVA).
- It reduces the standard error of the sample mean: , improving the precision of effect estimates.
- Randomization: Both the allocation of experimental material and the run sequence of treatment combinations are determined by a random mechanism (e.g., pseudo-random number generation). Randomization:
- Neutralizes the impact of extraneous, uncontrolled, or lurking variables (e.g., ambient temperature rise throughout a workday, tool wear, raw material aging).
- Validates the statistical assumption that the error terms are independently and identically distributed (i.i.d.) normal random variables: .
- Blocking: A design technique used to isolate and eliminate the variability introduced by known, controllable nuisance factors. A block is a relatively homogeneous set of experimental units (e.g., a single operator shift, a specific batch of raw chemical reagent, or a single production day). Treatments are randomized within each block, allowing the block-to-block variability to be partitioned out of the residual experimental error in the ANOVA model.
2. One-Factor-at-a-Time (OFAT) vs. Full Factorial Designs
A historically pervasive yet statistically flawed experimental approach is the One-Factor-at-a-Time (OFAT) method. Under OFAT, an engineer fixes all process variables at arbitrary baseline values, varies factor across its range to locate an apparent optimum, holds factor at that new optimum, varies factor , and repeats this sequentially.
The Failure Modes of OFAT
- Inability to Detect Interactions: OFAT implicitly assumes that factors act independently (i.e., that the system is strictly additive: ). When interactions exist, the effect of factor changes depending on the level of factor . OFAT is mathematically blind to these interactions, often missing the true global optimum and converging on sub-optimal local peaks.
- Statistical Inefficiency: To achieve comparable precision for main effects, OFAT requires significantly more experimental runs than a factorial design. In factorial designs, every single run provides information about every factor simultaneously—a property known as hidden replication.
- Narrow Generalizability: Conclusions drawn from OFAT apply only under the specific, fixed levels chosen for the remaining factors. If baseline settings are changed, the observed relationships frequently collapse.
| Feature | One-Factor-at-a-Time (OFAT) | Full Factorial Design () |
|---|---|---|
| Interaction Detection | Impossible; assumes zero interaction | Rigorously estimates all 2-way, 3-way, ..., -way interactions |
| Run Efficiency | Low; requires more runs for equal precision | Maximum; exploits hidden replication across all design points |
| Optimization Trajectory | Easily trapped on false ridges/local optima | Explores full multidimensional design space to find true optimum |
| Mathematical Modeling | Fails to estimate cross-product terms () | Yields complete orthogonal first-order and interaction regression models |
3. Factorial Designs: Matrix Architecture and Orthogonality
A Factorial Design investigates factors, each evaluated at exactly two levels: low (coded as ) and high (coded as ). A complete single replicate requires experimental runs.
Coded Variable Transformation
Quantitative factors are centered and scaled from natural engineering units () to dimensionless coded variables () using the linear transformation:
Coding normalizes all factor scales to , removing units of measurement and ensuring that the magnitudes of calculated regression coefficients directly reflect their relative physical importance.
Standard Run Order (Yates' Order) and Run Labels
Runs in a design are designated using standard notation where lowercase letters represent the factors present at their high () level in that treatment combination. If all factors are at their low () level, the treatment is denoted by the symbol :
- Design (4 runs):
- Design (8 runs):
Sign Table and Design Matrix for a Factorial
The columns for interaction effects are generated by algebraic point-by-point multiplication of the corresponding main factor columns:
| Run Label | ||||||||
|---|---|---|---|---|---|---|---|---|
The Mathematical Property of Orthogonality
The design matrix possesses two vital mathematical properties:
- Zero Sum: The sum of coefficients in any factor or interaction column (excluding identity ) is zero: .
- Orthogonal Dot Product: The inner product of any two distinct columns and () is identically zero:
Because the matrix is diagonal, all main effect and interaction estimates are statistically independent and uncorrelated. Adding or removing a factor from the analysis does not alter the numerical estimates of the remaining effects.
4. Main Effect, Contrast, and Sum of Squares Formulas
For a factorial experiment replicated times (total observations ):
1. Contrast
The contrast for any effect is the linear combination of treatment totals weighted by the sign vector () from the sign table:
where is the sum of all replicates for treatment combination , and and represent the aggregate responses across all runs where factor is at its high and low levels, respectively.
2. Main Effect
The main effect represents the average change in response produced by moving factor from its low level to its high level:
Note that the denominator is the total number of observations at the high level (which equals the total number at the low level).
3. Regression Coefficient
In the coded first-order regression model , the regression coefficient is exactly half the effect estimate because the coded factor spans 2 units (from to ):
4. Sum of Squares (SS)
The sum of squares attributable to any factor or interaction effect with 1 degree of freedom is:
5. Two-Factor and Three-Factor Interactions
An interaction occurs when the effect of one factor is contingent upon the setting of another factor.
Mathematical Formulation of a 2-Factor Interaction
The interaction effect is half the difference between the effect of at the high level of and the effect of at the low level of :
For a design:
Graphical Interpretation via Interaction Plots
Interaction plots display the response on the vertical axis against factor on the horizontal axis, with separate lines plotted for each level of factor :
- Parallel Lines: Zero interaction. The effect of factor is identical regardless of factor 's setting. The system is purely additive: .
- Non-Parallel, Non-Intersecting Lines (Ordinal / Synergistic Interaction): The magnitude of factor 's effect changes depending on , but the direction of the effect remains consistent. For instance, raising temperature always increases yield, but it increases yield far more dramatically when pressure is high.
- Intersecting Lines (Disordinal / Antagonistic Interaction): The sign of factor 's effect completely reverses depending on the setting of factor . For example, increasing cutting speed improves tool life at low feed rates, but severely degrades tool life at high feed rates. In the presence of a strong disordinal interaction, main effects have little physical meaning on their own and should never be interpreted in isolation.
6. Analysis of Variance (ANOVA) for Factorials
ANOVA provides the formal statistical framework for hypothesis testing in experimental design, decomposing total variability into orthogonal components.
Decomposition of Total Sum of Squares
where is the correction factor for the mean, is the grand total of all observations, and is the grand mean.
Because the factorial design matrix is orthogonal, is the exact linear sum of the sums of squares of all individual main effects and interaction effects:
Error Sum of Squares ()
Pure experimental error is obtained by summing the internal variation within each of the treatment combinations:
Degrees of Freedom ()
- Total degrees of freedom:
- Each main effect or interaction:
- Model degrees of freedom:
- Error degrees of freedom:
Mean Squares and the -Test Statistic
For each term, the Mean Square is its sum of squares divided by its degrees of freedom:
Under the null hypothesis versus , the test statistic:
follows an -distribution with and . The null hypothesis is rejected at significance level if:
Unreplicated Designs and Pooling
When , , meaning no internal estimate of pure error exists. In such cases, engineers employ two methods:
- Daniel's Normal Probability Plot of Effects: Unimportant effects conform to a normal distribution centered at zero and fall along a straight line on a normal probability plot. Effects that diverge significantly from the line are identified as active.
- Pooling (Sparsity-of-Effects Principle): High-order interactions (e.g., 3-factor and 4-factor terms) are assumed to be negligible and are pooled together to form an artificial error term with degrees of freedom equal to the sum of the pooled terms' degrees of freedom.
7. Fractional Factorial Designs ()
As the number of factors increases, the run requirements of full factorial designs grow exponentially (, , ). According to the sparsity-of-effects principle (the Pareto rule of experimental design), systems are primarily driven by main effects and low-order (two-factor) interactions; three-factor and higher interactions are almost universally negligible.
A fractional factorial design runs a fraction of the full factorial, requiring runs while systematically confounding (aliasing) effects.
Design Generators and Defining Relations
To construct a fractional factorial:
- Choose basic factors to form a full design matrix.
- Confound the remaining factors with high-order interaction columns of the basic design. These assignment equations are called design generators.
- Multiplying both sides of a generator by the generated factor yields a word in the defining relation (since , where is the identity column of s).
Example: In a half-fraction ( runs), basic factors are . We set . Multiplying by gives the defining relation:
Aliasing (Confounding) Structure
The alias of any factor is found by multiplying that factor across the defining relation using modulo 2 arithmetic ():
- For :
- For :
- For :
Thus, the calculated contrast for column actually estimates the composite quantity . It is impossible to determine whether a significant effect is caused by or without additional runs.
Design Resolution Levels
The resolution of a design is denoted by Roman numerals () and equals the length of the shortest word in the defining relation:
- Resolution III Designs: No main effects are aliased with other main effects, but main effects are aliased with two-factor interactions (e.g., with ). These are screening designs used to identify whether any factors are active, assuming interactions are zero.
- Resolution IV Designs: Main effects are unaliased with any two-factor interactions, but two-factor interactions are aliased with each other (e.g., with , but ). These designs cleanly isolate main effects.
- Resolution V Designs: No main effect or two-factor interaction is aliased with any other main effect or two-factor interaction; two-factor interactions are aliased only with three-factor interactions (e.g., with ). These provide high-fidelity modeling capability.
8. Complete Worked Numerical DOE Problem
Problem Formulation
An industrial manufacturing engineer wants to maximize the surface finish quality (measured as an index from 0 to 100, where higher is superior) of an aluminum aerospace component machined on a 5-axis CNC mill. The engineer investigates three controllable process parameters:
- Factor (Cutting Speed): Low = 1,500 rpm (), High = 2,500 rpm ()
- Factor (Feed Rate): Low = 150 mm/min (), High = 250 mm/min ()
- Factor (Depth of Cut): Low = 1.0 mm (), High = 2.5 mm ()
The experiment is executed with true replicates in a completely randomized run order, yielding total runs.
Raw Experimental Data
| Run Label | Replicate 1 () | Replicate 2 () | Treatment Total () | Treatment Mean () | |||
|---|---|---|---|---|---|---|---|
| 22.0 | 24.0 | 46.0 | 23.0 | ||||
| 32.0 | 30.0 | 62.0 | 31.0 | ||||
| 27.0 | 29.0 | 56.0 | 28.0 | ||||
| 43.0 | 45.0 | 88.0 | 44.0 | ||||
| 18.0 | 20.0 | 38.0 | 19.0 | ||||
| 26.0 | 28.0 | 54.0 | 27.0 | ||||
| 23.0 | 25.0 | 48.0 | 24.0 | ||||
| 38.0 | 40.0 | 78.0 | 39.0 | ||||
| Total |
Step 1: Calculate Contrasts
Applying the sign table columns to the treatment totals :
Step 2: Calculate Effects and Sums of Squares
With and , the effect divisor is , and the sum of squares divisor is :
-
Factor :
-
Factor :
-
Factor :
-
Interaction :
-
Interaction :
-
Interaction :
-
Interaction :
Step 3: Calculate Error Sum of Squares () and Total Sum of Squares ()
For each treatment combination, the two replicates differ by exactly 2.0 units (). The sample variance within each treatment cell is:
Summing across all 8 treatment cells:
Checking total variability:
Sum of all model terms:
Step 4: Complete ANOVA Table
| Source of Variation | Sum of Squares () | Degrees of Freedom () | Mean Square () | Statistic () | Critical | Statistical Significance () |
|---|---|---|---|---|---|---|
| Factor (Speed) | 552.25 | 1 | 552.25 | 276.13 | 5.32 | Significant () |
| Factor (Feed) | 306.25 | 1 | 306.25 | 153.13 | 5.32 | Significant () |
| Factor (Depth) | 72.25 | 1 | 72.25 | 36.13 | 5.32 | Significant () |
| Interaction | 56.25 | 1 | 56.25 | 28.13 | 5.32 | Significant () |
| Interaction | 0.25 | 1 | 0.25 | 0.13 | 5.32 | Not Significant () |
| Interaction | 0.25 | 1 | 0.25 | 0.13 | 5.32 | Not Significant () |
| Interaction | 0.25 | 1 | 0.25 | 0.13 | 5.32 | Not Significant () |
| Error (Pure Residual) | 16.00 | 8 | 2.00 | — | — | — |
| Total | 1003.75 | 15 | — | — | — | — |
Engineering Conclusions & Process Optimization
- Active Factors: Cutting Speed (), Feed Rate (), and Depth of Cut () are all highly statistically significant main effects. Furthermore, the two-factor interaction is strongly significant ().
- Interaction Synergy: The positive interaction coefficient indicates that increasing cutting speed produces an even greater improvement in surface quality when feed rate is also set at its high level.
- Optimal Operating Setpoint: To maximize surface finish, the engineer sets Cutting Speed to high ( rpm), Feed Rate to high ( mm/min), and Depth of Cut to low ( mm, because is negative, meaning lower depth increases quality). This corresponds to treatment combination , achieving an expected mean response of index points.
9. Taguchi Robust Parameter Design
Genichi Taguchi's approach to process improvement aims to make a product or process robust, meaning insensitive to variation it cannot control. Its main ideas are:
- Quality loss function: loss grows with the square of the deviation from target, , so reducing variation around the target has value even inside the specification.
- Control factors vs. noise factors: control factors are settings the engineer chooses, such as temperature or feed rate. Noise factors vary in production or use, such as ambient humidity or material lot, and are hard or costly to control.
- Orthogonal arrays: small, balanced fractional designs such as the (up to 3 two-level factors in 4 runs), (up to 7 two-level factors in 8 runs), (up to 4 three-level factors in 9 runs), and (mixed two- and three-level factors in 18 runs).
- Crossed arrays: an inner array of control-factor settings is crossed with an outer array of noise conditions, so each control setting is tested across the noise.
Signal-to-Noise (S/N) Ratios
Each inner-array row is summarized by an S/N ratio in decibels. The engineer chooses the control settings with the highest S/N ratio.
| Goal | S/N ratio |
|---|---|
| Smaller-the-better (wear, shrinkage) | |
| Larger-the-better (strength, life) | |
| Nominal-the-best (a dimension) |
Example: A bond-strength test (larger-the-better) gives 42, 45, and 44 MPa across three noise conditions. The S/N ratio is dB. A setting with higher and more consistent strength would score higher.
Two-Step Optimization (Nominal-the-Best)
- Choose control-factor levels that maximize the S/N ratio, which minimizes variation relative to the mean.
- Use an adjustment factor, one that shifts the mean but barely affects the S/N ratio, to move the mean onto target.
Criticisms to know. Statisticians note that crossed arrays can need many runs, that S/N ratios can mix up location and dispersion effects, and that saturated orthogonal arrays confound main effects with interactions. A common alternative is a single combined design that models the response directly, including control-by-noise interactions. Exam questions usually test the vocabulary: control vs. noise factors, inner and outer arrays, S/N ratio types, and the two-step method.
In an unreplicated 2^4 factorial design investigating four process parameters, the experimenter pools the 3-factor and 4-factor interaction sum of squares to estimate experimental error. How many degrees of freedom are available for this pooled error estimate in the ANOVA table?
4
3
5
11
An industrial engineer runs a 2^{5-2} fractional factorial design with design generators D = AB and E = BC, yielding the defining relation I = ABD = BCE = ACDE. What is the complete alias chain for the main effect of factor A?
A + BD + ABCE + CDE
A + B + CDE + ACDE
A + D + BCE + ABC
A + CD + BE + ADE
Sections you finish are checked off in the contents.