You are on page 1of 54

c.

In
e,
as
-E
at
St

Finding the best process setup for one response is hard enough, but what can you do
9

when faced with customer demands for multiple specifications? Do you ever get
0

between a rock and a hard place in trying to satisfy all the demands?
20

If so, weve got an approach that may solve all your problems.

* Propagation of error (POE) is also known by several other names; e.g.,


transmitted variance, transmission of error, transmission of variance (TOV),
etc.

1

20
09
St
at
-E
as
e,
In
c.

2
c.
In
e,
as
-E
at
St

Only statistical masochists would do RSM by hand. At the very least, you would use
9

a regression package to do the fitting. Even this requires tedious coding and careful
0

interpretation of the output. Better yet, use software specifically geared to RSM. We
20

will use DESIGN-EXPERT on an example problem. This case study takes you
through the typical steps used in a RSM design. Concentrate on mechanics, do not

get hung-up on analysis details.

3
c.
In
e,
as
-E
at
St

Only statistical masochists would do RSM by hand. At the very least, you would use
9

a regression package to do the fitting. Even this requires tedious coding and careful
0

interpretation of the output. Better yet, use software specifically geared to RSM. We
20

will use DESIGN-EXPERT on an example problem. This case study takes you
through the typical steps used in a RSM design. Concentrate on mechanics, do not

get hung-up on analysis details.

4
c.
In
e,
as
-E
at
St

This is a very powerful tool for finding your sweet spot where all specifications can
9

be met. But the reliability of the results depends on the validity of your predictive
0

models.
20

Each response may have a different model, or a different subset of factors.


5
c.
In
e,
as
-E
at
St

A significant model F-value gives you confidence that you can explain what causes
9

variation. However, some statisticians advise that for prediction purposes, you need
a stronger fit, perhaps as much as 4 times the F value youd normally accept as
0
20

significant. A more straight-forward statistic for determining the strength of your


model for prediction is the adequate precision, which was defined mathematically in

Section 2 in the explanation of outputs from the RSM tutorial. Recall that this
statistic measures the signal by taking the range of predicted response (max to min of
y) which you can read off the case statistic table in the ANOVA report. It ratios this
signal to noise defined by a function of the Mean Square Error (MSE) which comes
from the ANOVA table.

6
c.
In
e,
as
-E
at
St

Compare these results to the criteria for good models.


0 9
20

7
c.
In
e,
as
-E
at
St

Compare these results to the criteria for good models.


0 9
20

8
c.
In
e,
as
-E
at
St

Don't get stalled on new plots or statistics. Focus on learning how to use the
9

software.
0
20

9
c.
In
e,
as
-E
at
St

Ideally, all goals can be achieved simultaneously. Often there are trade offs to be
9

made. As one goal is reached the others fail. The idea of optimization is to find the
best set of trade offs. This is NOT the same as finding the best solution. Finding
0
20

the best solution requires subject matter knowledge.


10
c.
In
e,
as
-E
at
St

Stretching a goal beyond the best observed response allows the optimization
algorithm to look for better than observed prediction regions. Once an optimal goal
0 9

is reached or exceeded the algorithm no longer attempts to improve that criteria. Be


20

realistic when stretching. Dont push the limits too far.


In this case 100% conversion is an obvious natural limit. We could set a practical

upper limit of 97%. If so, then 100% is considered no better than 97%.

11
c.
In
e,
as
-E
at
St

Desirability:
9

is zero when activity 60


0

increases from zero to one as activity goes from 60 to 63.


20

decreases from one to zero as activity goes from 63 to 66


is zero when activity is 66

12
c.
In
e,
as
-E
at
St

The search algorithm uses the points in the design, in this case, 9 (the 8 factorial and
9

one center point) plus 30 more random factor combinations (for a total of 39) as the
0

starting points for the search. The random start points can produce slightly different
20

optimums.

13
c.
In
e,
as
-E
at
St

Use the Ramps view to compare the solutions; clicking on the solution numbers one
9

after another and see what changes on the ramps.


0
20

14

20
09
St
at
-E
as
e,
In
c.

15
c.
In
e,
as
-E
at
St

Its very common that experimenters must contend with multiple responses. In such
9

cases it helps to use a numerical approach that entails construction of an objective


0

function "big D", which represents desirable combinations. This turns out to be a
20

