Techniqueadvanced
Response surface methodology
Also called central composite design, Box-Wilson method.
Box and Wilson's sequence of designed experiments and fitted quadratic models that climbs toward the optimum of a response. Central composite designs fit the quadratic.
Response surface methodology (RSM) finds the settings of a few continuous factors that give the best value of a response, such as the yield of a chemical process, by a sequence of small designed experiments. Box and Wilson (1951) gave the strategy. Far from the optimum, a two-level factorial design fits a plane, and the next runs move along the path of steepest ascent of that plane. Near the optimum, the plane no longer fits, and a second-order design, most often a central composite design, fits a quadratic. The eigenvalues of the quadratic's matrix then say whether the fitted surface has a maximum, a minimum, a saddle or a ridge, and where it is.
In plain words
You want to find the best settings of a process, but you can only learn about it by running it. So you climb a hill in the fog. First you take a few steps around where you stand and fit a flat slope to what you see. You walk uphill along that slope and keep checking until things stop getting better. There the ground is no longer flat, so you take a richer set of steps around the new spot, fit a curved bowl shape, and read off where its top is. Then you go there and confirm. Each stage uses a small, well planned set of runs, so you learn a lot from few trials.
When it applies
- The factors are continuous and can be set at chosen levels, and the response changes smoothly with them, so that a plane fits a small region and a quadratic fits a larger one.
- Runs can be done in stages, and the result of one stage can guide the next.
- The number of factors is small, usually 2 to 5. With more, screen first with a fractional factorial design or a Plackett-Burman design.
- The error is moderate compared with the effects in the region. If the noise is large, the path of steepest ascent is poorly estimated.
It does not apply to categorical factors alone, where a factorial design with an analysis of variance is the tool, or to a response with many local optima.
The template
1. Code the factors. For each natural variable with center and half-range , use , so that the design runs at .
2. First-order phase. Run a factorial or a fraction of resolution III or more, plus center runs, and fit by least squares
With runs at and an orthogonal design, is half the main effect. Check for curvature: the difference of the means of the factorial runs and the center runs estimates , the sum of the pure quadratic coefficients, and the center runs give a pure error estimate to test it. Check the two-factor interactions as well.
3. Steepest ascent. The gradient of the fitted plane is . Make runs along the path , where is the factor with the largest , so that changes by 1 coded unit per step. Continue while the response improves; after one or two steps without improvement, make the best point the new center and go back to step 2. This is hill climbing with a designed estimate of the slope.
4. Second-order phase. When curvature or interactions show up, run a second-order design. The central composite design (CCD) of Box and Wilson combines
- a factorial, or a fraction of resolution V, with runs at ;
- axial runs at distance along each axis: , the other coordinates 0;
- center runs.
The factorial part from step 2 can be reused, which is why the CCD fits a sequential strategy. Fit
5. Canonical analysis. Setting the gradient to 0 gives the stationary point and its predicted value
With the spectral decomposition (symmetric eigenproblem) and , the fitted model is exactly
If all ( negative definite, see positive definite matrix), is a maximum; if all , a minimum; if the signs differ, a saddle. A near 0 means a ridge: along the axis the response hardly changes, which leaves room to choose settings for cost or robustness. If lies far outside the design region, the fit cannot be trusted there; use ridge analysis (the best response on spheres of growing radius) instead.
6. Confirm. Run the process at the predicted best settings and compare the result with the prediction interval.
Rotatability. A design is rotatable if the prediction variance depends only on , so no direction is favored before the optimum's direction is known. Box and Hunter (1957) showed that for a second-order design with zero odd moments this needs every pure fourth moment to be three times every mixed fourth moment: . For a CCD the left side is and the right side is , so the CCD is rotatable exactly when : for , for .
Classic examples
A two-stage climb. Two factors in coded units. The first-order design is a factorial with 3 center runs:
| 62.0 | ||
| 65.0 | ||
| 63.0 | ||
| 66.0 | ||
| 64.0, 63.8, 64.2 |
The fit is . The interaction estimate is , and , so the plane fits. The path of steepest ascent moves by for each unit of . Runs at steps give 66.6, 70.1, 73.9, 77.2, 79.6, 78.4, 75.9. The best is step 5, at in the old coded units, which becomes the new center.
Around it, a rotatable CCD with and 5 center runs (13 runs) gives:
| run | ||
|---|---|---|
| factorial | 76.0, 78.9, 78.1, 78.6 | |
| axial | 76.3, 78.9, 77.7, 78.9 | |
| center | five times | 80.1, 79.8, 80.0, 80.2, 79.9 |
Least squares gives
The residual sum of squares is 0.116 with 7 degrees of freedom. The 5 center runs give a pure error sum of squares of 0.100 with 4 degrees of freedom, so the lack of fit sum of squares is 0.016 with 3 degrees of freedom and : no sign of lack of fit. Here
and the eigenvalues of are and . Both are negative, so is a maximum inside the region, and the response falls about twice as fast along the second canonical axis as along the first.
Rotatability in numbers. For this CCD, has the entries for the intercept, for each linear term, for the interaction, for each pure quadratic and for the cross terms of the intercept with each square, and between the two squares. The standardized prediction variance is at every point at distance 1 from the center and at every point at distance , whatever the direction.
Box-Behnken design. For , take the 4 runs of a factorial in each of the 3 pairs of factors, with the third factor at 0, plus center runs: 12 edge midpoints of the cube and, for example, 3 centers, 15 runs in all at three levels per factor. It has no runs at the corners, which helps when the corners are expensive or unsafe. Box and Behnken (1960) built such designs from balanced incomplete block designs.
Variations
- Face-centered CCD (): three levels per factor and all runs in the cube, at the cost of rotatability.
- Orthogonal blocking. A CCD splits into a factorial block and an axial block; with the right and center runs per block, the block effect is orthogonal to the model terms.
- Optimal designs. For constrained regions, odd run budgets or nonstandard models, compute a design by the criteria of optimal experimental design, for example with the Fedorov exchange algorithm. The Kiefer-Wolfowitz theorem explains why such designs spread runs over the corners, the faces and the center.
- Ridge analysis. Maximize on spheres for growing ; the solution solves for a Lagrange multiplier larger than the largest eigenvalue.
- Several responses. Overlay contour plots, or maximize a desirability function that maps each response to and combines them by a geometric mean.
- Evolutionary operation. Small factorial changes around the running process, repeated many times, so that the process climbs while it produces.
- Computer experiments. For expensive deterministic simulations, a Gaussian process model and Bayesian optimization replace the quadratic.
Pitfalls
- Scale dependence. The path of steepest ascent depends on the coding. Doubling the half-range of a factor doubles its coefficient per coded unit, and the path in the natural units turns toward that factor. The canonical analysis is also in coded units.
- Extrapolation. A quadratic fit describes the region of the design only. A stationary point outside it, or a saddle, is a direction to explore, not an answer.
- Too few center runs. Without them there is no pure error, no test of lack of fit, and a poor estimate of the prediction variance near the center.
- A plane fitted over curvature. If is large, the first-order fit is wrong and steepest ascent can point the wrong way. Move to the second-order phase.
- Noise and drift. Randomize the run order within each stage. A drift in time looks like a factor effect, and a steepest ascent path run in order is exposed to it.
- Many factors. A CCD in factors has at least runs. Screen to the few important factors first.
Exercises
- Show that the fitted second-order model equals exactly, and derive .
- For a CCD with a fraction of resolution V, give the number of runs with 6 center points and the rotatable . (Answer: runs, .)
- In the climb above, change the coding of so that its half-range doubles. Compute the new path of steepest ascent in the old units and show that it differs from the first one.
- Prove that a factorial with center runs cannot estimate the pure quadratic coefficients separately: all the columns are equal.
- For the fitted model of the example, find the canonical axes and the predicted response at and at , where are the unit eigenvectors.
References
- G. E. P. Box and K. B. Wilson, On the experimental attainment of optimum conditions, Journal of the Royal Statistical Society, Series B 13(1), 1951, pp. 1 to 38, with discussion pp. 38 to 45, The whole paper (sequential first-order experiments with steepest ascent, composite designs for the second-order model and canonical analysis)
- G. E. P. Box and J. S. Hunter, Multi-factor experimental designs for exploring response surfaces, Annals of Mathematical Statistics 28(1), 1957, pp. 195 to 241, The whole paper (rotatable designs and the moment conditions for them)
- G. E. P. Box and D. W. Behnken, Some new three level designs for the study of quantitative variables, Technometrics 2(4), 1960, pp. 455 to 475, The whole paper (three-level second-order designs built from incomplete block designs)
- Raymond H. Myers, Douglas C. Montgomery and Christine M. Anderson-Cook, Response Surface Methodology, Process and Product Optimization Using Designed Experiments, fourth edition, Wiley, 2016, The chapters on the method of steepest ascent, the analysis of second-order response surfaces and experimental designs for fitting response surfaces (general locator)
- Friedrich Pukelsheim, Optimal Design of Experiments, SIAM Classics in Applied Mathematics 50, 2006 (reprint of the Wiley edition of 1993), Chapter 15 (rotatability and response surface designs)
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W2 basic |
|
Tag AWK35P Edit this page History Report an error Markdown