Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Response Surfaces & Steepest Ascent

Response surface methodology is a sequential approach to improving a process with quantitative factors. Start with a local model, take informative steps, then redesign the experiment around the promising region.

A fitted plane gives a direction of improvement, not a finite unconstrained optimum. New observations are needed as the process moves beyond the initial experimental region.

The Sequential Strategy

StagePurpose
Local experimentEstimate a first-order response model in a feasible starting region.
Directional runsMove along a promising path and observe whether the response improves.
New local experimentRecenter and investigate the shape near a promising region.
Optimization and confirmationFit a suitable richer model, identify a feasible candidate, and validate it with new runs.

This approach is especially useful after screening has reduced the number of active numerical factors. Categorical choices need separate comparisons or an appropriate mixed-factor design; they do not have a continuous direction to move along.

Coding & Decoding

For natural-unit factor ZjZ_j, center cjc_j, and half-range hj>0h_j>0,

xj=Zj−cjhj,Zj=cj+hjxj.x_j=\frac{Z_j-c_j}{h_j},\qquad Z_j=c_j+h_jx_j.

Coding expresses changes relative to meaningful experimental ranges. It also defines the scale on which “steepest” is measured.

For A ranging from 30 to 40 and B from 150 to 160,

x1=A−355,x2=B−1555.x_1=\frac{A-35}{5},\qquad x_2=\frac{B-155}{5}.

The center is (35,155)(35,155), and both half-ranges are 5.

First-Order Model & Gradient

Fit a local first-order model

y^(x)=β^0+∑j=1kβ^jxj=β^0+bTx.\widehat y(\mathbf x)=\widehat\beta_0+\sum_{j=1}^k\widehat\beta_jx_j =\widehat\beta_0+\mathbf b^\mathsf T\mathbf x.

Its gradient in coded units is b=(β^1,…,β^k)T\mathbf b=(\widehat\beta_1,\ldots,\widehat\beta_k)^\mathsf T.

For a coded step of fixed Euclidean length ss, Cauchy-Schwarz gives

bTΔx≤∥b∥ ∥Δx∥=s∥b∥.\mathbf b^\mathsf T\Delta\mathbf x\leq\|\mathbf b\|\,\|\Delta\mathbf x\|=s\|\mathbf b\|.

Equality holds for

Δx=sb∥b∥.\boxed{\Delta\mathbf x=s\frac{\mathbf b}{\|\mathbf b\|}}.

This is the steepest-ascent direction. For minimizing the response, reverse the sign for steepest descent. If b\mathbf b is zero or very uncertain, a reliable directional recommendation may not be available.

Scaling Matters

The natural-unit step is

ΔZj=hjΔxj.\Delta Z_j=h_j\Delta x_j.

For the first-order model, the natural-unit derivative is ∂y^/∂Zj=β^j/hj\partial\widehat y/\partial Z_j=\widehat\beta_j/h_j. A direction steepest under coded Euclidean distance is not generally steepest under unscaled natural-unit distance. Coding defines the relative cost of movement in each factor dimension.

The direction alone does not specify step length. Choose feasible, informative increments using process knowledge and constraints. Very large steps can leave the region where the fitted plane is useful.

Worked Local Experiment

Consider these quantitative settings and observed responses:

ABx1x_1x2x_2Response
30150-1-139.3
30160-1+140.0
40150+1-140.9
40160+1+141.5

The factorial-point mean is 40.425. The coded main-effect coefficients are

β^1=12[40.9+41.52−39.3+40.02]=0.775,\widehat\beta_1=\frac12\left[\frac{40.9+41.5}{2}-\frac{39.3+40.0}{2}\right]=0.775,
β^2=12[40.0+41.52−39.3+40.92]=0.325.\widehat\beta_2=\frac12\left[\frac{40.0+41.5}{2}-\frac{39.3+40.9}{2}\right]=0.325.

The corner-based first-order fit is

y^=40.425+0.775x1+0.325x2.\widehat y=40.425+0.775x_1+0.325x_2.

This model is deliberately local. It is not evidence that the response will increase indefinitely.

Check Whether a Plane Is Useful Locally

The coded interaction coefficient from these four corners is