handy way to make tradeoffs between multiple responses thats very simple.
You will find this to be a common-sense approach that can be easily explained to

your colleagues. It offers advantages over the main alternative, linear programming,
which assumes that you want to optimize one major response subject to constraints
on the remaining responses. Desirability functions allow balancing of all responses
with the additional advantage that the result can be plotted.
The function involves assignment of desirabilities to each response. Use of
geometric mean to calculate overall desirability provides the property that if any one
response attains zero desirability then the overall desirability will be zero. It's all or
nothing.
For further details see G. C. Derringer, A Balancing Act: Optimizing a Products
Properties. Quality Progress, June 1994 in the appendix of this manual and posted
on our web site at http://www.statease.com/pubs/derringer.pdf.

16
c.
In
e,
as
-E
at
St

Factors normally will be left at their default of their experimental range (or in the case
9

of factorial-based designs, their plus/minus 1 coded levels). However, it may be


greatly beneficial to set different goals on particular factors, in addition to whats
0
20

asked of the responses.


If you end up with a desirability of 1, then you have stopped before you have reached

the peak of the mountain.


If your ranges are too narrow, then there might be no solutions whatsoever!

17
c.
In
e,
as
-E
at
St

The assignment of optimization parameters is where your subject matter expertise


9

and knowledge of customer requirements becomes the key to getting a good


0

outcome.
20

The goal and limits define the ds


18
c.
In
e,
as
-E
at
St

It is best to start by keeping things as simple as possible. Then after seeing what
9

happens, impose further parameters such as the weight and/or importance on


specific responses (or factors do not forget that these can also be manipulated in
0
20

the optimization).

19
c.
In
e,
as
-E
at
St

If you want the absolute maximum, set the High limit higher than what you actually
9

observed in your experimental results.


0

If the response ends up less than the Low limit, the desirability will be zero. If it is
20

greater than the High limit, the desirability will be one.


20
c.
In
e,
as
-E
at
St

To get the absolute maximum, set the upper limit to its theoretical limit of 100%.
0 9
20

21
c.
In
e,
as
-E
at
St

This goal is the one you will use for the typical product specification. Try to negotiate
9

the widest range possible!


0
20

22
c.
In
e,
as
-E
at
St

Notice that the actual responses of 53.2 and 67.9 are spread outside (below and
9

above) the desired range.


0
20

23
c.
In
e,
as
-E
at
St

If you want the absolute minimum, set the low limit very low below what you
9

actually observed in your experimental results.


0
20

24
c.
In
e,
as
-E
at
St

Design-Expert will set the limits at the plus/minus 1 (coded) range for CCDs, even if
9

their alpha values exceed 1 and thus put actual values further out. The idea for
CCDs is to stay inside the box when making predictions and seeking optimum
0
20

values. Users, if they dare, may push these limits out, hopefully only to take a stab in
the dark.

Technical note: Per Derringer and Suich, the goal of range is considered to be simply
a constraint, so the di , although they get included in the product of the desirability
function "D", are not counted in determining "n" for D=(di)1/n.

25
c.
In
e,
as
-E
at
St

Technical note: The individual desirability generated from the equality goal is not
9

included in the product for computation of the overall desirability.


0

Why cant you set a response to is equal to? Answer: You dont have direct control
20

of the response there is no knob to dial it in. Instead, the response is a function of
the factors you can control.

26
c.
In
e,
as
-E
at
St

Nobody is forcing you to optimize any particular response! For instance, if a particular
9

response did not result in a good prediction model, then it may be better to leave it
out of the optimization. Remember, garbage in will send garbage out.
0
20

27
c.
In
e,
as
-E
at
St

If you want to really fine-tune the optimization, you can assign weights. These affect
9

the shapes of the ramps so they more closely approximate what your customers
0

want.
20

Weights greater than 1 give more emphasis to the goal.


Weights less than 1 give less emphasis to the goal.

28
c.
In
e,
as
-E
at
St

Lets see how weights affect maximization. Higher weights put more emphasis on the
9

goal. For example if we began with an un-weighted desirability of 0.5, what would
0

happen with a weight of 2? (Answer: desirability drops to 0.25. Therefore the


20

program will not be satisfied until it pushes closer to the high threshold on this
response.) What happens with a weight of 0.5? (Answer: desirability increases to

about 0.7. Therefore the program will be satisfied fairly quickly once it reaches the
low threshold.)

