Response Surface Methods for Optimization

=Response Surface Methods=

Introduction
The experiment designs mentioned in Chapters 7 and 8 help the experimenter identify factors that affect the response. Once the important factors have been identified, the next step is to determine the settings for these factors that result in the optimum value of the response. The optimum value of the response may either be a maximum value or a minimum value, depending upon the product or process in question. For example, if the response in an experiment is the yield from a chemical process, then the objective might be to find the settings of the factors affecting the yield so that the yield is maximized. On the other hand, if the response in an experiment is the number of defects, then the goal would be to find the factor settings that minimize the number of defects. Methodologies that help the experimenter reach the goal of optimum response are referred to as Response Surface Methods. These methods are exclusively used to examine the "surface" or the relationship between the response and the factors affecting the response. Regression models are used for the analysis of the response, as the focus now is on the nature of the relationship between the response and the factors, rather than identification of the important factors. Response surface methods usually involve the following steps: •	The experimenter needs to move from the present operating conditions to the vicinity of the operating conditions where the response is optimum. This is done using the method of steepest ascent in the case of maximizing the response. The same method can be used to minimize the response and is then referred to as the method of steepest descent. •	Once in the vicinity of the optimum response the experimenter needs to fit a more elaborate model between the response and the factors. Special experiment designs, referred to as RSM designs, are used to accomplish this. The fitted model is used to arrive at the best operating conditions that result in either a maximum or minimum response. •	It is possible that a number of responses may have to be optimized at the same time. For example, an experimenter may want to maximize strength, while keeping the number of defects to a minimum. The optimum settings for each of the responses in such cases may lead to conflicting settings for the factors. A balanced setting has to be found that gives the most appropriate values for all the responses. Desirability functions are useful in these cases.

