PracticeVideosBlogFlashcards

3.4 Design of Experiments Foundations

Key Takeaways

  • The three foundational principles of Design of Experiments (DOE) are Randomization (protects against lurking/confounding variables), Replication (estimates experimental error and improves precision), and Blocking (isolates nuisance variables).

  • A standard full factorial design with k factors at 2 levels requires N = 2^k experimental runs to evaluate all main effects and high-order interaction effects without confounding.

  • Main Effect of a factor is the average change in response produced by changing that factor from its low level (-) to its high level (+), calculated as Y(+) - Y(-).

  • Two-factor Interaction occurs when the effect of factor A on the response variable depends on the level setting of factor B, visualized as non-parallel lines on an interaction plot.

Last updated: July 2026
Loading diagram...
2^2 Factorial Design Space Matrix

3.4 Design of Experiments Foundations

Design of Experiments (DOE) is a structured, mathematically optimal methodology used to plan, conduct, analyze, and interpret controlled tests. Unlike legacy One-Factor-At-a-Time (OFAT) experimentation—which changes a single variable while holding all others constant—DOE allows quality engineers to systematically evaluate multiple input factors simultaneously, determine their individual impact, and discover complex factor interactions with a minimal number of experimental runs.


1. Three Core Principles of DOE

Sir Ronald Fisher established the three fundamental pillars of experimental design:

+-----------------------------------------------------------------------------------+
|                                 CORE DOE PRINICIPLES                              |
+-------------------+-------------------------------+-------------------------------+
|   RANDOMIZATION   |          REPLICATION          |            BLOCKING           |
+-------------------+-------------------------------+-------------------------------+
| Protects against  | Provides estimate of          | Isolates known, controllable  |
| lurking variables | experimental error variance   | nuisance variables (e.g.,     |
| and time-order    | and increases statistical     | shift, raw material batch,    |
| process drift.    | power / precision.            | test operator).               |
+-------------------+-------------------------------+-------------------------------+
  1. Randomization: Running experimental trials in a completely randomized sequence. Randomization balances out the effects of unmeasured or uncontrolled lurking variables (such as ambient temperature change, operator fatigue, or machine warm-up drift) across all treatment combinations.
  2. Replication: Repeating independent experimental runs for each factor combination. Replication allows the experimenter to estimate pure experimental error variance (σerror2\sigma^2_{\text{error}}) and increases the statistical power to detect true effect signals. Note: Repeated measurements of the same physical unit are NOT true replications; they are repeated measures. True replication requires setting up the experimental run again from scratch.
  3. Blocking: A design technique used to isolate and eliminate the variance caused by known, controllable nuisance factors that are not of primary interest (e.g., different raw material batches, different test shifts, or distinct lab instruments). By grouping homogeneous runs into "blocks," nuisance variation is filtered out of the error term.

2. Key DOE Terminology

  • Factor (kk): An independent variable manipulated by the experimenter (e.g., Temperature, Pressure, Cure Time).
  • Level: The specific values or settings assigned to a factor. In standard 2-level designs, levels are coded as Low (−1-1 or −-) and High (+1+1 or ++).
  • Response Variable (YY): The measured output or dependent quality characteristic (e.g., Tensile Strength, Yield %, Surface Roughness).
  • Treatment Combination: A specific combination of factor levels applied during an experimental run.
  • Confounding / Aliasing: When the effects of two or more factors or interactions cannot be separated mathematically.

3. Full 2k2^k Factorial Designs

A Full Factorial Design tests all possible combinations of factor levels. When evaluating kk factors, each at 22 levels, the total number of experimental runs required for a single replicate NN is:

N=2kN = 2^k
  • For k=2k = 2 factors: N=22=4N = 2^2 = 4 runs.
  • For k=3k = 3 factors: N=23=8N = 2^3 = 8 runs.
  • For k=4k = 4 factors: N=24=16N = 2^4 = 16 runs.
  • If nn replicates are performed, total runs =n×2k= n \times 2^k.

4. Calculating Main Effects and Interactions (Step-by-Step)

Mathematical Definitions

  • Main Effect: The average change in response YY observed when moving a factor from its Low level (−-) to its High level (++): Effect(A)=YˉA+−YˉA−\text{Effect}(A) = \bar{Y}_{A+} - \bar{Y}_{A-}
  • Interaction Effect (ABAB): Occurs when the effect of Factor AA depends on the level setting of Factor BB. Mathematically, it is half the difference between the effect of AA at the High level of BB and the effect of AA at the Low level of BB: Effect(AB)=12([YˉA+B+−YˉA−B+]−[YˉA+B−−YˉA−B−])\text{Effect}(AB) = \frac{1}{2} \left( [\bar{Y}_{A+B+} - \bar{Y}_{A-B+}] - [\bar{Y}_{A+B-} - \bar{Y}_{A-B-}] \right)

Worked Numerical Problem (222^2 Design)