β^12=39.3−40.0−40.9+41.54=−0.025.\widehat\beta_{12}=\frac{39.3-40.0-40.9+41.5}{4}=-0.025.

Suppose five independent center runs at (35,155)(35,155) give

40.3, 40.5, 40.2, 40.7, 40.6.40.3,\ 40.5,\ 40.2,\ 40.7,\ 40.6.

Then yˉC=40.46\bar y_C=40.46 and the center pure-error variance is sC2=0.043s_C^2=0.043 on 4 df. Assuming common variance across corners and center,

SSAB=4β^122=0.0025,SS_{AB}=4\widehat\beta_{12}^2=0.0025,
SScurv=4(5)9(40.425−40.46)2=0.0027222.SS_{\mathrm{curv}}=\frac{4(5)}9(40.425-40.46)^2=0.0027222.
CheckFF on (1,4)(1,4) dfApproximate pp
Interaction0.05810.8213
Corner-center curvature contrast0.06330.8137

These data provide little evidence against the local plane from these two checks. With only four pure-error df, that is not proof of no interaction or curvature. Inspect variability, run order, and practical uncertainty before deciding how far to move.

If the first-order model is refitted to all nine observations, its intercept becomes the overall mean, approximately 40.4444. In this balanced layout, the center rows have zero main-effect coordinates, so the slopes remain 0.775 and 0.325.

Turning the Gradient into Actual Runs

Choose Δx1=1\Delta x_1=1. To maintain the gradient ratio,

Δx2=0.3250.775=1331≈0.41935.\Delta x_2=\frac{0.325}{0.775}=\frac{13}{31}\approx0.41935.

In natural units,

ΔA=5,ΔB=5(1331)≈2.09677.\Delta A=5,\qquad\Delta B=5\left(\frac{13}{31}\right)\approx2.09677.

Starting from the center, the exact path is

At=35+5t,Bt=155+6531t.A_t=35+5t,\qquad B_t=155+\frac{65}{31}t.
Step ttx1x_1x2x_2AB
00035155
110.419440157.0968
220.838745159.1935
331.258150161.2903

If equipment requires whole-unit B settings, an operational choice is ΔB=2\Delta B=2. The resulting path has Δx2=0.4\Delta x_2=0.4, not 0.41935. Record the actual settings and recognize that this is a nearby approximate direction.

Parallel contours of the fitted local plane and an exact steepest-ascent path perpendicular to them.

The visual shows the geometry of the fitted plane, not measured responses away from the initial design. Its straight contours do not validate long-range extrapolation.

Walk, Observe, and Recenter

At each new setting, collect a response. Continue only while the improvement remains useful and the conditions remain feasible. A decline can suggest that the best region along that path has been passed, but one low observation can also be noise or a time effect.

  • Consider replicate or confirmation runs when variability could change the decision.

  • Keep track of drift and batch changes during the sequential experiment.

  • If several factors are constrained, choose a feasible direction rather than following an infeasible gradient.

  • If curvature or important interaction is already apparent locally, a plane may be the wrong model for deciding the next direction.

For illustration, ten rounded steps of (5,2)(5,2) from (35,155)(35,155) reach (85,175)(85,175). Ten exact gradient-ratio steps reach approximately (85,175.968)(85,175.968). Do not mix the rounded natural settings with the exact coded path.

A promising point is not automatically the global optimum. Build a new experiment around it to learn the local response shape.

Recode Around a New Center

If a promising region is around (85,175)(85,175) and new low/high levels are (80,90)(80,90) for A and (170,180)(170,180) for B, define

x1new=A−855,x2new=B−1755.x_1^{\mathrm{new}}=\frac{A-85}{5},\qquad x_2^{\mathrm{new}}=\frac{B-175}{5}.

The old and new coded variables are different coordinates. Reusing the old formula would mislabel the new runs.

Centering alone does not guarantee orthogonality; the actual allocation and replication of the new settings determine the design matrix. A balanced factorial around the new center provides the familiar orthogonal main-effect columns.

Near a stationary region, first-order slopes may become small and curvature matters more. Estimating a full quadratic model requires additional locations that separate the squared-factor columns; repeated common-center runs alone do not do that.