design of experiments
DESCRIPTION
solved problems for this chapter : 4shared.com/office/nDBvEdgXba/Solved_Problems.htmlTRANSCRIPT
![Page 1: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/1.jpg)
DOE 6E Montgomery
Design of Engineering ExperimentsPart 5 – The 2k Factorial Design
• Text reference, Chapter 6• Special case of the general factorial design; k
factors, all at two levels• The two levels are usually called low and high (they
could be either quantitative or qualitative)• Very widely used in industrial experimentation• Form a basic “building block” for other very useful
experimental designs (DNA)
![Page 2: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/2.jpg)
DOE 6E Montgomery
Relationship between the tools and the practical problems
Practical Questions Statistical Answer We have varied all the controllable factors at the
same time how can we estimate the effect of each factor separately?
Orthogonality Concept
Do all the controllable factors have the same effect on the examined performance measure?
How can we quantify the effect controllable factors of rank them based on their importance?
Effect estimation
Do some of the factors depend on others in affecting the performance measure?
Interaction Estimation
If we repeat the experiment, another time do we get the same conclusions?
To what extent can we generalize the conclusions of our experiment?
ANOVA but its assumptions must be met.
![Page 3: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/3.jpg)
DOE 6E Montgomery
Orthogonallity & Orthogonal Arrays (OA)
• Orthogonality comes from the Greek orthos, meaning "straight", and gonia, meaning "angle". It has somewhat different meanings depending on the context, but most involve the idea of perpendicular, non-overlapping, varying independently, or uncorrelated.
• In mathematics, two lines or curves are orthogonal if they are perpendicular at their point of intersection. Two vectors are orthogonal if and only if their dot product is zero.
• Typically in Cartesian coordinates, one considers primarily bound vectors. A bound vector is determined by the coordinates of the terminal point, its initial point always having the coordinates of the origin O = (0,0). Thus the bound vector represented by (1,0) is a vector of unit length pointing from the origin up the positive x-axis.
![Page 4: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/4.jpg)
DOE 6E Montgomery
Orthogonallity & Orthogonal Arrays
• Using the 22=4 Orthogonal array, vector A (-1,1,-1,1) and B (-1,-1,1,1) are orthogonal because– Their inner product is zero– All the possible pair of levels appear
the same number of time
• It is essential to estimate the effect of each of the studied factors independently.
A B-1 -11 -1-1 11 1
![Page 5: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/5.jpg)
DOE 6E Montgomery
Example Tea Experiment Data
F M Tea Type Sugar Cup Response Avg1 L 1.5 P 3 5 42 L 1.5 M 8 4 63 L 2 P 5 6 5.54 L 2 M 4 5 4.55 R 1.5 P 6 5 5.56 R 1.5 M 5 4 4.57 R 2 P 4 5 4.58 R 2 M 6 7 6.5
![Page 6: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/6.jpg)
DOE 6E Montgomery
Relationship between the tools and the practical problems
Practical Questions Statistical Answer We have varied all the controllable factors at the
same time how can we estimate the effect of each factor separately?
Orthogonality Concept
Do all the controllable factors have the same effect on the examined performance measure?
How can we quantify the effect controllable factors of rank them based on their importance?
Effect estimation
Do some of the factors depend on others in affecting the performance measure?
Interaction Estimation
If we repeat the experiment, another time do we get the same conclusions?
To what extent can we generalize the conclusions of our experiment?
ANOVA but its assumptions must be met.
![Page 7: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/7.jpg)
Determining the most influential factors—calculation of the main effect
F M Tea Type Sugar Cup Response Avg1 L (-1) 1.5 (-1) P (-1) 3 5 42 L (-1) 1.5 (-1) M (+1) 8 4 63 L (-1) 2 (+1) P (-1) 5 6 5.54 L (-1) 2 (+1) M (+1) 4 5 4.55 R(+1) 1.5 (-1) P (-1) 6 5 5.56 R(+1) 1.5 (-1) M (+1) 5 4 4.57 R(+1) 2 (+1) P (-1) 4 5 4.58 R(+1) 2 (+1) M (+1) 6 7 6.5
Avg (-1) 5 5 4.875Avg (+1) 5.25 5.25 5.375Effect 0.25 0.25 0.5
![Page 8: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/8.jpg)
DOE 6E Montgomery
Evaluating the Interdependence
• What is interaction? Does tea depend on sugar in impacting the taste?
• Fix tea at its (-1) level (Lepton) and vary the sugar-compute the effect of sugar
• Fix tea at its (+1) level Rabee and vary the sugar-compute the effect of sugar
• Compare the effects calculated in the above two steps-if the are equal, then there is no interdependence
![Page 9: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/9.jpg)
DOE 6E Montgomery
Evaluating the Interdependence
![Page 10: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/10.jpg)
Evaluating the Interdependence
DOE 6E Montgomery
![Page 11: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/11.jpg)
Evaluating the Interdependence
DOE 6E Montgomery
![Page 12: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/12.jpg)
DOE 6E Montgomery
Generating Interactions Columns in OAs
• No. of two-factor interaction in 2k design =– k!/(2!*(k-2)!)
• No. of three-factor interaction in 2k design =– k!/(3!*(k-3)!)
• No. of X-factor interaction in 2k design =– k!/(x!*(k-x)!)
• Each interaction column is obtained by multiplying the elements of the factors that comprise (form) it
![Page 13: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/13.jpg)
DOE 6E Montgomery
Interactions in Tea experiments
• Three factors (k) were studied.• No. of two-factor interaction in 2k design =
– 3!/(2!*(3-2)!) = 3• No. of three-factor interaction in 2k design =
– 3!/(3!*(3-3)!) = 1• No. of X-factor interaction in 2k design =
– k!/(x!*(k-x)!)• Each interaction column is obtained by multiplying
the elements of the factors that comprise (form) it
![Page 14: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/14.jpg)
DOE 6E Montgomery
Estimate the main effects & interactions in the Tea experiments
![Page 15: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/15.jpg)
DOE 6E Montgomery
Plot the main effects in the Tea experiments
![Page 16: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/16.jpg)
DOE 6E Montgomery
Plot the Sugar-Tea type interaction
![Page 17: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/17.jpg)
DOE 6E Montgomery
Plot the Cup-Tea type interaction
![Page 18: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/18.jpg)
DOE 6E Montgomery
Relationship between the tools and the practical problems
Practical Questions Statistical Answer We have varied all the controllable factors at the
same time how can we estimate the effect of each factor separately?
Orthogonality Concept
Do all the controllable factors have the same effect on the examined performance measure?
How can we quantify the effect controllable factors of rank them based on their importance?
Effect estimation
Do some of the factors depend on others in affecting the performance measure?
Interaction Estimation
If we repeat the experiment, another time do we get the same conclusions?
To what extent can we generalize the conclusions of our experiment?
ANOVA but its assumptions must be met.
![Page 19: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/19.jpg)
Tea Experiment ANOVA
Source
Sum ofSquares
DF
MeanSquare
F-Value
P-value
A 0.25 1 0.25 0.153846154 0.7051
B 0.25 1 0.25 0.153846154 0.7051
C 1 1 1 0.615384615 0.4554
AB 0.25 1 0.25 0.153846154 0.7051
AC 0 1 0 0 1.0000
BC 0 1 0 0 1.0000
ABC 9 1 9 5.538461538 0.0464
Pure Error 13 8 1.625
Total 23.75 15
![Page 20: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/20.jpg)
DOE 6E Montgomery
Example Tea Experiment Data
F M Tea Type Sugar Cup Response Avg1 L 1.5 P 3 5 42 L 1.5 M 8 4 63 L 2 P 5 6 5.54 L 2 M 4 5 4.55 R 1.5 P 6 5 5.56 R 1.5 M 5 4 4.57 R 2 P 4 5 4.58 R 2 M 6 7 6.5
![Page 21: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/21.jpg)
ANOVA• Tool for identifying the causes of variances and
quantifying their contributions.• Vertical vs. horizontal variance• Variance equation:
• Every value in a random sample provide a piece of information about the population & to do so it must be unpredictable.
• Number of data points that provide information -the number of points that can freely vary.
![Page 22: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/22.jpg)
ANOVA• If two S2 are computed for two samples that
come from two normal populations with a common variance then their ratio S1
2/S22
follows Fdf1,df2.
• If an effect is not significant, its variance should be close to the error variance.
• In hypothesis testing, it is assumed that the effect is zero and the calculated F-value is evaluated on this basis
![Page 23: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/23.jpg)
F-distribution
F 0
Rejection Region
tableF
CalculatedF
![Page 24: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/24.jpg)
Two-Factor Analysis of Variance
SST
SSA
SSB
SSAB
SSE
Factor A
Factor B
Interaction Between A and BInherent Variation (Error)
![Page 25: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/25.jpg)
Two-Factor Analysis of Variance
![Page 26: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/26.jpg)
Tea Experiment ANOVA
![Page 27: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/27.jpg)
Tea Experiment ANOVA
Source
Sum ofSquares
DF
MeanSquare
F-Value
P-value
A 0.25 1 0.25 0.153846154 0.7051
B 0.25 1 0.25 0.153846154 0.7051
C 1 1 1 0.615384615 0.4554
AB 0.25 1 0.25 0.153846154 0.7051
AC 0 1 0 0 1.0000
BC 0 1 0 0 1.0000
ABC 9 1 9 5.538461538 0.0464
Pure Error 13 8 1.625
Total 23.75 15
![Page 28: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/28.jpg)
Tea Experiment ANOVA
Source
Sum ofSquares
DF
MeanSquare
F-Value
P-value
ABC 9 1 9 8.542373 0.0111
Residual 14.75 14 1.053571
Total 23.75 15
![Page 29: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/29.jpg)
Tea Experiment Regression
• Y = average + (Effect/2)X• Y =5.13+0.75ABC• This should be used to predict the values of the
responses and estimate the error
![Page 30: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/30.jpg)
Residuals EstimationStandardOrder
ActualValue
PredictedValue
Residual
1 3 4.375 -1.3752 8 5.875 2.1253 5 5.875 -0.8754 4 4.375 -0.3755 6 5.875 0.1256 5 4.375 0.6257 4 4.375 -0.3758 6 5.875 0.1259 5 4.375 0.62510 4 5.875 -1.87511 6 5.875 0.12512 5 4.375 0.62513 5 5.875 -0.87514 4 4.375 -0.37515 5 4.375 0.62516 7 5.875 1.125
![Page 31: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/31.jpg)
Residuals (error) assessment
• Subtracting the actual values from the predicted ones (YA-Yp) e
• Errors average should be zero (the positive impacts cancel the negative ones).
• It should be normally distributed any linear function of normally distributed variable is normal (Central limit theory)
• It should be independent of the run order• Considerably large values should be examined• Its variance with the predicted values should be the same
(homogeneous variance)• So errors should be independent, Normally distributed with constant
variance
![Page 32: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/32.jpg)
Residuals Plot (Normality)
![Page 33: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/33.jpg)
Residuals Plot (Normality)
• Sort the calculated errors from the smallest to the largest
• Assign a rank value (i) to each of them• Calculate (i-0.5)/(No. of residuals)
![Page 34: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/34.jpg)
Residuals Plot (Normality)Rank Reseduals (i-0.5)/161 -1.875 0.031252 -1.375 0.093753 -0.875 0.156254 -0.875 0.218755 -0.375 0.281256 -0.375 0.343757 -0.375 0.406258 0.125 0.468759 0.125 0.5312510 0.125 0.5937511 0.625 0.6562512 0.625 0.7187513 0.625 0.7812514 0.625 0.8437515 1.125 0.9062516 2.125 0.96875
![Page 35: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/35.jpg)
Residuals Plot (Normality)
![Page 36: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/36.jpg)
Residuals Plot (Independence)
![Page 37: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/37.jpg)
Residuals Plot: Variance Constance
![Page 38: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/38.jpg)
Use the table of the data and locate the maximum (or the minimum)
F M Tea Type Sugar Cup Response Avg1 L 1.5 P 3 5 42 L 1.5 M 8 4 63 L 2 P 5 6 5.54 L 2 M 4 5 4.55 R 1.5 P 6 5 5.56 R 1.5 M 5 4 4.57 R 2 P 4 5 4.58 R 2 M 6 7 6.5
![Page 39: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/39.jpg)
If the main effects are the only significant effects use their plot to identify the best settings.
![Page 40: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/40.jpg)
Conclusions From the Experiments
• None of the studied factors has an independent effect on the tea taste as all the main effects were statistically not significant.
• Because of the significance of the interaction ABC, the impact of tea type on the taste depends on both the sugar quantity and the cup type.
• The residuals analysis revealed no serious violation of the ANOVA assumption. In fact only the variance constancy assumption is suspicious.
• The best performance was attained with Rabee tea when used with two sugar cubes and a Mug.
![Page 41: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/41.jpg)
ABC interaction plot
C = MC = P
![Page 42: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/42.jpg)
Single Replicate Experiments Tea Type Sugar Cup Res
1 L 1.5 P 3
2 L 1.5 M 8
3 L 2 P 5
4 L 2 M 4
5 R 1.5 P 6
6 R 1.5 M 5
7 R 2 P 4
8 R 2 M 6
![Page 43: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/43.jpg)
Single Replicate Experiments
• Estimate the effects and divide them into two groups-the small verses the large ones.
• Use half-normal probability plot• Use ANOVA –values of the sums of squares
should be divided into two groups.
![Page 44: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/44.jpg)
Estimate the effects and divide them into two groups-the small verses the large ones
Term Effect
A 0.25
B -0.75
C 1.25
AB 0.25
AC -0.75
BC -0.75
ABC 2.25
![Page 45: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/45.jpg)
Half-Normal Probability Plot
• Obtain the absolute values of the effects• Sort the calculated absolute Effects from the
smallest to the largest.• Assign a rank value (i) to each Effect.• Calculate (i-0.5)/(No. of Effects)
![Page 46: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/46.jpg)
Half-Normal Probability PlotRank (i) Term Effect (i-0.5)/7
1 A 0.25 0.071429
2 AB 0.25 0.214286
3 B 0.75 0.357143
4 AC 0.75 0.5
5 BC 0.75 0.642857
6 C 1.25 0.785714
7 ABC 2.25 0.928571
![Page 47: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/47.jpg)
Half-Normal Probability Plot
![Page 48: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/48.jpg)
Half-Normal Probability Plot
SourceSum of
Squares DFMean
SquareF
Value Prob > F
C 3.125 1 3.125 4.310345 0.0925
ABC 10.125 1 10.125 13.96552 0.0135
Error 3.625 5 0.725
Total 16.875 7
![Page 49: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/49.jpg)
Half-Normal Probability Plot
Source
Sum ofSquares
DF
MeanSquare
FValue
Prob > F
ABC 10.125 1 10.125 9 0.0240
Residual 6.75 6 1.125
Total 16.875 7
![Page 50: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/50.jpg)
What to do if the Residuals plots reveal unusual pattern
• Consider one of the conventional transformations of the response such as: log, ln, square root, inverse square root
• Use Power transformation –Box-Cox plot• The above procedures are normally
implemented using a software package.• If these transformations are not effective,
the experiments must be repeated.
![Page 51: Design of Experiments](https://reader033.vdocuments.us/reader033/viewer/2022061116/546533c0af79590f738b55df/html5/thumbnails/51.jpg)
Selecting Best Settings
• Use the table of the data and locate the maximum (or the minimum)
• If the main effects are the only significant effects use their plot to identify the best settings.
• If there is one or more significant two or higher factor interactions, use their plots along with the main effects that are not involved in them to identify the best settings.