Method of Steepest Ascent
The first step in obtaining the optimum response settings, after the important factors have been identified, is to explore the region around the current operating conditions to decide what direction needs to be taken to move towards the optimum region. Usually, a first order regression model (containing just the main effects and no interaction terms) is sufficient at the current operating conditions because the operating conditions are normally far from the optimum response settings. The experimenter needs to move from the current operating conditions to the optimum region in the most efficient way by using the minimum number of experiments. This is done using the method of steepest ascent. In this method, the contour plot of the first order model is used to decide the settings for the next experiment, in order to move towards the optimum conditions. Consider a process where the response has been found to be a function of two factors. To explore the region around the current operating conditions, the experimenter fits the following first order model between the response and the two factors:


 * $$y={{\beta }_{0}}+{{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+\epsilon $$

The response surface plot for the model, along with the contours, is shown in Figure SteepestAscentFig1. It can be seen in the figure, that in order to maximize the response, the most efficient direction in which to move the experiment is along the line perpendicular to the contours. This line, also referred to as the path of steepest ascent, is the line along which the rate of increase of the response is maximum. The steps along this line to move towards the optimum region are proportional to the regression coefficients, $${{\beta }_{j}},$$  of the fitted first order model.



Experiments are conducted along each step of the path of steepest ascent until an increase in the response is not seen. Then, a new first order model is fit at the region of the maximum response. If the first order model shows a lack-of-fit, then this indicates that the experimenter has reached the vicinity of the optimum. RSM designs are then used explore the region thoroughly and obtain the point of the maximum response. If the first order model does not show a lack-of-fit, then a new path of steepest ascent is determined and the process is repeated.

Example 1

The yield from a chemical process is found to be affected by two factors: reaction temperature and reaction time. The current reaction temperature is 230 $$F$$  and the reaction time is 65 minutes. The experimenter wants to determine the settings of the two factors such that maximum yield can be obtained from the process. To explore the region around the current operating conditions, the experimenter decides to use a single replicate of the 2 $$^{2}$$ design. The range of the factors for this design are chosen to be (225, 235) $$F$$  for the reaction temperature and (55, 75) minutes for the reaction time. The unreplicated 2 $$^{2}$$ design is also augmented with five runs at the center point to estimate the error sum of squares,  $$S{{S}_{E}}$$, and check for model adequacy. The response values obtained for this design are shown in Figure RSMExPart1Data.

In DOE++, this design can be set up using the properties shown in Figure Ex1Design1Properties. The resulting design is shown in Figure Ex1Design1Design and the analysis results are shown in Figure Ex1Design1Results. Note that the results shown are in terms of the coded values of the factors (taking -1 as the value of the lower settings for reaction temperature and reaction time and +1 as the value for the higher settings for these two factors). The results show that the factors, $$A$$  (temperature) and  $$B$$  (time), affect the response significantly but their interaction does not affect the response. Therefore the interaction term can be dropped from the model for this experiment. The results also show that Curvature is not a significant factor. This indicates that the first order model is adequate for the experiment at the current operating conditions. Using these two conclusions, the model for the current operating conditions, in terms the coded variables is:


 * $$\hat{y}=35.6375+1.1625{{x}_{1}}+0.4875{{x}_{2}}$$

where $$\hat{y}$$  represents the yield and  $${{x}_{1}}$$  and  $${{x}_{2}}$$  are the predictor variables for the two factors,  $$A$$  and  $$B$$, respectively. To further confirm the adequacy of the model of Eqn. (Ex1FirstOrderModel), the experiment can be analyzed again after dropping the interaction term, $$AB$$  (using the Select Effects icon in the Control Panel). The results are shown in Figure Ex1Design1Results2. The results show that the lack-of-fit for this model (because of the deficiency created in the model by the absence of the interaction term) is not significant, confirming that the model of Eqn. (Ex1FirstOrderModel) is adequate.

$$$$ $$$$

Path of Steepest Ascent

The contour plot for the model of Eqn. (Ex1FirstOrderModel) is shown in Figure RSMExPart1Contour. The regression coefficients for the model are $${{\hat{\beta }}_{1}}=$$   $$1.1625$$  and  $${{\hat{\beta }}_{2}}=0.4875$$. To move towards the optimum, the experimenter needs to move along the path of steepest ascent, which lies perpendicular to the contours. This path is the line through the center point of the current operating conditions ( $${{x}_{1}}=0$$, $${{x}_{2}}=0$$ ) with a slope of   $${{\hat{\beta }}_{2}}/{{\hat{\beta }}_{1}}$$. Therefore, in terms of the coded variables, the experiment should be moved 1.1625 units in the $${{x}_{1}}$$  direction for every 0.4875 units in the  $${{x}_{2}}$$  direction. To move along this path, the experimenter decides to use a step-size of 10 minutes for the reaction time, $${{x}_{2}}$$. The coded value for this step size can be obtained as follows. Recall from Chapter 5 that the relationship between coded and actual values is: $$$$


 * $$\begin{align}

& coded\text{ }value= & \frac{actual\text{ }value-mean}{half\text{ }of\text{ }range} \\ & or\text{   }coded\text{ }value= & \frac{step\text{-}size\text{ }in\text{ }actual\text{ }value}{half\text{ }of\text{ }range} \end{align}$$

Thus, for a step-size of 10 minutes, the equivalent step size in coded value for $${{x}_{2}}$$  is:


 * $$\begin{align}

& = & \frac{10}{half\text{ }of\text{ }range\text{ }of\text{ }{{x}_{2}}\text{ }} \\ & = & \frac{10}{((75-55)/2)} \\ & = & 1 \end{align}$$

In terms of the coded variables, the path of steepest ascent requires a move of 1.1625 units in the $${{x}_{1}}$$  direction for every 0.4875 units in the  $${{x}_{2}}$$  direction. The step-size for $${{x}_{1}}$$, in terms of the coded value corresponding to any step-size in  $${{x}_{2}}$$ , is:


 * $$=\frac\cdot (step\text{-}size\text{ }in\text{ }{{x}_{2}})$$

Therefore, the step-size for the reaction temperature, $${{x}_{1}}$$, in terms of the coded variables is:


 * $$\begin{align}

& = & \frac\cdot \Delta {{x}_{2}} \\ & = & \frac{1.1625}{0.4875}\cdot 1 \\ & = & 2.39 \end{align}$$

This corresponds to a step of approximately 12 $$F$$  for temperature in terms of the actual value as shown next:


 * $$\begin{align}

& step\text{-}size\text{ }in\text{ }actual\text{ }value= & (coded\text{ }value)\cdot (half\text{ }of\text{ }the\text{ }range\text{ }of\text{ }{{x}_{1}}) \\ & = & 2.39\cdot 10/2 \\ & = & 11.95 \end{align}$$

Using a step of 12 $$F$$  and 10 minutes, the experimenter conducts experiments until no further increase is observed in the yield. The yield values at each step are shown in Table 9.1. The yield starts decreasing after the reaction temperature of 350 $$F$$  and the reaction time of 165 minutes, indicating that this point may lie close to the optimum region. To analyze the vicinity of this point, a 2 $$^{2}$$ design augmented by five center points is selected. The range of exploration is chosen to be 345 to 355 $$F$$  for reaction temperature and 155 to 175 minutes for reaction time. The experiment design is similar to the design of Figure Ex1Design1Design and the response values recorded are shown in Figure RSMExPart2Design. The results for this design are shown in Figure Ex1Design2Results. In the results in Figure Ex1Design2Results, Curvature is displayed as a significant factor. This indicates that the first order model is not adequate for this region of the experiment and a higher order model is required. As a result, the methodology of steepest ascent can no longer be used. The presence of curvature indicates that the experiment region may be close to the optimum. Special designs that allow the use of second order models are needed at this point. $$$$

RSM Designs
A second order model is generally used to approximate the response once it is realized that the experiment is close to the optimum response region where a first order model is no longer adequate. The second order model is usually sufficient for the optimum region, as third order and higher effects are seldom important. The second order regression model takes the following form for $$k$$  factors:


 * $$\begin{align}

& y= & {{\beta }_{0}}+{{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+...+{{\beta }_{k}}{{x}_{k}}+ \\ & & {{\beta }_{11}}x_{1}^{2}+{{\beta }_{22}}x_{2}^{2}+...+{{\beta }_{kk}}x_{k}^{2}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+...+{{\beta }_{k-1,k}}{{x}_{k-1}}{{x}_{k}}+\epsilon \end{align}$$

The model contains $$p=(k+1)(k+2)/2$$  regression parameters that include coefficients for main effects ( $${{\beta }_{1}},{{\beta }_{2}}...{{\beta }_{k}}$$ ), coefficients for quadratic main effects ( $${{\beta }_{11}},{{\beta }_{22}}...{{\beta }_{kk}}$$ ) and coefficients for two factor interaction effects ( $${{\beta }_{12}},{{\beta }_{13}}$$ ...  $${{\beta }_{k-1,k}}$$ ). A full factorial design with all factors at three levels would provide estimation of all the required regression parameters. However, full factorial three level designs are expensive to use as the number of runs increases rapidly with the number of factors. For example, a three factor full factorial design with each factor at three levels would require $${{3}^{3}}=27$$  runs while a design with four factors would require  $${{3}^{4}}=81$$  runs. Additionally, these designs will estimate a number of higher order effects which are usually not of much importance to the experimenter. Therefore, for the purpose of analysis of response surfaces, special designs are used that help the experimenter fit the second order model to the response with the use of a minimum number of runs. Examples of these designs are the central composite and Box-Behnken designs.

Central Composite Designs
Central composite designs are two level full factorial (2 $$^{k}$$ ) or fractional factorial (2 $$^{k-f}$$ ) designs augmented by a number of center points and other chosen runs. These designs are such that they allow the estimation of all the regression parameters required to fit a second order model to a given response. The simplest of the central composite designs can be used to fit a second order model to a response with two factors. The design consists of a 2 $$^{2}$$ full factorial design augmented by a few runs at the center point (such a design is shown in Figure CCDtwoFactors (a)). A central composite design is obtained when runs at four other points - ( $$-1,0$$ ), ( $$1,0$$ ), ( $$0,-1$$ ) and ( $$0,1$$ ) are added to this design. These points are referred to as axial points or star points and represent runs where all but one of the factors are set at their mid-levels. The number of axial points in a central composite designs having $$k$$  factors is 2 $$k$$. The distance of the axial points from the center point is denoted by $$\alpha $$  and is always specified in terms of coded values. For example, the central composite design in Figure CCDtwoFactors (b) has $$\alpha =1$$, while for the design of Figure CCDtwoFactors (c)  $$\alpha =1.414$$. It can be noted that when $$\alpha >1$$, each factor is run at five levels ( $$-\alpha $$ ,  $$-1$$ ,  $$0$$ ,  $$1$$  and  $$\alpha $$ ) instead of the three levels of  $$-1$$ ,  $$0$$  and  $$1$$. The reason for running central composite designs with $$\alpha >1$$  is to have a rotatable design, which is explained next. $$$$

Rotatability
A central composite design is said to be rotatable if the variance of any predicted value of the response, $${{\hat{y}}_{p}}$$, for any level of the factors depends only on the distance of the point from the center of the design, regardless of the direction. In other words, a rotatable central composite design provides constant variance of the estimated response corresponding to all new observation points that are at the same distance from the center point of the design (in terms of the coded variables).



The variance of the predicted response at any point, $${{x}_{p}}$$, is given as follows:


 * $$V[{{\hat{y}}_{p}}]={{\sigma }^{2}}x_{p}^{\prime }{{({{X}^{\prime }}X)}^{-1}}{{x}_{p}}$$

The contours of $$V[{{\hat{y}}_{p}}]$$  for the central composite design in Figure CCDtwoFactors (c) are shown in Figure CCDrotoContours. The contours are concentric circles indicating that the central composite design of Figure CCDtwoFactors (c) is rotatable. Rotatability is a desirable property because the experimenter does not have any prior information about the location of the optimum. Therefore, a design that provides equal precision of estimation in all directions would be preferred. Such a design will assure the experimenter that no matter what direction is taken to search for the optimum, he/she will be able to estimate the response value with equal precision. A central composite design is rotatable if the value of $$\alpha $$  for the design satisfies the following equation:


 * $$\alpha ={{\left[ \frac{{{2}^{k-f}}({{n}_{f}})}{{{n}_{s}}} \right]}^{1/4}}$$

where $${{n}_{f}}$$  is the number of replicates of the runs in the original factorial design and  $${{n}_{s}}$$  is the number of replicates of the runs at the axial points. For example, a central composite design with two factors, having a single replicate of the original factorial design, and a single replicate of all the axial points, would be rotatable for the following $$\alpha $$  value:


 * $$\begin{align}

& \alpha = & {{\left[ \frac{{{2}^{k-f}}({{n}_{f}})}{{{n}_{s}}} \right]}^{1/4}} \\ & = & {{\left[ \frac{{{2}^{2}}(1)}{1} \right]}^{1/4}} \\ & = & \sqrt{2} \\ & = & 1.414 \end{align}$$

Thus, a central composite design in two factors, having a single replicate of the original 2 $$^{2}$$ design and axial points, and with  $$\alpha =1.414$$, is a rotatable design. This design is shown in Figure CCDtwoFactors (c). $$$$

Spherical Design
A central composite design is said to be spherical if all factorial and axial points are at same distance from the center of the design. Spherical central composite designs are obtained by setting $$\alpha =\sqrt{k}$$. For example, the rotatable design in Figure CCDtwoFactors (c) is also a spherical design because for this design $$\alpha =\sqrt{k}=\sqrt{2}=1.414$$.

Face-centered Design
Central composite designs in which the axial points represent the mid levels for all but one of the factors are also referred to as face-centered central composite designs. For these designs, $$\alpha =1$$  and all factors are run at three levels, which are  $$-1$$,  $$0$$  and  $$1,$$  in terms of the coded values (see Figure CCDfacecentered). $$$$

Box-Behnken Designs
In Chapter 8, highly fractional designs introduced by Plackett and Burman were discussed. Plackett-Burman designs are used to estimate main effects in the case of two level fractional factorial experiments using very few runs. G. E. P. Box and D. W. Behnken (1960) introduced similar designs for three level factors that are widely used in response surface methods to fit second-order models to the response. The designs are referred to as Box-Behnken designs. The designs were developed by the combination of two level factorial designs with incomplete block designs. For example, Figure BoxBehnken shows the Box-Behnken design for three factors. The design is obtained by the combination of 2 $$^{2}$$ design with a balanced incomplete block design having three treatments and three blocks (for details see [BoxAndBehnken]). The advantages of Box-Behnken designs include the fact that they are all spherical designs and require factors to be run at only three levels. The designs are also rotatable or nearly rotatable. Some of these designs also provide orthogonal blocking. Thus, if there is a need to separate runs into blocks for the Box-Behnken design, then designs are available that allow blocks to be used in such a way that the estimation of the regression parameters for the factor effects are not affected by the blocks. In other words, in these designs the block effects are orthogonal to the other factor effects. Yet another advantage of these designs is that there are no runs where all factors are at either the $$+1$$  or  $$-1$$  levels. For example, in Figure BoxBehnken the representation of the Box-Behnken design for three factors clearly shows that there are no runs at the corner points. This could be advantageous when the corner points represent runs that are expensive or inconvenient because they lie at the end of the range of the factor levels. A few of the Box-Behnken designs available in DOE++ are presented in Appendix E. Example 2 Continuing with the example in Section 9.SteepestAscent, the first order model was found to be inadequate for the region near the optimum. Once the experimenter realized that the first order model was not adequate (for the region with a reaction temperature of 350 $$F$$  and reaction time of 165 minutes), it was decided to augment the experiment with axial runs to be able to complete a central composite design and fit a second order model to the response. Notice the advantage of using a central composite design, as the experimenter only had to add the axial runs to the 2 $$^{2}$$ design with center point runs, and did not have to begin a new experiment. The experimenter decided to use $$\alpha =1.4142$$  to get a rotatable design. The obtained response values are shown in Figure RSMExCCDdesign. Such a design can be set up in DOE++ using the properties shown in Figure Ex2CCDProps. The resulting design is shown in Figure Ex2CCDdesign and results from the analysis of the design are shown in Figure Ex2CCDresults.

$$$$ Figure 9.13: Box-Behnken design for three factors - (a) shows the geometric representation and (b) shows the design. $$$$ Figure 9.14: Response values for the two factor central composite design in Example 2.

The result in Figure Ex2CCDresults show that the main effects, $$A$$  and  $$B$$, the interaction,  $$AB$$ , and the quadratic main effects,  $${{A}^{2}}$$  and  $${{B}^{2}}$$ , (represented as AA and BB in the figure) are significant. The lack-of-fit test also shows that the second order model with these terms is adequate and a higher order model is not needed. Using these results, the model for the experiment, in terms of the coded values, is:


 * $$\hat{y}=94.91+0.74{{x}_{1}}+1.53{{x}_{2}}+0.45{{x}_{1}}{{x}_{2}}-1.52x_{1}^{2}-2.08x_{2}^{2}$$

Figure 9.15: Properties for the central composite design in Example 2.

Figure 9.16: Central composite design for the experiment in Example 2. Figure 9.17: Results for the central composite design in Example 2.

The response surface and the contour plot for this model, in terms of the actual variables, are shown in Figures RSMExYieldSurface (a) and (b), respectively. $$$$

Analysis of the Second Order Model
Once a second order model is fit to the response, the next step is to locate the point of maximum or minimum response. The second order model for $$k$$  factors can be written as:


 * $$\hat{y}={{\hat{\beta }}_{0}}+\underset{i=1}{\overset{k}{\mathop{\sum }}}\,{{\hat{\beta }}_{i}}{{x}_{i}}+\underset{i=1}{\overset{k}{\mathop{\sum }}}\,{{\hat{\beta }}_{ii}}x_{i}^{2}+\underset{i=1}{\overset{k}{\mathop{\sum }}}\,\underset{j=1}{\overset{i-1}{\mathop{\sum }}}\,{{\hat{\beta }}_{ij}}{{x}_{i}}{{x}_{j}}$$

The point for which the response, $$\hat{y}$$, is optimized is the point at which the partial derivatives,  $$\partial \hat{y}/\partial {{x}_{1}}$$ ,  $$\partial \hat{y}/\partial {{x}_{2}}$$ , $$...\partial \hat{y}/\partial {{x}_{k}},$$  are all equal to zero. This point is called the stationary point. The stationary point may be a point of maximum response, minimum response or a saddle point. These three conditions are shown in Figures RSMSaddlePt (a), (b) and (c) respectively. Notice that these conditions are easy to identify, in the case of two factor experiments, by the inspection of the contour plots. However, when more than two factors exist in an experiment, then the general mathematical solution for the location of the stationary point has to be used. Eqn. (SecondOrderModel) can be written in matrix notation as:


 * $$\hat{y}={{\hat{\beta }}_{0}}+{{x}^{\prime }}b+{{x}^{\prime }}Bx$$

where:


 * $$x=\left[ \begin{matrix}

{{x}_{1}} \\ {{x}_{2}} \\ . \\   .  \\   .  \\   {{x}_{k}}  \\ \end{matrix} \right]\text{  }b=\left[ \begin{matrix} {{{\hat{\beta }}}_{1}} \\ {{{\hat{\beta }}}_{2}} \\ . \\   .  \\   .  \\   {{{\hat{\beta }}}_{k}}  \\ \end{matrix} \right]\text{  and   }B=\left[ \begin{matrix} {{{\hat{\beta }}}_{11}} & {{{\hat{\beta }}}_{12}}/2 &. & . & . & {{{\hat{\beta }}}_{1k}}/2 \\ {} & {{{\hat{\beta }}}_{22}} &. & . & . & {{{\hat{\beta }}}_{2k}}/2 \\ {} & {} & . & . & . & . \\   {} & {} & {} & . & . & .  \\   {} & {} & {} & {} & . & .  \\   \text{sym}\text{.} & {} & {} & {} & {} & {{{\hat{\beta }}}_{kk}}  \\ \end{matrix} \right]$$

Then the stationary point can be determined as follows:


 * $$\frac{\partial \hat{y}}{\partial x}=b+2Bx=0$$

Figure 9.18: Response surface and countour plot for the experiment in Example 2. Figure 9.19: Types of second order response surfaces and their contour plots (a) shows the surface with a maximum point, (b) shows the surface with a minimum point and (c) shows the surface with a saddle point.

Thus, the stationary point is:


 * $${{x}_{s}}=-\frac{1}{2}{{B}^{-1}}b$$

The optimum response is the response corresponding to $${{x}_{s}}$$. The optimum response can be obtained by substituting $${{x}_{s}}$$  from Eqn. (StationaryPt) into Eqn. (SecOrdModelMatrixForm) to get:


 * $${{\hat{y}}_{s}}={{\hat{\beta }}_{0}}+\frac{1}{2}x_{s}^{\prime }b$$

Once the stationary point is known, it is necessary to determine if it is a maximum or minimum or saddle point. To do this, the second order model has to be transformed to the canonical form. This is done by transforming the model to a new coordinate system such that the origin lies at the stationary point and the axes are parallel to the principal axes of the fitted response surface (see Figure RSMcanonical). The resulting model equation then takes the following form:


 * $$\hat{y}={{\hat{y}}_{s}}+{{\lambda }_{1}}w_{1}^{2}+{{\lambda }_{2}}w_{2}^{2}+...+{{\lambda }_{k}}w_{k}^{2}$$

where the $${{w}_{i}}$$ s are the transformed independent variables, and  $${{\lambda }_{i}}$$ s are constants that are also the eigenvalues of the matrix  $$B$$. The nature of the stationary point is known by looking at the signs of the $${{\lambda }_{i}}$$ s. If the  $${{\lambda }_{i}}$$ s are all negative, then  $${{x}_{s}}$$  is a point of maximum response. If the $${{\lambda }_{i}}$$ s are all positive then  $${{x}_{s}}$$  is a point of minimum response. If the $${{\lambda }_{i}}$$ s have different signs, then  $${{x}_{s}}$$  is a saddle point.

Example 3

Continuing with Example 2 in Section 9.SteepestAscent, the second order model fitted to the response, in terms of the coded variables, was obtained as:


 * $$\hat{y}=94.91+0.74{{x}_{1}}+1.53{{x}_{2}}+0.45{{x}_{1}}{{x}_{2}}-1.52x_{1}^{2}-2.08x_{2}^{2}$$

Then the $$b$$  and  $$B$$  matrices for this model are:


 * $$b=\left[ \begin{matrix}

0.74 \\   1.53  \\ \end{matrix} \right]\text{      }B=\left[ \begin{matrix} -1.52 & 0.45 \\   0.45 & -2.08  \\ \end{matrix} \right]$$

Figure 9.20: The second order model in canonical form.

From Eqn. (StationaryPt) the stationary point is:

$$\begin{align} & {{x}_{s}}= & -\frac{1}{2}{{B}^{-1}}b \\ & = & -\frac{1}{2}{{\left[ \begin{matrix} -1.52 & 0.45 \\   0.45 & -2.08  \\ \end{matrix} \right]}^{-1}}\left[ \begin{matrix} 0.74 \\   1.53  \\ \end{matrix} \right] \\ & = & \left[ \begin{matrix} 0.3 \\   0.4  \\ \end{matrix} \right] \end{align}$$

Then, in terms of the actual values, the stationary point can be found as:


 * $$\begin{align}

& \text{Reaction Temperature:} & 0.3=\frac{T-350}{(355-345)/2} \\ & T= & 351.5\text{ }F \end{align}$$


 * $$\begin{align}

& \text{Reaction Time:} & 0.4=\frac{t-165}{(175-155)/2} \\ & t= & 169.0\text{ minutes} \end{align}$$

To find the nature of the stationary point the eigenvalues of the $$B$$  matrix can be obtained as follows using the determinant of the matrix  $$B-\lambda I$$ :


 * $$\begin{align}

& \left| B-\lambda I \right|= & 0 \\ & \left| \begin{matrix} -1.52-\lambda & 0.45  \\ 0.45 & -2.08-\lambda  \\ \end{matrix} \right|= & 0 \end{align}$$

This gives us:


 * $${{\lambda }^{2}}+3.61\lambda +2.9743=0$$

Solving the quadratic equation in $$\lambda $$  returns the eigenvalues  $${{\lambda }_{1}}=-1.2723$$  and  $${{\lambda }_{2}}=-2.3377$$. Since both the eigenvalues are negative, it can be concluded that the stationary point is a point of maximum response. The predicted value of the maximum response can be obtained using Eqn. (OptimumResponse) as:


 * $$\begin{align}

& {{{\hat{y}}}_{s}}= & {{{\hat{\beta }}}_{0}}+\frac{1}{2}x_{s}^{\prime }b \\ & = & 94.91+\frac{1}{2}{{\left[ \begin{matrix} 0.3 \\   0.4  \\ \end{matrix} \right]}^{\prime }}\left[ \begin{matrix} 0.74 \\   1.53  \\ \end{matrix} \right] \\ & = & 95.3 \end{align}$$

In DOE++, the maximum response can be obtained using the Optimization icon in the Control Panel by entering the required values as shown in Figure Ex3MaximumResponseSettings. In the figure, the Goal is set to Maximize and the limits of the search range for maximizing the response are entered as 90 and 100. The value of the maximum response and the corresponding values of the factors obtained are shown in Figure Ex3MaxResponsePlot. These values match the values calculated in this example. Figure 9.21: Settings to obtain the maximum value of the response in Example 3. Figure 9.22: Plot of the maximum response in Example 3 against the factors, temperature and time.

Multiple Responses
In many cases, the experimenter has to optimize a number of responses at the same time. For the example in Section 9.SteepestAscent, assume that the experimenter has to also consider two other responses - cost of the product (which should be minimized) and the pH of the product (which should be close to 7 so that the product is neither acidic nor basic). The data is presented in Figure RSMmultipleResponseData. The problem in dealing with multiple responses is that now there might be conflicting objectives because of the different requirements of each of the responses. The experimenter needs to come up with a solution that satisfies each of the requirements as much as possible without compromising too much on any of the requirements. The approach used in DOE++ to deal with optimization of multiple responses involves the use of desirability functions that are discussed next (for details see [DerringerAndSuich]). $$$$

Desirability Functions
Under this approach, each $$i$$ th response is assigned a desirability function,  $${{d}_{i}}$$, where the value of  $${{d}_{i}}$$  varies between 0 and 1. The function, $${{d}_{i}},$$  is defined differently based on the objective of the response. If the response is to be maximized, as in the case of the previous example where the yield had to be maximized, then $${{d}_{i}}$$  is defined as follows:


 * $$\begin{matrix}

{} & {} & 0 & {{y}_{i}}T \\ \end{matrix}$$

where $$T$$  represents the target value of the  $$i$$ th response,  $${{y}_{i}}$$,  $$L$$  represents the acceptable lower limit value for this response and  $$\omega $$  represents the weight. When $$\omega =1$$  the function  $${{d}_{i}}$$  is linear. If $$\omega >1$$  then more importance is placed on achieving the target for the response,  $${{y}_{i}}$$. When $$\omega <1$$, less weight is assigned to achieving the target for the response,  $${{y}_{i}}$$. A graphical representation is shown in Figure RSMdesirability (a). Figure 9.23: Data for the additional responses of cost and pH for the example to investigate the yield of a chemical process.

If the response is to be minimized, as in the case when the response is cost, $${{d}_{i}}$$  is defined as follows:


 * $$\begin{matrix}

{} & {} & 1 & {{y}_{i}}U \\ \end{matrix}$$

Here $$U$$  represents the acceptable upper limit for the response (see Figure RSMdesirability (b)). There may be times when the experimenter wants the response to be neither maximized nor minimized, but instead stay as close to a specified target as possible. For example, in the case where the experimenter wants the product to be neither acidic nor basic, there is a requirement to keep the pH close to the neutral value of 7. In such cases, the desirability function is defined as follows (see Figure RSMdesirability (c)):


 * $$\begin{matrix}

{} & {} \\   {{d}_{i}} & =  \\ {} & {} \\ \end{matrix}\begin{matrix} 0 & {{y}_{i}}U \\ \end{matrix}$$

Once a desirability function is defined for each of the responses, assuming that there are $$m$$  responses, an overall desirability function is obtained as follows:


 * $$D={{(d_{1}^{{{r}_{1}}}\cdot d_{2}^{{{r}_{2}}}\cdot ...\cdot d_{m}^{{{r}_{m}}})}^{1/({{r}_{1}}+{{r}_{2}}+...+{{r}_{m}})}}$$

where the $${{r}_{i}}$$ s represent the importance of each response. The greater the value of $${{r}_{i}}$$, the more important the response with respect to the other responses. The objective is to now find the settings that return the maximum value of $$D$$. To illustrate the use of desirability functions, consider the previous example with the three responses of yield, cost and pH as shown in Figure RSMmultipleResponseData. The response surfaces for the two additional responses of cost and pH are shown in Figures RSMExCostpH (a) and (b), respectively. Figure 9.24: Desirability function plots for different response optimizations - (a) the goal is to maximize the response, (b) the goal is to minimize the response and (c) the goal is to get the response to a target value.

In terms of actual variables, the models obtained for all three responses are as shown next:


 * $$\begin{align}

& \text{Yield: } & {{{\hat{y}}}_{1}}=-7480.24+41.24{{x}_{1}}+3.88{{x}_{2}}+0.009{{x}_{1}}{{x}_{2}} \\ & & -0.060825x_{1}^{2}-0.020831x_{2}^{2} \\ & \text{Cost: } & {{{\hat{y}}}_{2}}=15560.49-82.48{{x}_{1}}-7.76{{x}_{2}}-0.02{{x}_{1}}{{x}_{2}} \\ & & +0.12165x_{1}^{2}+0.041663x_{2}^{2} \\ & \text{pH: } & {{{\hat{y}}}_{3}}=38.87-0.0709{{x}_{1}}-0.041{{x}_{2}} \end{align}$$

Assume that the experimenter wants to have a target yield value of 95, although any value of yield greater than 94 is acceptable. Then the desirability function for yield is:


 * $$\begin{matrix}

{} & {} & 0 & {{y}_{1}}<94 \\ {{d}_{1}} & = & \left( \frac{{{{\hat{y}}}_{1}}-94}{95-94} \right) & 94\le {{y}_{1}}\le 95 \\ {} & {} & 1 & {{y}_{1}}>95 \\ \end{matrix}$$

For the cost, assume that the experimenter wants to lower the cost to 400, although any cost value below 415 is acceptable. Then the desirability function for cost is:


 * $$\begin{matrix}

{} & {} & 1 & {{y}_{2}}<400 \\ {{d}_{2}} & = & \left( \frac{415-{{{\hat{y}}}_{2}}}{415-400} \right) & 400\le {{y}_{2}}\le 415 \\ {} & {} & 0 & {{y}_{2}}>415 \\ \end{matrix}$$

For the pH, a target of 7 is desired but values between 6.9 and 7.1 are also acceptable. Thus, the desirability function here is:


 * $$\begin{matrix}

{} & {} \\   {{d}_{3}} & =  \\ {} & {} \\ \end{matrix}\begin{matrix} 0 & {{y}_{3}}<6.9 \\ \left( \frac{{{{\hat{y}}}_{3}}-6.9}{7-6.9} \right) & 6.9\le {{y}_{3}}\le 7 \\ \left( \frac{7.1-{{{\hat{y}}}_{3}}}{7.1-7} \right) & 7\le {{y}_{i}}\le 7.1 \\ 0 & {{y}_{3}}>7.1 \\ \end{matrix}$$

Notice that in the previous equations all weights used ( $${{\omega }_{i}}$$ s) are 1. Thus, all three desirability functions are linear. The overall desirability function, assuming equal importance ( $${{r}_{1}}={{r}_{2}}={{r}_{3}}=1$$ ) for all the responses, is:


 * $$\begin{align}

& D= & {{({{d}_{1}}\cdot {{d}_{2}}\cdot {{d}_{3}})}^{1/3}} \\ & = & f({{{\hat{y}}}_{1}},{{{\hat{y}}}_{2}},{{{\hat{y}}}_{3}}) \end{align}$$ Figure 9.25: Response surfaces for (a) cost and (b) pH. Figure 9.26: Optimization settings for the three responses of yield, cost, and pH.

The objective of the experimenter is to find the settings of $${{x}_{1}}$$  and  $${{x}_{2}}$$  such that the overall desirability,  $$D$$, is maximum. In DOE++, the settings for the desirability functions for each of the three responses can be entered as shown in Figure ThreeResponsesOptimizationSettings using the Optimization icon in the Control Panel. Based on these settings, DOE++ solves this optimization problem to obtain the following solution (see Figure ThreeResponsesOptimumSoln):


 * $$\begin{align}

& Temperature= & 351.5\text{ }F\text{ } \\ & Time= & 169\text{ }minutes \end{align}$$

$$$$ The overall desirability achieved with this solution can be calculated easily. Figure 9.27: Optimum solution from DOE++ for the three responses of yield, cost, and pH. he values of each of the response for these settings are:


 * $$\begin{align}

& \text{ }{{{\hat{y}}}_{1}}= & -7480.24+41.24{{x}_{1}}+3.88{{x}_{2}}+0.009{{x}_{1}}{{x}_{2}} \\ & & -0.060825x_{1}^{2}-0.020831x_{2}^{2} \\ & = & -7480.24+41.24(351.5)+3.88(169)+0.009(351.3)(169) \\ &  & -0.060825{{(351.5)}^{2}}-0.020831{{(169)}^{2}} \\  & = & 95.3 \\  & \text{ }{{{\hat{y}}}_{2}}= & 15560.49-82.48{{x}_{1}}-7.76{{x}_{2}}-0.02{{x}_{1}}{{x}_{2}} \\ & & +0.12165x_{1}^{2}+0.041663x_{2}^{2} \\ & = & 15560.49-82.48(351.5)-7.76(169)-0.02(351.5)(169) \\ &  & +0.12165{{(351.5)}^{2}}+0.041663{{(169)}^{2}} \\  & = & 409.35 \\  & \text{ }{{{\hat{y}}}_{3}}= & 38.87-0.0709{{x}_{1}}-0.041{{x}_{2}} \\ & = & 38.87-0.0709(351.5)-0.041(169) \\ & = & 7.00  \end{align}$$

Based on the response values, the individual desirability functions are:


 * $$\begin{align}

& {{d}_{1}}= & 1\text{  (since  }{{{\hat{y}}}_{1}}>95\text{)} \\ & {{d}_{2}}= & \left( \frac{415-{{{\hat{y}}}_{2}}}{415-400} \right)\text{  (since  }400\le {{y}_{2}}\le 415\text{)} \\ & = & \left( \frac{415-409.35}{415-400} \right) \\ & = & 0.3767 \\ & {{d}_{3}}= & 1\text{   (since  }{{{\hat{y}}}_{3}}\approx 7\text{)} \end{align}$$

Then the overall desirability is:


 * $$\begin{align}

& D= & {{({{d}_{1}}\cdot {{d}_{2}}\cdot {{d}_{3}})}^{1/3}} \\ & = & {{(1\cdot 0.3767\cdot 1)}^{1/3}} \\ & = & 0.72 \end{align}$$

This is the same as the Global Desirability displayed by DOE++ in Figure ThreeResponsesOptimumSoln. At times, a number of solutions may be obtained from DOE++ and it is up to the experimenter to choose the most feasible one.