29
c.
In
e,
as
-E
at
St

The flip side of maximization is minimization.


0 9
20

30
c.
In
e,
as
-E
at
St

To get really fancy you can use weights on a goal as target and shape to your liking,
or better yet, your customers. You could even approximate the Taguchi quadratic
9

loss function, which being negative is U-shaped so youd want desirability, a positive
0
20

attribute, to be an upside-down U done by setting weights below 1 on either side,


for example at the minimum value of 0.1.

31
c.
In
e,
as
-E
at
St

There are no weights associated goals of in range and equal to. These goals that
9

have only zero or one as possible values and weights would have no effect.
0
20

32
c.
In
e,
as
-E
at
St

If youre concerned more about setting priorities to your responses (and you usually
9

are), use this feature.


0

Note that if all importance ratings are the same, then they have no impact.
20

33
c.
In
e,
as
-E
at
St

The assignment of optimization parameters is where your subject matter expertise is


9

incorporated into the search for the optimum formula.


0
20

34
c.
In
e,
as
-E
at
St

If you want the details, the hill-climbing algorithm is described in the appendix. Its
9

quite interesting, but not required reading.


0

Leaving the weights at one for this case, we went ahead and ran cycles from random
20

starting points and searched for maximums on the overall objective function for
desirability.

35
c.
In
e,
as
-E
at
St

Since it's not easy to anticipate what will happen with weighting, we advise that you
9

begin with weights of 1. You might also go with wider windows to be sure that some
0

desirable regions will be opened. Then narrow down the windows and add weights
20

and importance ratings if needed.


Leaving the weights at one for this case, we went ahead and ran 30 cycles from

random starting points and searched for maximums on the univariate objective
function for desirability. Two separate hills were found. Other solutions are
duplicates that passed through the filter in Design-Expert software. You can adjust
the filter via the Options button on the Criteria screen for Numerical Optimization.
The scale for the filter slide bar is labeled Epsilon. Moving epsilon up causes fewer
solutions to be reported and vice-versa.

36
c.
In
e,
as
-E
at
St

As you can see, we only got about halfway up the ramp for conversion: 0.565 fraction
9

of the way to be precise.


0

If you want to be puff up the relative result, just back down on the upper threshold of
20

100. For example you could reiterate at an upper limit of 92 and get a considerably
higher desirability. Does this really matter? (Answer: no, the same conditions will be

recommended. Desirability is a relative scale.)

37
c.
In
e,
as
-E
at
St

This optimum hits the activity target. The overall desirability then becomes the
9

square root of the product of the two individual desirabilities.


0
20

38
c.
In
e,
as
-E
at
St

The higher of the two optimums is at 90 degrees.


0 9
20

39
c.
In
e,
as
-E
at
St

The lower of the two optimums is at 80 degrees.


0 9
20

40
c.
In
e,
as
-E
at
St

Generally, if you uncover multiple local optimums when working with three or more
9

factors, you must take separate slices for each. But in this case the factor "time" is
0

nearly the same for both optimums, 46.66 minutes for the first and 46.54 for the
20

second. So you are able to see both local optimums on one plot with X1 axis = B
(temperature) and X2 axis = C (catalyst), while holding A (time) constant at 46.6

minutes.
From this plot you can follow paths to two separate local optimums:
If the random starting point is at a low temperature, the optimization climbs the
hill on the left.
If the random starting point is at a high temperature, the optimization climbs
the hill on the right.
Numerical optimization is an incredibly valuable tool when used with graphics to
explore the response surface. However, it may take some digging to find the best set
of experimental conditions which can satisfy a number of constraints. You may find it
necessary to adjust your expectations.

41
c.
In
e,
as
-E
at
St

Combining multiple polynomials (some linear, quadratic, with a transformation) leads


to a rugged mountainous surface. We drop many seeds (some random and some
0 9

not) down to populate the surface.


20

42
c.
In
e,
as
-E
at
St

When the seeds or skydivers land, they are instructed to walk up (increasing
desirability) until they cant find a higher point.
0 9
20

Notice that:
Multiple peaks can be found.

If several seeds land on the same mountain, they will converge to a single peak.
Plateaus will lead to many more solutions because there is no way to go up.
The step size will influence finding the exact peak.

43
c.
In
e,
as
-E
at
St

