Chapter6 28doe 29 Week14
Chapter6 28doe 29 Week14
Shazarel
BDA 24103 (Engineering Statistics)
Chapter 6
DESIGN OF EXPERIMENTS
(DOE)
Prepared by: Dr. Shazarel
Learning Objectives
At the end of this chapter, the students should be able to:
1. Design and conduct engineering experiments involving a single factor
2. Explain the concepts of completely randomized designed single-factor
experiment
3. Perform an analysis of variance from the experimental data
4. Analyse the differences between treatment means by multiple
comparison techniques
5. Perform model adequacy checking with the residual plots
2
Prepared by: Dr. Shazarel
Table of content :
6.1 Introduction: Designing engineering experiment
6.2 Completely randomized designed single-factor experiment
6.3 Analysis of variance (ANOVA)
6.4 Multiple comparison techniques
6.5 Residual analysis & model adequacy checking
3
Prepared by: Dr. Shazarel
▪ Benefits of DOE:
4
Prepared by: Dr. Shazarel
▪ Conclusion: using USA machine at lowest feed rate will result in max. process
capability.
5
Prepared by: Dr. Shazarel
Table 2
Run A B C Run A B C
No Temp. Machine Switch No Temp. Machine Switch
1 10 Japan On 13 30 Japan On
2 10 Japan Off 14 30 Japan Off
3 10 USA On 15 30 USA On
4 10 USA Off 16 30 USA Off
5 10 UK On 17 30 UK On
6 10 UK Off 18 30 UK Off
7 20 Japan On 19 40 Japan On
8 20 Japan Off 20 40 Japan Off
9 20 USA On 21 40 USA On
10 20 USA Off 22 40 USA Off
11 20 UK On 23 40 UK On
12 20 UK Off 24 40 UK Off
6
Prepared by: Dr. Shazarel
(2) Levels
Temperature (oC):10, 20, 30, 40 [4 levels]
Machine: made by Japan, by USA, by UK [3 levels]
Switch: on, or off [2 levels]
7
Prepared by: Dr. Shazarel
(3) Run: A run is one set of levels for all factors in an experiment. In below
experiment (refer Table 2), there are three factors:
▪ (A) temperature, (B) machine and (C) switch
▪ The total number of runs is, R = 4 x 3 x 2 = 24
▪ For example, [1] A = 10, B = Japan-made, C = on
..........
[24] A = 40, B = UK-made, C = off
▪ For single factor experiments, run is equivalent to level of the factor. The
number R of runs is equal to the number a of levels.
8
Prepared by: Dr. Shazarel
• By DOE, we can find out which factors have effects on the response, and
the direction of the influence (i.e., whether the increase of a factor
will increase or decrease the response ?)
9
Prepared by: Dr. Shazarel
Examples:
▪ Increase process capability
▪ Improve students’ study
▪ Reduce output variability
10
Prepared by: Dr. Shazarel
Introduction
▪ Single factor experiment can be used in the situation where the effect (influence)
of a single factor on the response is dominant. The effects of all other factors are
negligible.
11
Prepared by: Dr. Shazarel
Example 1:
Table 5: Tensile strength of paper
Hardwood Observations
Concen. (%) 1 2 3 4 5 6 Total Avg
5 7 8 15 11 9 10 60 10.00
10 12 17 13 18 19 15 94 15.67
15 14 18 19 17 16 18 102 17.00
20 19 25 22 23 18 20 127 21.17
383 15.96
12
Prepared by: Dr. Shazarel
13
Prepared by: Dr. Shazarel
14
Prepared by: Dr. Shazarel
Paper strength
Hardwood
10 20 30 Concen. (%)
15
Prepared by: Dr. Shazarel
. . . . . .
. . . . . .
yij = the jth observation taken under the ith level of the factor.
16
Prepared by: Dr. Shazarel
(6.3)
ȳ.. the grand average of all observations.
ȳ.. = y.. / N (6.4)
N = an is the total number of observations
17
Prepared by: Dr. Shazarel
Model of ANOVA
Yij = + i + ij = i + ij (6.5)
18
Prepared by: Dr. Shazarel
Table 8
Machine Process capability Cp
USA 2.1, 2.0, 1.9
Japan 0.9, 1.0, 1.1
19
Prepared by: Dr. Shazarel
20
Prepared by: Dr. Shazarel
Cont.
Evaluation of Errors
• For instance, if i = 1, j = 1, yij = y11 = 2.1
ij = yij − i
11 = y11 − 1 y11 − ȳ1. = 2.1 − 2.0 = 0.1
Table 8.1
Machine Errors
USA 0.1, 0.0, -0.1
Japan -0.1, 0.0, 0.1
21
Prepared by: Dr. Shazarel
Figure 6.2
22
Prepared by: Dr. Shazarel
The larger the value of any |i|, the more effective the factor will be. Here,
the magnitude of i, rather than its sign, makes sense.
24
Prepared by: Dr. Shazarel
25
Prepared by: Dr. Shazarel
Figure 6.4
26
Prepared by: Dr. Shazarel
27
Prepared by: Dr. Shazarel
28
Prepared by: Dr. Shazarel
SST The total sum of squares, which is a measure of total variability in the
data.
(6.7)
SSF the sum of squares due to the factor, that is the sum of squares of differences
between factor level averages and the grand average (difference between levels).
(6.8)
29
Prepared by: Dr. Shazarel
SSE the sum of squares due to error, that is the sum of squares of
differences between observations and their level averages (difference
within levels).
(6.9)
30
Prepared by: Dr. Shazarel
(6.11)
(6.12)
(6.13)
31
Prepared by: Dr. Shazarel
a = 2, n=3
y1 = 6 y2 = 3 y = 9
ȳ1 = 2 ȳ2 = 1 ȳ = 1.5
32
Prepared by: Dr. Shazarel
Cont.
Machining Example (2)
Table 9
Machine Process capability Cp
USA 1.6, 1.5, 1.4
Japan 1.4, 1.5, 1.6
a = 2, n=3
y1 = 4.5 y2 = 4.5 y = 9
ȳ1 = 1.5 ȳ2 = 1.5 ȳ = 1.5
SST = (1.62 + 1.52 + 1.42 + 1.42 + 1.52 + 1.62 ) − 92 / 6 = 13.54 – 13.5 = 0.04
SSF =(4.52+ 4.52)/3 - 92 / 6 = 13.5-13.5=0
SS E = 0.04− 0= 0.04
33
Prepared by: Dr. Shazarel
Cont.
• If SSF is large, it is due to differences among the means at the
different factor levels. See equation (6.12), a large SSF means that i (or |i|)
is great. It is an indication that the factor has significant effect on the
response.
• Usually, SSF is standardized by taking SSF / SSE . By comparing SSF to
SSE, we can see how much variability is due to changing factor levels
and how much is due to error.
Machining Example
Table 11
Effective ? SSF/SSE
Example 1 Yes (1.50) 37.5(1.50/0.04)
Example 2 No (0) 0 (0/0.04)
34
Prepared by: Dr. Shazarel
Equation of DOF
an - 1 = (a - 1) + a (n - 1)
DOF of SST = DOF of SSF + DOF of SSE
35
Prepared by: Dr. Shazarel
Example:
From Machining Example (1)
Table 8
Machine Process capability Cp
USA 2.1, 2.0, 1.9
Japan 0.9, 1.0, 1.1
a = 2, n = 3
total number of observations N: 23=6
degrees of freedom of SST : N–1 =6–1=5
degrees of freedom of SSF : a–1 =2–1=1
degrees of freedom of SSE : a (n-1) = 2 (3 - 1) = 4
Check equation : 5=1+4
36
Prepared by: Dr. Shazarel
(6.17)
(6.18)
37
Prepared by: Dr. Shazarel
Cont.
(4) Calculate the test ratio F0.
(6.19)
1 = 2-1=1
2 = 2(3-1)=4
38
Prepared by: Dr. Shazarel
Cont.
Figure 6.5
The density function curve of an example of the F distribution
39
Prepared by: Dr. Shazarel
Cont.
(5) Make conclusion.
40
Prepared by: Dr. Shazarel
Cont.
If F0 is large → is large → SSF is large → i2 is large →
41
Prepared by: Dr. Shazarel
Cont.
F0
42
Prepared by: Dr. Shazarel
F ,1 ,2
43
Prepared by: Dr. Shazarel
Cont.
Table 13
44
Prepared by: Dr. Shazarel
Example 1:
From Machining Example (1) (a = 2, n = 3, N = 6), refer to Table 8
Table 14
Since F0 > F ,1 ,2 machines have significant effect on the process capability.
Sum of squares, 1.50 + 0.04 = 1.54
Degree of freedom, 1 + 4 = 5
45
Prepared by: Dr. Shazarel
Example 2:
From Machining Example (2) (a = 2, n = 3, N = 6), refer to Table 9
Table 15
Total 0.04 5
Since F0 < F ,1 ,2 machines do not have significant effect on the process
capability.
46
Prepared by: Dr. Shazarel
Tutorial:
Table 16 : Tensile strength of paper
Hardwood Observations
Concen. (%) 1 2 3 4 5 6 Total Avg
5 7 8 15 11 9 10 60 10.00
10 12 17 13 18 19 15 94 15.67
15 14 18 19 17 16 18 102 17.00
20 19 25 22 23 18 20 127 21.17
383 15.96
a = 4, n = 6, N = an = 24
Please find :