Design of Experiments (DoE) & Taguchi Optimization
Master statistical experimental architecture. Linear mathematical models and complete ANOVA tables for Completely Randomized Design (CRD) vs. Randomized Block Design (RBD), field layouts with soil fertility blocks, and Taguchi $L_9(3^4)$ robust design with S/N ratios.
01. Intuition & Concept Contrast
Design of Experiments (DoE) manipulates input variables systematically to identify causal mechanisms while minimizing the confounding impact of environmental noise.
CRD vs RBD Experimental Units
Completely Randomized Design (CRD): Assumes experimental units are strictly homogeneous (e.g., identical test tubes in a laboratory). Assigns treatments purely at random across all units.
Randomized Block Design (RBD): Used when units are heterogeneous across an identifiable nuisance gradient (e.g. soil fertility, operator skill). Groups units into homogeneous blocks to isolate and subtract nuisance variance.
Full Factorial vs Taguchi Orthogonal Array
Full Factorial ($3^3 = 27$ runs): Tests every possible combination of 3 factors at 3 levels. Expensive and time-consuming in physical manufacturing.
Taguchi Orthogonal Array ($L_9$): Balances levels pairwise across columns. Tests all main factor effects in just **9 runs** ($67\%$ reduction in experimental cost).
02. Linear Models & ANOVA Partitioning (CRD vs RBD)
Master ANOVA Partitioning Comparison Tables:
1. CRD ANOVA Table ($N$ total units, $k$ treatments):
| Source | Degrees of Freedom ($df$) | Sum of Squares | Mean Square | $F$-Statistic |
|---|---|---|---|---|
| Treatments | $k - 1$ | $\text{SST}$ | $\text{MST} = \frac{\text{SST}}{k - 1}$ | $F = \frac{\text{MST}}{\text{MSE}}$ |
| Error (Residual) | $N - k$ | $\text{SSE}$ | $\text{MSE} = \frac{\text{SSE}}{N - k}$ | - |
| Total | $N - 1$ | $\text{Total SS}$ | - | - |
2. RBD ANOVA Table ($k$ treatments, $b$ blocks, $N = kb$ total units):
| Source | Degrees of Freedom ($df$) | Sum of Squares | Mean Square | $F$-Statistic |
|---|---|---|---|---|
| Treatments | $k - 1$ | $\text{SST}$ | $\text{MST} = \frac{\text{SST}}{k - 1}$ | $F_{\text{Tr}} = \frac{\text{MST}}{\text{MSE}}$ |
| Blocks (Nuisance) | $b - 1$ | $\text{SSB}$ | $\text{MSB} = \frac{\text{SSB}}{b - 1}$ | $F_{\text{Bl}} = \frac{\text{MSB}}{\text{MSE}}$ |
| Error (Residual) | $\mathbf{(k - 1)(b - 1)}$ | $\text{SSE}$ | $\text{MSE} = \frac{\text{SSE}}{(k - 1)(b - 1)}$ | - |
| Total | $N - 1 = kb - 1$ | $\text{Total SS}$ | - | - |
03. Taguchi Robust Parameter Design & S/N Analysis
Nov 2025 (Q6.ii) Guaranteed 10-Mark Question. Optimizing 3 factors at 3 levels.
1. Selection of the $L_9(3^4)$ Orthogonal Array:
Full factorial testing requires $3^3 = \mathbf{27 \text{ runs}}$.
Minimum required degrees of freedom:
$$\text{DoF} = 1 + \sum_{i=1}^3 (\text{Levels}_i - 1) = 1 + 3 \times (3 - 1) = 1 + 6 = \mathbf{7}$$The standard **Taguchi $L_9(3^4)$ Orthogonal Array** provides 8 degrees of freedom in only **9 runs**, perfectly accommodating 3 factors at 3 levels!
| Run # | Factor A | Factor B | Factor C |
|---|---|---|---|
| 1 | Level 1 | Level 1 | Level 1 |
| 2 | Level 1 | Level 2 | Level 2 |
| 3 | Level 1 | Level 3 | Level 3 |
| 4 | Level 2 | Level 1 | Level 2 |
| 5 | Level 2 | Level 2 | Level 3 |
| 6 | Level 2 | Level 3 | Level 1 |
| 7 | Level 3 | Level 1 | Level 3 |
| 8 | Level 3 | Level 2 | Level 1 |
| 9 | Level 3 | Level 3 | Level 2 |
04. Notation Decoding Matrix
| Symbol | Formal Name | Plain-English Meaning | Fertilizer Study Benchmark |
|---|---|---|---|
| $k$ | Treatments Count | Number of experimental conditions being compared | $k = 3$ Fertilizers (A, B, C) |
| $b$ | Blocks Count | Number of homogeneous groups created across nuisance gradient | $b = 4$ Fields (Soil Fertility tiers) |
| $N$ | Total Units | Total number of plots or experimental runs | $N = k \times b = 3 \times 4 = \mathbf{12 \text{ plots}}$ |
| $df_{\text{Error}}$ | Residual Degrees of Freedom | Degrees of freedom left to estimate pure error | $(3 - 1)(4 - 1) = 2 \times 3 = \mathbf{6}$ |
| $\eta$ | Signal-to-Noise Ratio (dB) | Logarithmic metric quantifying response relative to noise | Maximized to find robust operating point |
05. Repeatable Step-by-Step Solving Protocol
If experimental units have a known gradient (e.g. soil fertility, machines), choose **Randomized Block Design (RBD)**.
Draw $b$ blocks. Inside each block, assign all $k$ treatments at random: $N = k \times b$.
Write $Y_{ij} = \mu + \tau_i + \beta_j + \epsilon_{ij}$ with assumptions $\epsilon_{ij} \sim \mathcal{N}(0, \sigma^2)$ and $\sum \tau_i = \sum \beta_j = 0$.
Compute minimum $\text{DoF} = 1 + \sum (L_i - 1)$. Recommend $L_9(3^4)$ and state the appropriate S/N formula.
06. 6 Deadly Exam Traps & Common Student Mistakes
Writing $df_{\text{Error}} = N - k$ in RBD
In CRD, error $df$ is $N - k$. In RBD, **block degrees of freedom ($b - 1$) are subtracted**, leaving $\mathbf{(k - 1)(b - 1)}$. Writing $N - k$ in RBD loses 4 marks.
Picking Lower S/N for "Smaller-the-Better"
Students assume that for defects (smaller-the-better), they should look for a lower S/N ratio. FALSE! The negative sign ($-10 \log_{10}$) in the formula inverts it. **HIGHER S/N ratio is ALWAYS better.**
Ignoring Soil Fertility Differences
Soil fertility is never uniform across fields. Recommending CRD allows fertile plots to confound fertilizer results. RBD is strictly mandatory.
Running 27 Runs Instead of 9
In the Taguchi question, failing to recommend the $L_9$ array and writing code for 27 full-factorial runs misses the entire purpose of Taguchi optimization.
Writing Just the ANOVA Table
Examiners require the linear model equations ($Y_{ij} = \mu + \dots$) and error assumptions ($\epsilon_{ij} \sim \text{i.i.d. } \mathcal{N}(0, \sigma^2)$).
Assuming L9 Resolves Heavy Interactions
Standard $L_9$ orthogonal arrays assume factor interactions are negligible. If interactions are severe, full factorial or fractional factorial resolution IV is required.
07. Complete University Question Bank (All Past PYQs Solved)
Nov 2025 · Question 6 Fertilizer Field Layout in RBD & Taguchi L9 Optimization (20 Marks)
i) A researcher studies the effect of 3 fertilizers (A, B, C) on crop yield across 4 fields with differing soil fertility levels. Design an appropriate experimental layout and explain suitability. (10 Marks)
ii) Optimize 3 factors (A, B, C) each at 3 levels: explain Taguchi method, suggest suitable orthogonal array, and describe S/N ratio calculation/interpretation. (10 Marks)
Solution:
(i) Fertilizer Field Layout via Randomized Block Design (RBD) (10 Marks):
1. Design Selection: **Randomized Block Design (RBD)** with $k = 3$ treatments (Fertilizers A, B, C) and $b = 4$ blocks (Fields 1 to 4).
2. Justification: Soil fertility is a known nuisance variable. If CRD were used, Fertilizer A could land on the most fertile field by chance. RBD groups plots into 4 homogeneous blocks; within each block, all 3 fertilizers are assigned at random. Field-to-field variance is explicitly removed from residual error.
3. Experimental Layout: Total plots $N = 3 \times 4 = \mathbf{12}$.
4. ANOVA Partitioning & Degrees of Freedom:
- $df_{\text{Fertilizer}} = k - 1 = 3 - 1 = \mathbf{2}$
- $df_{\text{Fields (Blocks)}} = b - 1 = 4 - 1 = \mathbf{3}$
- $df_{\text{Error}} = (k - 1)(b - 1) = 2 \times 3 = \mathbf{6}$
- $df_{\text{Total}} = kb - 1 = 12 - 1 = \mathbf{11}$
(ii) Taguchi Parameter Optimization & S/N Ratios (10 Marks):
1. Taguchi Concept: Maximizes robustness against noise without expensive component tolerance costs.
2. Suitable Orthogonal Array: 3 factors at 3 levels requires 27 runs in full factorial. Minimum degrees of freedom is $1 + 3 \times 2 = 7$. The **Taguchi $L_9(3^4)$ Orthogonal Array** executes this in just **9 runs**.
3. S/N Ratios:
- Larger-the-Better (Yield): $\eta = -10 \log_{10}\left(\frac{1}{n}\sum \frac{1}{y^2}\right)$
- Smaller-the-Better (Defects): $\eta = -10 \log_{10}\left(\frac{1}{n}\sum y^2\right)$
- Nominal-the-Best: $\eta = 10 \log_{10}\left(\frac{\bar{y}^2}{s^2}\right)$
Interpretation: A higher S/N ratio always corresponds to lower variability and superior quality.
Jan 2025 · Question 4 CRD vs RBD Linear Models, ANOVA Tables & Industrial Examples (20 Marks)
Explain completely randomized design and randomized block design with suitable examples. (20 Marks)
Solution:
1. Completely Randomized Design (CRD) (10 Marks):
- Prerequisite: Homogeneous experimental units (e.g. uniform laboratory test tubes).
- Linear Model: $Y_{ij} = \mu + \tau_i + \epsilon_{ij}$, where $\epsilon_{ij} \sim \mathcal{N}(0, \sigma^2)$.
- Example: Testing 3 neural network optimizers (SGD, Adam, RMSprop) across 15 runs on identical cloud GPUs ($k = 3, N = 15$).
- ANOVA Table: Treatments $df = 2$, Error $df = 12$, Total $df = 14$.
2. Randomized Block Design (RBD) (10 Marks):
- Prerequisite: Heterogeneous units across a known gradient. Units grouped into homogeneous blocks.
- Linear Model: $Y_{ij} = \mu + \tau_i + \beta_j + \epsilon_{ij}$, where $\beta_j$ is block effect and $\epsilon_{ij} \sim \mathcal{N}(0, \sigma^2)$.
- Example: Testing 4 lathe tool coatings across 3 machinists with varying skill levels ($k = 4, b = 3, N = 12$).
- ANOVA Table: Treatments $df = 3$, Blocks $df = 2$, Error $df = (4-1)(3-1) = 6$, Total $df = 11$.
08. Interactive Offline Taguchi S/N Ratio Calculator
Enter experimental output values to calculate Signal-to-Noise ratios across all 3 Taguchi optimization objectives.
09. Active Recall Self-Test Quiz
10. Exam Hall Answer Sheet Presentation Checklist
Write $Y_{ij} = \mu + \tau_i + \epsilon_{ij}$ for CRD and $Y_{ij} = \mu + \tau_i + \beta_j + \epsilon_{ij}$ for RBD.
Draw 4 boxes labeled Field 1 to 4 with randomized plot assignments (e.g., $[B, A, C]$).
Box: Fertilizers $df = 2$, Fields $df = 3$, Error $df = 6$, Total $df = 11$.
Highlight the $L_9(3^4)$ array and show $\text{DoF} = 1 + 3(2) = 7 \le 8$.
Provide formulas for Larger-the-Better, Smaller-the-Better, and Nominal-the-Best.