10.4 Analyzing Experimental Results: Main Effects & Interaction Plots
Key Takeaways
- A Main Effect quantifies the average change in response Y when a single factor shifts from Low (-1) to High (+1), calculated as the difference between the mean high-level response and mean low-level response: Effect(A) = Ȳ_A(+) - Ȳ_A(-).
- An Interaction Effect occurs when the magnitude or direction of one factor's impact depends directly upon the setting of another factor, calculated mathematically via orthogonal contrast product vectors.
- On an Interaction Plot, parallel lines confirm the complete absence of an interaction, non-parallel lines indicate moderate interaction, and intersecting lines in an 'X' pattern reveal severe, antagonistic interactions.
- The Interaction Precedence Rule dictates that when an interaction effect is statistically significant, main effects cannot be interpreted or optimized in isolation because the optimal setting of Factor A is conditional upon Factor B.
- Factorial ANOVA partitions total experimental sum of squares into orthogonal components (SS_total = SS_A + SS_B + SS_AB + SS_error), enabling rigorous F-tests to validate terms before constructing the empirical transfer function.
10.4 Analyzing Experimental Results: Main Effects & Interaction Plots
Quick Summary: Once a designed experiment has been executed and response data collected, continuous improvement teams must extract actionable engineering insights. In Six Sigma, analyzing factorial experiments involves computing Main Effects (the individual impact of shifting a factor from Low to High) and Interaction Effects (the joint synergistic or antagonistic behavior between factors). These effects are visualized through Main Effects Plots and Interaction Plots. Practitioners must adhere to the cardinal Hierarchy of Effects Rule: when a significant interaction exists, main effects cannot be evaluated in isolation. By integrating Factorial ANOVA tables, diagnostic residual auditing, and mathematical transfer functions, Green Belts establish optimal operating windows that permanently resolve process problems.
The Objective of Experimental Data Analysis
Executing a $2^k$ factorial experiment generates an orthogonal matrix of paired factor settings and empirical response measurements. Data analysis answers four vital operational questions in the DMAIC Analyze and Improve phases:
- Which input factors ($X$) exert a statistically significant effect on output CTQ ($Y$)?
- Do the factors interact with one another? That is, does the impact of Factor A depend on the operating level of Factor B?
- What is the mathematical direction and magnitude of each effect?
- What exact combination of factor settings optimizes the response variable while minimizing process variability?
The DOE Analytical Architecture
RAW RESPONSE DATA FROM RANDOMIZED TRIALS
┌─────────────────────────────────────────────────────────┐
│ Runs 1 through N: Measured CTQ Response Values (Y) │
└───────────────────────────┬─────────────────────────────┘
▼
ORTHOGONAL CONTRAST CALCULATIONS
┌─────────────────────────────────────────────────────────┐
│ Compute Main Effects: Effect(A), Effect(B), Effect(C) │
│ Compute Interaction Effects: Effect(AB), Effect(BC)... │
└───────────────────────────┬─────────────────────────────┘
▼
GRAPHICAL & STATISTICAL EVALUATION
┌───────────────────────────┴─────────────────────────────┐
▼ ▼
VISUAL EFFECTS PLOTS FACTORIAL ANOVA TABLE
• Main Effects Plots (Slope & Magnitude) • SS, MS, F-ratios, p-values
• Interaction Plots (Parallel vs. Crossing) • LINE Residual Diagnostics
└───────────────────────────┬─────────────────────────────┘
▼
EMPIRICAL PREDICTION MODEL & OPTIMIZATION
┌─────────────────────────────────────────────────────────┐
│ ŷ = b0 + b1(x1) + b2(x2) + b12(x1*x2) ──▶ OPTIMAL RECIPE │
└─────────────────────────────────────────────────────────┘
Mechanics of Calculating Main Effects
Formal Mathematical Definition
A Main Effect measures the average change in response $Y$ when an independent factor shifts from its Low level ($-1$) to its High level ($+1$), averaged across all levels of all other experimental factors:
Where:
- $\bar{Y}_{A(+)}$ is the arithmetic mean of all experimental observations where Factor A was set to High ($+1$).
- $\bar{Y}_{A(-)}$ is the arithmetic mean of all experimental observations where Factor A was set to Low ($-1$).
Interpreting the Sign and Magnitude
- Positive Main Effect ($+15.0$): Shifting Factor A from Low to High increases the average process response by $15.0$ measurement units.
- Negative Main Effect ($-8.5$): Shifting Factor A from Low to High decreases the average process response by $8.5$ measurement units.
- Zero Main Effect ($0.0$): Factor A has no linear effect on the response; changing its setting does not shift the mean of $Y$.
Connection to Regression Coefficients in Coded Units
In a $2^k$ factorial model, factor levels are coded as $-1$ and $+1$. The total distance between Low and High along the coded axis is:
Therefore, the linear regression slope coefficient ($b_1$) in coded units is exactly one-half of the main effect:
This is a classic CSSC Green Belt examination question: if the main effect of cutting speed is $+12.0\text{ mm/s}$, the corresponding regression coefficient $b_1$ in the coded model $\hat{y} = b_0 + b_1 x$ is $+6.0$.
Mechanics of Calculating Interaction Effects
Formal Mathematical Definition
An Interaction Effect occurs when the effect that Factor A exerts on the response depends directly on the operating level of Factor B:
In mathematical terms, factors interact when their joint effect is not equal to the sum of their individual main effects: $\text{Effect}(AB) \ne \text{Effect}(A) + \text{Effect}(B)$.
In a 2-factor design, the interaction effect is calculated as half the difference between the effect of Factor A at the High level of B and the effect of Factor A at the Low level of B:
Where:
- $\bar{Y}_{AB(+)}$ is the mean of all runs where the coded product column $A \times B$ equals $+1$ (Runs where A and B are both Low, or both High).
- $\bar{Y}_{AB(-)}$ is the mean of all runs where the coded product column $A \times B$ equals $-1$ (Runs where one factor is High and the other is Low).
Synergistic vs. Antagonistic Interactions
- Synergistic Interaction: Factors enhance each other's performance. The combined effect of operating both factors at High is far greater than the sum of their separate individual effects.
- Antagonistic (Interfering) Interaction: Factors counteract or cancel each other out. Increasing Factor A produces a positive benefit when B is Low, but causes catastrophic degradation when B is High.
Visual Interpretation of Effects Plots
Continuous improvement practitioners communicate experimental outcomes using two standardized graphics: Main Effects Plots and Interaction Plots.
Interpreting Effects Plots in DOE
MAIN EFFECTS PLOT INTERACTION PLOT: PARALLEL LINES
Response Y ▲ Response Y ▲
│ ○ (+1) │ ○─────────────○ B (+1)
│ ╱ │ ╱ ╱
│ ╱ │ ╱ ╱
│ ╱ │ ○─────────────○ B (-1)
│ ○ (-1) │ -1 (Low) +1 (High)
└────┴───────────────► └─────┴─────────────┴─────► Factor A
-1 (Low) +1 (High) Parallel Lines = NO INTERACTION
Steep Slope = Strong Effect (Effect of A is identical at all levels of B)
INTERACTION PLOT: MODERATE NON-PARALLEL INTERACTION PLOT: SEVERE CROSSING ('X')
Response Y ▲ Response Y ▲
│ ○ B (+1) │ ○ B (+1) ○ B (-1)
│ ╱ │ ╲ ╱
│ ╱ │ ╲ ╱
│ ○─────○ B (-1) │ ╳ INTERSECTION!
│ │ ╱ ╲
└───┴───────────┴────────► │ ╱ ╲
-1 (Low) +1 (High) └─────────○ B (-1)──────○ B (+1)► Factor A
Non-Parallel = Moderate Interaction Severe Crossing = ANTAGONISTIC INTERACTION!
Diagnostic Reading of the Plots
-
Main Effects Plot:
- Horizontal (Flat) Line: The factor has zero effect on the response. Changing its setting produces no measurable change in $Y$.
- Steep Upward Slope: Factor has a strong positive main effect. Increasing the factor increases $Y$.
- Steep Downward Slope: Factor has a strong negative main effect. Increasing the factor decreases $Y$.
-
Interaction Plot:
- Parallel Lines: Zero Interaction. The line representing Factor B at $+1$ is completely parallel to the line representing Factor B at $-1$. The effect of Factor A is completely identical regardless of the setting of Factor B. Main effects can be interpreted independently.
- Non-Parallel (Diverging or Converging) Lines: Moderate Interaction. The effect of Factor A is stronger at one level of B than at the other. Main effects are somewhat dependent.
- Intersecting / Crossing Lines ('X' Pattern): Severe / Disordinal Interaction. The lines cross each other directly! Increasing Factor A increases $Y$ when B is High, but decreases $Y$ when B is Low. The effect completely reverses direction!
The Hierarchy of Effects Principle (Interaction Precedence Rule)
The Cardinal Law of DOE: When an interaction effect between two factors is statistically significant, you cannot interpret or optimize the main effects in isolation!
If an interaction plot displays crossing lines, a Green Belt who looks only at the Main Effects Plot will see a flat horizontal line (the positive effect at High B and negative effect at Low B cancel each other out, averaging to zero). The Green Belt would mistakenly conclude that neither factor matters! In reality, both factors exert massive control over the process, but their impact depends entirely on their joint combination. The interaction term always takes precedence.
Factorial ANOVA: Partitioning Sums of Squares
To prove whether observed main and interaction effects are statistically significant or merely artifacts of background process noise, practitioners conduct an Analysis of Variance (ANOVA).
Partitioning Total Variation
In a 2-factor full factorial experiment with $n$ replicates ($N = n \cdot 2^2 = 4n$ total runs), the total sum of squares ($SS_{total}$) is partitioned into four orthogonal, additive components:
Calculating Sums of Squares for Effects
Because the design matrix is perfectly orthogonal, the sum of squares for any factor or interaction term in a $2^k$ design with $N$ total runs is calculated directly from its effect magnitude:
Where $\text{Contrast} = \sum_{i=1}^N c_i y_i$, with $c_i \in {-1, +1}$.
Degrees of Freedom and Mean Squares
- Each main effect and two-way interaction in a 2-level design has exactly $1$ degree of freedom ($DF = 1$).
- Therefore, the Mean Square is identical to the Sum of Squares: $MS_{\text{Effect}} = SS_{\text{Effect}} / 1 = SS_{\text{Effect}}$.
- The Error Sum of Squares ($SS_{error}$) represents pure experimental error within replicate treatment combinations, with $DF_{error} = 4(n - 1)$.
- Mean Square Error: $MS_{error} = SS_{error} / DF_{error}$.
The $F$-Test Decision Rule
For each experimental term, calculate the $F$-statistic:
- If $p \le 0.05$ ($F > F_{\text{crit}}$), Reject $H_0$ and conclude that the effect is statistically significant.
- If $p > 0.05$, the effect is indistinguishable from random experimental noise.
Residual Diagnostics for Experimental Models
Before accepting the ANOVA conclusions, Green Belts must verify the underlying assumptions of the linear model using residual diagnostic plots ($e_i = y_i - \hat{y}_i$):
- Normal Probability Plot of Residuals: Verifies that experimental errors follow a Gaussian normal distribution. Points must hug the diagonal line ($p > 0.05$ on Anderson-Darling test).
- Residuals versus Fitted Values: Checks for homoscedasticity (constant variance across treatment combinations). Residual dispersion must remain constant across all predicted values; a funnel or megaphone shape indicates variance instability.
- Residuals versus Run Order: Verifies the assumption of independence. Residuals plotted against chronological execution order must show random scatter. Trends, drifts, or runs indicate that lurking variables (e.g., machine warm-up, tool wear) contaminated the experiment due to failed randomization.
Developing the Empirical Transfer Function ($Y = f(X)$)
Once significant terms are identified via ANOVA, practitioners construct the predictive empirical model using coded coefficients:
Where:
- $b_0 = \bar{y}$ is the overall grand mean of all experimental runs,
- $b_1 = \text{Effect}(A) / 2$,
- $b_2 = \text{Effect}(B) / 2$,
- $b_{12} = \text{Effect}(AB) / 2$,
- $x_A, x_B \in {-1, +1}$ are factor settings in standardized coded units.
This transfer function allows the Six Sigma team to predict process performance for any operating setting within the design space and identify the exact parameter combination that maximizes product quality.
Step-by-Step Comprehensive Worked Calculation Example: Replicated $2^2$ Design
Problem: An ultrasonic welding process for medical syringe barrels experiences variable weld shear strength ($Y$, in Newtons). A Six Sigma Green Belt conducts a $2^2$ full factorial experiment with $n = 2$ replicates ($N = 8$ total runs) testing two factors:
- Factor A (Weld Time): Low $= 0.6\text{ s}$ ($-1$), High $= 1.2\text{ s}$ ($+1$)
- Factor B (Clamp Pressure): Low $= 30\text{ psi}$ ($-1$), High $= 60\text{ psi}$ ($+1$)
The randomized trials yield the following shear strength results:
| Run | Treatment Combination | Coded A | Coded B | Coded AB | Rep 1 ($y_1$) | Rep 2 ($y_2$) | Treatment Total ($T_j$) | Treatment Mean ($\bar{y}_j$) |
|---|---|---|---|---|---|---|---|---|
| 1 | (1): A Low, B Low | $-1$ | $-1$ | $+1$ | $42.0$ | $46.0$ | $88.0$ | $44.0$ |
| 2 | a: A High, B Low | $+1$ | $-1$ | $-1$ | $58.0$ | $62.0$ | $120.0$ | $60.0$ |
| 3 | b: A Low, B High | $-1$ | $+1$ | $-1$ | $50.0$ | $54.0$ | $104.0$ | $52.0$ |
| 4 | ab: A High, B High | $+1$ | $+1$ | $+1$ | $86.0$ | $90.0$ | $176.0$ | $88.0$ |
| Total | — | — | — | — | — | — | $G = 488.0$ | $\bar{y} = 61.0$ |
Calculate the Main Effect of A, Main Effect of B, Interaction Effect AB, complete the Factorial ANOVA Table, determine statistical significance at $\alpha = 0.05$, and formulate the predictive transfer function.
Step 1: Compute Main Effect of Factor A (Weld Time)
- Observations where $A = +1$: Runs 2 and 4 (4 total observations)
- Observations where $A = -1$: Runs 1 and 3 (4 total observations)
- Main Effect of A:
Step 2: Compute Main Effect of Factor B (Clamp Pressure)
- Observations where $B = +1$: Runs 3 and 4 (4 total observations)
- Observations where $B = -1$: Runs 1 and 2 (4 total observations)
- Main Effect of B:
Step 3: Compute Interaction Effect AB (Time $\times$ Pressure)
- Observations where $AB = +1$: Runs 1 and 4 (4 total observations)
- Observations where $AB = -1$: Runs 2 and 3 (4 total observations)
- Interaction Effect of AB:
Step 4: Compute Sums of Squares ($SS$)
Using $N = 8$ total runs and $SS_{\text{Effect}} = \frac{N}{4} (\text{Effect})^2 = 2 \times (\text{Effect})^2$:
- $SS_A = 2 \times (26.0)^2 = 2 \times 676 = \mathbf{1352.0}$
- $SS_B = 2 \times (18.0)^2 = 2 \times 324 = \mathbf{648.0}$
- $SS_{AB} = 2 \times (10.0)^2 = 2 \times 100 = \mathbf{200.0}$
Compute Pure Error Sum of Squares ($SS_{error}$): Within each of the 4 treatment combinations, compute squared differences between replicate pairs ($d_j = y_{j1} - y_{j2}$), where $SS_{error} = \sum d_j^2 / 2$:
- Run 1: $(42 - 46)^2 = (-4)^2 = 16$
- Run 2: $(58 - 62)^2 = (-4)^2 = 16$
- Run 3: $(50 - 54)^2 = (-4)^2 = 16$
- Run 4: $(86 - 90)^2 = (-4)^2 = 16$
Compute Total Sum of Squares ($SS_{total}$):
Step 5: Complete the Factorial ANOVA Table
| Source of Variation | Degrees of Freedom ($DF$) | Sum of Squares ($SS$) | Mean Square ($MS = SS / DF$) | $F$-Statistic ($MS / MS_{err}$) | $P$-Value |
|---|---|---|---|---|---|
| Factor A (Time) | $1$ | $1352.0$ | $1352.0 / 1 = 1352.0$ | $F = 1352.0 / 8.0 = \mathbf{169.00}$ | $p < 0.001$ |
| Factor B (Pressure) | $1$ | $648.0$ | $648.0 / 1 = 648.0$ | $F = 648.0 / 8.0 = \mathbf{81.00}$ | $p < 0.001$ |
| Interaction AB | $1$ | $200.0$ | $200.0 / 1 = 200.0$ | $F = 200.0 / 8.0 = \mathbf{25.00}$ | $p = 0.007$ |
| Pure Error | $4(2 - 1) = 4$ | $32.0$ | $MS_{err} = 32.0 / 4 = \mathbf{8.0}$ | — | — |
| Total | $8 - 1 = 7$ | $2232.0$ | — | — | — |
Statistical Decision at $\alpha = 0.05$:
- Critical $F$-value for $DF = (1, 4)$ at $\alpha = 0.05$ is $F_{0.05, 1, 4} = 7.71$.
- Since $F_A = 169.00 > 7.71$, Factor A is statistically significant ($p < 0.001$).
- Since $F_B = 81.00 > 7.71$, Factor B is statistically significant ($p < 0.001$).
- Since $F_{AB} = 25.00 > 7.71$, the Interaction AB is statistically significant ($p = 0.007$).
Step 6: Construct the Empirical Transfer Function
- Grand mean: $\bar{y} = G / N = 488.0 / 8 = 61.0\text{ N}$
- Coded regression coefficients:
- $b_0 = 61.0$
- $b_1 = \text{Effect}(A) / 2 = 26.0 / 2 = +13.0$
- $b_2 = \text{Effect}(B) / 2 = 18.0 / 2 = +9.0$
- $b_{12} = \text{Effect}(AB) / 2 = 10.0 / 2 = +5.0$
Step 7: Practical Interpretation and Optimal Settings
Notice the synergy in the interaction term ($+5.0 x_A x_B$):
- When Clamp Pressure is Low ($x_B = -1$), the effect of Weld Time is: $(13.0 - 5.0) \times 2 = 16.0\text{ N}$ ($60 - 44 = 16\text{ N}$).
- When Clamp Pressure is High ($x_B = +1$), the effect of Weld Time accelerates to: $(13.0 + 5.0) \times 2 = 36.0\text{ N}$ ($88 - 52 = 36\text{ N}$).
- Because weld shear strength must be maximized, the optimal operating recipe is to operate both factors at High ($x_A = +1, x_B = +1$): Operating at $1.2\text{ s}$ weld time and $60\text{ psi}$ clamp pressure delivers the maximum robust weld strength.
Critical Exam Traps to Avoid
- Trap 1: Evaluating Main Effects When Interaction is Statistically Significant — If an interaction plot displays non-parallel or crossing lines and $p_{AB} \le 0.05$, exam questions will tempt candidates to pick factor settings based on the main effects plot alone. The interaction term always takes precedence.
- Trap 2: Forgetting to Divide Effect by Two for Coded Regression Coefficients — Remember that coded levels span 2 units (from $-1$ to $+1$). Therefore, $b_i = \text{Effect}_i / 2$. Confusing the full effect with the slope coefficient is a frequent calculation blunder.
- Trap 3: Assuming Parallel Lines on an Interaction Plot Indicate Severe Interaction — Parallel lines indicate zero interaction. Lines must diverge, converge, or cross to indicate an interaction.
- Trap 4: Conflating Pure Error Degrees of Freedom with Total Sample Size — In replicated factorial designs, $DF_{error} = 2^k (n - 1)$. For an un-replicated design ($n = 1$), $DF_{error} = 0$, meaning pure error cannot be estimated without pooling higher-order interactions.
A Six Sigma project team conducts a 2-factor, 2-level (2²) full factorial experiment to optimize the bond strength of an ultrasonic plastic welding process. The factors tested are Weld Time (Factor A: 0.5 sec [-1] vs 1.2 sec [+1]) and Clamp Pressure (Factor B: 30 psi [-1] vs 60 psi [+1]). When reviewing the interaction plot, the team observes that the two plotted lines cross each other in a pronounced 'X' pattern. What does this crossing interaction plot indicate to the Green Belt?
In a 2³ full factorial experiment evaluating cutting speed, feed rate, and rake angle on surface roughness, the calculated main effect for cutting speed is Effect(A) = -16.0 microns. In the coded regression transfer function ŷ = b₀ + b₁x₁ + b₂x₂ + b₃x₃, what is the numerical value of the coded slope coefficient b₁ corresponding to cutting speed?
A Six Sigma Green Belt conducts an unreplicated 2³ full factorial experiment to evaluate three chemical processing factors. When reviewing the software ANOVA output, the Green Belt discovers that the error sum of squares is SS_error = 0, with 0 degrees of freedom, and no F-statistics or p-values are displayed for any factor. What is the technical cause of this condition, and what standard Six Sigma procedure resolves it?