Quadratic Response Surfaces
A first-order model supplies a direction of improvement. Near an optimum, curvature becomes essential: we need to estimate how the slope changes as each factor moves. A second-order response surface supplies this local shape and a candidate operating point.
At a Glance¶
Set the fitted gradient to zero and solve for the stationary point.
Inspect eigenvalues, check experimental bounds and model adequacy, then run a confirmation experiment.
Why More Design Points Are Needed¶
For quantitative factors, the full quadratic model is
There are coefficients, including the intercept. Estimating them requires a design matrix of rank , not merely observations.
At two-level factorial corners, every . Thus all pure quadratic columns coincide with the intercept. Adding the center separates the intercept from the sum of the quadratic coefficients, but the quadratic columns still coincide with one another. Opposing curvatures can even cancel in that sum.
Axial points vary one factor while holding the others at zero. They provide the information needed to separate individual quadratic terms.
Central Composite Designs¶
A central composite design (CCD) combines three sets of runs:
| Component | Coded settings | Number of runs without replication outside the center |
|---|---|---|
| Factorial | All combinations of | |
| Axial | One coordinate , all others zero | |
| Center | All coordinates zero |
The total is . For and distinct axial settings, there are distinct conditions. Repeated center runs add pure-error information without adding new locations. A suitable fractional factorial core can reduce the run count, provided the required quadratic model remains estimable.
Choosing the Axial Distance¶
| Choice | Meaning | Practical implication |
|---|---|---|
| Face-centered CCD | Three levels per factor; axial settings stay within the factorial bounds. | |
| Spherical geometry | All noncenter points lie at the same radius. | |
| Rotatable standard CCD, with an appropriate factorial core and one run per axial point | Prediction variance depends on distance from the center rather than direction. |
Spherical geometry and rotatability are different properties. For a full factorial core with , both give ; with , they give and respectively. Replication patterns affect the rotatability condition. See the CCD design guidance for the standard construction.
A face-centered CCD equals the full three-level factorial when , but not generally: with three factors it has 15 distinct settings, versus 27 for a full three-level factorial.
Matrix Form & the Stationary Point¶
Write the fitted surface as
The vector contains linear coefficients. The symmetric matrix has pure quadratic coefficients on its diagonal and half each interaction coefficient off the diagonal. With two factors,
The halving matters because the matrix product contains both and .
The gradient and Hessian are
If is invertible, setting the gradient to zero gives
In computation, solve directly rather than explicitly forming an inverse.
Classifying the Surface¶
| Eigenvalues of | Classification |
|---|---|
| All negative | Strict maximum of the fitted quadratic |
| All positive | Strict minimum of the fitted quadratic |
| Both positive and negative | Saddle point |
| One or more zero | Flat direction; investigate rank and the gradient before claiming an isolated optimum |
Negative diagonal entries alone do not guarantee a maximum: a strong interaction can create an upward direction. Eigenvalues check every direction simultaneously.
Worked Optimization¶
Suppose the fitted local surface, using and , is
Here the curvature matrix is . The matrix symbol is separate from the natural-unit factor name.
The candidate is approximately in natural units, with predicted response 80.21. Both eigenvalues are negative, so the fitted surface has a maximum there. This is a model prediction, not a new observed outcome.
Adequacy, Constraints & Confirmation¶
A full-rank quadratic fit needs more than algebraic solvability. Check residuals, constant variance, influential runs, and lack of fit. With distinct conditions and runs, pure-error df are , residual df are , and lack-of-fit df are . When both components have positive df,
For a two-factor CCD with four corners, four axial points, and five centers, , , : residual df 7 split into 4 pure-error and 3 lack-of-fit df.
A stationary point outside the studied or feasible region is an extrapolation. Optimize within the actual constraints and inspect boundaries if needed. Near-singular curvature can make the calculated location very unstable. Round settings to achievable values, recompute the prediction there, and perform independent confirmation runs.
Sequential augmentation is useful: add axial runs after a factorial-and-center experiment reveals curvature. If stages occur on different days, include stage effects where estimable and check their confounding with curvature; shared center runs help assess stage shifts.