A process quality engineer investigates a polymer molding process to maximize Tensile Strength (YY in MPa).

  • Factor A: Mold Temperature (Low −=150∘C- = 150^\circ\text{C}, High +=180∘C+ = 180^\circ\text{C})
  • Factor B: Injection Pressure (Low −=30 psi- = 30\text{ psi}, High +=50 psi+ = 50\text{ psi})

The resulting experimental response table for 4 single-replicate runs is:

Run #Factor A (Temp)Factor B (Pressure)Coded AB InteractionTensile Strength YY (MPa)
1−- (150)−- (30)++40
2++ (180)−- (30)−-52
3−- (150)++ (50)−-46
4++ (180)++ (50)++70

Step 1: Calculate Main Effect of Factor A

YˉA+=YRun 2+YRun 42=52+702=1222=61.0\bar{Y}_{A+} = \frac{Y_{\text{Run 2}} + Y_{\text{Run 4}}}{2} = \frac{52 + 70}{2} = \frac{122}{2} = 61.0 YˉA−=YRun 1+YRun 32=40+462=862=43.0\bar{Y}_{A-} = \frac{Y_{\text{Run 1}} + Y_{\text{Run 3}}}{2} = \frac{40 + 46}{2} = \frac{86}{2} = 43.0 Effect(A)=61.0−43.0=+18.0 MPa\text{Effect}(A) = 61.0 - 43.0 = +18.0\text{ MPa}

Interpretation: Increasing Mold Temperature from 150°C to 180°C increases average tensile strength by 18.0 MPa.

Step 2: Calculate Main Effect of Factor B

YˉB+=YRun 3+YRun 42=46+702=1162=58.0\bar{Y}_{B+} = \frac{Y_{\text{Run 3}} + Y_{\text{Run 4}}}{2} = \frac{46 + 70}{2} = \frac{116}{2} = 58.0 YˉB−=YRun 1+YRun 22=40+522=922=46.0\bar{Y}_{B-} = \frac{Y_{\text{Run 1}} + Y_{\text{Run 2}}}{2} = \frac{40 + 52}{2} = \frac{92}{2} = 46.0 Effect(B)=58.0−46.0=+12.0 MPa\text{Effect}(B) = 58.0 - 46.0 = +12.0\text{ MPa}

Interpretation: Increasing Injection Pressure from 30 psi to 50 psi increases average tensile strength by 12.0 MPa.

Step 3: Calculate Interaction Effect AB

YˉAB+=YRun 1+YRun 42=40+702=1102=55.0\bar{Y}_{AB+} = \frac{Y_{\text{Run 1}} + Y_{\text{Run 4}}}{2} = \frac{40 + 70}{2} = \frac{110}{2} = 55.0 YˉAB−=YRun 2+YRun 32=52+462=982=49.0\bar{Y}_{AB-} = \frac{Y_{\text{Run 2}} + Y_{\text{Run 3}}}{2} = \frac{52 + 46}{2} = \frac{98}{2} = 49.0 Effect(AB)=55.0−49.0=+6.0 MPa\text{Effect}(AB) = 55.0 - 49.0 = +6.0\text{ MPa}

Graphical Representation of Interaction

On an interaction plot (YY vs. Factor A level), non-parallel lines indicate the presence of a statistical interaction between Factor A and Factor B:

 Tensile Strength (MPa)
   70 |                                    *(A+, B+ = 70)
   60 |                                   /
   50 |                *(A+, B- = 52)    /
   40 |               /                 *(A-, B+ = 46)
   30 |   *(A-, B- = 40)
      +-------------------------------------------
          Low Temp (150°C)       High Temp (180°C)
          Line B- (30 psi)  ---- 
          Line B+ (50 psi)  -----

5. CQE Exam Tips & Key Pitfalls

Important

For the ASQ CQE exam, memorize the full factorial formula N=2kN = 2^k. Be ready to distinguish between replication (re-running the entire setup to measure experimental error) and repeated measures (re-measuring the same part). Remember that non-parallel lines on an interaction plot signal a strong factor interaction!

Test Your Knowledge

An experimenter is designing a full factorial experiment to evaluate 4 process factors, each at 2 levels, with 3 complete replicates. What is the total number of experimental runs required?

A

12

B

24

C

48

D

64

Test Your Knowledge

In Design of Experiments (DOE), what is the primary purpose of Randomization?

A

To eliminate the need for replication.

B

To protect against uncontrolled lurking variables and time-dependent process trends.

C

To decrease the number of treatment combinations required.

D

To guarantee that all factor interactions equal zero.

Test Your Knowledge

When plotting experimental response data on an interaction plot (Response Y on the vertical axis vs. Factor A levels on the horizontal axis), what visual pattern indicates the presence of a strong interaction between Factor A and Factor B?

A

Strictly parallel lines for Factor B levels

B

Non-parallel or intersecting lines for Factor B levels

C

Completely horizontal flat lines

D

Identical vertical intercepts for all lines

Sections you finish are checked off in the contents.