A simplex is a geometric figure having a number of vertexes equal to one more than
9

the number of independent factors. For two factor, the simplex forms an equilateral
0

triangle as shown here. It's been found that simplex optimization as outlined here is a
20

relatively efficient approach that's very robust to case variations. It requires only
function evaluations, not derivatives.

After randomly choosing a starting point, we move toward the center of the
experimental space to form the simplex. You can choose the size, which the program
defaults to 10%.
Further details:
The use of next to worst ("n") from previous simplex ensures that won't get stuck in
flip-flop (like rubber raft stuck in "hydraulic" trough). The last "N" becomes the new
"W" which might better be termed "wastebasket" because it may not be worst.
What will happen if all points are on the zero desirability plane? (Answer: you're
stuck! DESIGN-EXPERT will move toward measurable levels by a proprietary
method.)

44
c.
In
e,
as
-E
at
St

Here's how a move looks in two and three-dimensional space.


0 9
20

45
c.
In
e,
as
-E
at
St

We drew up an example that shows how the simplex climbs the hill. Note that at the
9

end it begins overlap itself in a spin. This phenomenon is unique to one and two
0

dimensions. Three dimensional tetrahedral and higher dimensional hyper-tetrahedra


20

do not close pack so they will not overlap. As soon as you see overlap, the
optimization should be terminated.

The simplexes we've looked at so far are fixed size. Next we look at a more effective
strategy which entails use of variable size simplexes.

46
c.
In
e,
as
-E
at
St

In 1965, Nelder and Mead made modifications to the simplex algorithm which allow
9

expansion in favorable directions and contractions in unfavorable directions.


0

Reducing this simple concept to hard rules of logic makes it look more complicated
20

than it needs to be. Once you get it figured out it becomes very mechanical.
Reminder: B is the best point, W is the worst point and N is the next to worst point.

You can see from the pictures that the expansion point doubles the fixed step from
the centroid of the hyperface. The contraction draws in the step by 50 percent.
If the reflection point falls between the previous best and next worst, B and N, then
we stay there. Some practitioners call this the "Ho Hum" vertex because it's so
mediocre.

47
c.
In
e,
as
-E
at
St

In 1965, Nelder and Mead made modifications to the simplex algorithm which allow
9

expansion in favorable directions and contractions in unfavorable directions. They


0

reduced this simple concept to just a handful of hard rules of logic that work well
20

programatically.
As you can see, the variable simplex feeds on gradients. Like a living organism, it

grows up hills and shrinks around the peaks. Its kind of a wild thing, but little harm
can occur as long as it stays caged in the computer. The animated GIF (copied from
http://www.chem.uoa.gr/Applets/appletsimplex/Text_Simplex2.htm) shows for a single
simplex the various moves contraction versus expansion.
On the other hand, the fixed size simplex shown earlier plods robotically in
appropriate vectors and then cartwheels around the peak. This is a more
conservative procedure if done on a real process, but since no harm can be done
using it with RSM models, its better to use the variable-sized simplex for more
precise results in a similar number of moves.

48

20
09
St
at
-E
as
e,
In
c.

49
c.
In
e,
as
-E
at
St

Ideally, all goals can be achieved simultaneously. Often there are trade offs to be
9

made. As one goal is reached the others fail. The idea of optimization is to find the
best set of trade offs. This is NOT the same as finding the best solution. Finding
0
20

the best solution requires subject matter knowledge.


50
c.
In
e,
as
-E
at
St

Here's the plot of time and catalyst with temperature sliced at 90.
9

Notice that since you want to maximize Conversion, it only has a lower bound and not
0

an upper bound.
20

Activity will have both a lower and an upper bound since it is trying to achieve a target
value.

51
c.
In
e,
as
-E
at
St

Here's the plot of time and catalyst with temperature changed to be sliced at 80.
0 9
20

52
c.
In
e,
as
-E
at
St

The graphical optimization will be more presentable to your clients because it shows
the sweet spots where all specifications can be met. If this operating window is too
0 9

small, click on each border to identify specifications that perhaps could be relaxed.
20

Conversely, if specifications have been applied loosely, some might be tightened up


with no effect on the sweet spot because they dont form its borders.

The Optimization Guide starts on page 2-14 of the Handbook.

53

20
09
St
at
-E
as
e,
In
c.

54

You might also like