Understand the idea
Once you have run a designed experiment and fit a model relating your factors to a response, the profiler is the tool that lets you actually PLAY with that model interactively: drag a slider for temperature, and the predicted yield (with its confidence band) updates instantly, without re-fitting anything. It works this way because the model is already fit: moving a slider is just plugging a new number into an equation whose coefficients were already found.
When you care about MULTIPLE responses at once (maximize yield, but also keep impurity below 2%), a single factor setting rarely optimizes both independently. The desirability approach scores each response on a 0-to-1 scale (0 = completely unacceptable, 1 = the ideal target) and then combines every response's score into one overall number. The key design choice: this combination is a GEOMETRIC mean, not an average, specifically so that if even ONE response scores a flat 0 (completely unacceptable), the whole combined score collapses to 0: a setting cannot look good overall by being great on some responses while being disastrous on another.
The confidence band shown around each prediction is a band on the AVERAGE response at that setting, not a prediction interval for one new, individual run: an individual future run would vary more than the band suggests, because the band does not include the residual (run-to-run) variation on top of the model's own uncertainty about the average.
This DOE profiler, also called a response surface profiler, shows how the predicted response changes as you move each factor. Desirability optimization turns each response goal into a score from 0 to 1 and finds the settings that make the combined score as high as possible.
Practitioner explanation
KernelStats fits a response-surface model (linear, interaction, or full quadratic, selectable) per response on coded factors, and stores the fitted coefficients and their covariance matrix once so the interactive profiler can recompute y-hat = beta0 + sum(beta_i*x_i) + sum(beta_ij*x_i*x_j) + sum(beta_ii*x_i^2) as a simple dot product on every slider drag, without re-fitting. The confidence band at any setting x is y-hat +/- t_(alpha/2, df) * sqrt(x' * Cov(beta-hat) * x), explicitly a CONFIDENCE interval for the mean response at that setting, not a prediction interval for a single new run (which would additionally require the residual variance).
Desirability follows Derringer & Suich (1980): each response gets d(y) in [0,1] via a ramp (larger-is-better, smaller-is-better) or a peaked function (target-is-best), and multiple responses combine via the WEIGHTED GEOMETRIC MEAN D = (product of d_r^w_r)^(1/sum(w_r)), chosen specifically because any single d_r = 0 drives the whole composite D to 0, so a setting unacceptable on even one response can never score well overall (an arithmetic mean would not have this all-or-nothing property). 'Maximize Desirability' then searches the coded factor box for the x that maximizes this composite D. A quadratic model order is required to find an INTERIOR optimum (a true peak or valley inside the factor ranges): a linear or interaction-only model can only push the optimum to the edge of the design space, since it has no curvature term to create an interior maximum or minimum.
When to use it
Consider it when
A response-surface model (or several, for multiple responses) has already been fit to a completed design, and you want to interactively explore predictions across the factor space and/or find the single factor setting that best satisfies every response simultaneously.
Use caution when
You have not yet fit or do not want a response-surface model (this profiler is built on top of one, not a substitute for the underlying analysis), you need an optimum strictly at the edge of the factor space rather than an interior one with a linear-only model (in which case curvature terms add nothing and complicate interpretation), or you need a prediction interval for a single new run rather than a confidence band on the mean response, which this profiler does not provide.
Formulas and symbols
Fitted response surface prediction
Coded factors x_i in [-1, 1]; only the terms the chosen model order includes. Recomputed instantly per slider drag as a dot product against already-fitted coefficients.
Confidence band for the mean response
A confidence interval for the MEAN response at setting x, using the model's own coefficient covariance matrix, not a prediction interval for one new run.
Composite desirability
d_r in [0,1] the Derringer-Suich desirability of response r; a weighted geometric mean, so any d_r = 0 drives D to 0.
Assumptions and checks
- Normality (of residuals, not of the raw data). The profiler's confidence bands around each prediction rely on the fitted response-surface model's usual OLS assumptions (normal, homoscedastic residuals); non-normal or heteroscedastic residuals make the displayed bands too narrow or too wide with no warning.
In KernelStats: Not checked by KernelStats: no residual diagnostic (Shapiro-Wilk, Breusch-Pagan, etc.) is run for the profiler; fit the same model with Linear Regression first to see those checks before trusting the profiler's confidence bands.
- Linearity. Only a model with quadratic (curvature) terms can place a single response's maximum or minimum strictly inside the explored factor range; with a linear or interaction-only model a larger- or smaller-is-better response is always optimized on the boundary of the design box (an interaction term alone gives a saddle, not a peak), which is rarely the genuine sweet spot a real optimization is looking for.
In KernelStats: Not checked by KernelStats: the model order (linear/interaction/quadratic) is a user-supplied option, not selected or validated against the data by a lack-of-fit test.
- Predictions and the desirability optimum are only trustworthy INSIDE the ranges of factor values actually explored by the design; sliding a factor beyond the design's tested range extrapolates the fitted surface with no guarantee it still describes the real process there.
In KernelStats: Not checked by KernelStats: the profiler does not restrict slider ranges to the observed factor ranges or warn when a slider is moved outside them.
Alternatives
- Design of Experiments (2-Level Factorial). You want the underlying model's significance tests and ANOVA decomposition rather than an interactive slider-based exploration of its predictions.
- Polynomial Regression. You want to fit and interpret a single response's polynomial model directly, without the multi-response desirability optimization this profiler adds.
Worked example
Scenario
A quadratic response-surface model relating temperature and pressure to both yield (larger-is-better) and impurity (smaller-is-better, target under 2%), searched for the setting maximizing composite desirability.
Result
The optimizer finds temperature=182C, pressure=3.4 bar giving predicted yield 91.2% (desirability 0.88) and predicted impurity 1.6% (desirability 0.95), composite desirability 0.91.
Interpretation
This setting is a strong joint compromise between the two competing objectives, and because composite desirability uses a geometric mean, the fact that both individual desirabilities are comfortably above zero is what allows the high composite score: a setting that hit impurity's target while badly missing on yield would have scored near zero overall, not partial credit.
Common misconceptions
Misconception
The profiler's confidence band tells you the range a single new production run at that setting would likely fall into.
Correction
The displayed band is a confidence interval for the MEAN response at that factor setting, built from the model's coefficient covariance alone. A single new run varies around that mean by the residual (run-to-run) variation as well, which this band does not include; a genuine prediction interval for one new run would be wider.
Misconception
Combining several responses' desirability scores with a simple average is equivalent to the geometric mean this profiler uses.
Correction
An arithmetic average lets a very high score on one response compensate for a very low (even zero) score on another. The weighted GEOMETRIC mean used here does not: any single response scoring a flat 0 (completely unacceptable) drives the entire composite desirability to 0, by design, so a setting that fails even one requirement can never look good overall.
References
- Simultaneous Optimization of Several Response Variables, Derringer, G. and Suich, R. (1980), Journal of Quality Technology, 12(4), 214-219.
- Response Surface Methodology: Process and Product Optimization Using Designed Experiments, Myers, R. H., Montgomery, D. C. and Anderson-Cook, C. M. (2016).
