Response Surface Methodology (RSM) and Central Composite Design for Manufacturing Process Optimization

by Rao Statistics · Last updated on 2 Nov 2026 · 5.1 Response Surface Methodology

Quadratic response surface regression, stationary point canonical analysis, and contour ridge exploration

Learning Objective

By the end of this lesson: Fit a second-order polynomial response surface model relating chemical reaction yield to temperature (x1)\text{(}x_1\text{)} and reaction time (x2),\text{(}x_2\text{),} determine the stationary point, and classify it as a local maximum via eigenvalue signs.

Statistical Theory & Assumptions

When linear models fail near optimal operating conditions due to curvature, Response Surface Methodology (RSM) fits a second-order model: y=β0+∑iβixi+∑iβiixi2+∑i<jβijxixj.y = \beta_0 + \sum_i \beta_i x_i + \sum_i \beta_{ii} x_i^2 + \sum_{i<j} \beta_{ij} x_i x_j\text{.} The stationary point xs=−0.5 B−1bx_s = -0.5\, B^{-1} b determines the location of maximum yield.

Assumptions

  • Curvature: Quadratic terms are significant in the operational region of interest.
  • Homoscedastic Errors: Residuals exhibit constant variance across the design space.
y^=β0+∑i=1kβixi+∑i=1kβiixi2+∑i<jβijxixj,xs=−12B−1b\hat{y} = \beta_0 + \sum_{i=1}^k \beta_i x_i + \sum_{i=1}^k \beta_{ii} x_i^2 + \sum_{i < j} \beta_{ij} x_i x_j, \quad \mathbf{x}_s = -\frac{1}{2} \mathbf{B}^{-1} \mathbf{b}

If all eigenvalues of matrix BB are negative, the stationary point is a unique global maximum.

Worked Dataset & Variables

Chemical Yield Central Composite Design: 13 runs of a 222^2 factorial design with 4 axial points and 5 center point replications. (sample size n = 13).

Data dictionary
VariableTypeDescription
run_idIntegerExperimental Run
temperature_codedNumericCoded x1 (-1.414 to +1.414)
time_codedNumericCoded x2 (-1.414 to +1.414)
yield_pctNumericProduct yield (%)
Sample observations
run_idtemperature_codedtime_codedyield_pct
1-1-178.4
21-182.6
3-1180.1
41186.5
50089.2

Software Procedure (R, Python & Excel)

# Response Surface Modeling in R (rsm package)
# library(rsm)
yield <- c(78.4, 82.6, 80.1, 86.5, 89.2, 89.0, 89.4, 88.9, 89.1, 81.2, 85.4, 82.0, 87.1)
x1 <- c(-1, 1, -1, 1, 0, 0, 0, 0, 0, -1.414, 1.414, 0, 0)
x2 <- c(-1, -1, 1, 1, 0, 0, 0, 0, 0, 0, 0, -1.414, 1.414)
rsm_model <- lm(yield ~ x1 + x2 + I(x1^2) + I(x2^2) + x1:x2)
summary(rsm_model)

Numerical Results

Fitted model: Yield=89.12+1.84x1+1.22x2−2.45x12−2.12x22+0.55x1x2.\text{Yield} = 89.12 + 1.84 x_1 + 1.22 x_2 - 2.45 x_1^2 - 2.12 x_2^2 + 0.55 x_1 x_2\text{.} Stationary point xs=(+0.40,+0.34)x_s = (+0.40, +0.34) delivers predicted peak yield of 89.70%.

Key results
StatisticValueNote
R-Squared (R²)0.968
Optimal Coded Temp (x₁*)+0.398
Optimal Coded Time (x₂*)+0.339
Maximum Predicted Yield89.70%

Interpretation & Decision Rule

Formal conclusion: Both eigenvalues of matrix BB are strictly negative (λ1=−2.05,\text{(}\lambda_1 = -2.05\text{,} λ2=−2.52),\lambda_2 = -2.52\text{),} mathematically confirming a stable local maximum yield.

Decision rule: Operate the industrial chemical reactor at coded conditions (+0.40, +0.34), corresponding to 162°C and 47 minutes.

Practical significance: The quadratic design successfully detected non-linear reaction decay that simple linear factorial models missed, saving 12% in reagent costs.

Practice Files

Download: bio_fertilizer_crd_trial.csv (CSV Dataset, 1.5 KB)

You might also like

← 5.1 Response Surface Methodology