Professional Documents
Culture Documents
Design of Experiment-I
Design of Experiment-I
• MID-SIZE VEHICLES
COMPARISON AMONG MEANS :
2 3
PICKUP TRUCKS
SUV’S MID-SIZE VEHICLES
MID-SIZE
SUV
MIDSIZE
SUV
PICKUP
4 5
• AN O VA
•
ANOVA
6 7
1
An Introduction to Experimental Design
and Analysis of Variance
An Introduction to Experimental Design In this section three types of experimental designs are
and Analysis of Variance introduced.
Analysis of Variance and • a completely randomized design (One-way
the Completely Randomized Design ANOVA)
Multiple Comparison Procedures • a randomized block design Two-way
• a factorial experiment ANOVA
8 9
10 11
Testing for the Equality of k Population Means: Testing for the Equality of k Population Means:
A Completely Randomized Design A Completely Randomized Design
Example: AutoShine, Inc.
The number of times each car went through the Wax Wax Wax
carwash before its wax deteriorated is shown on the Observation Type 1 Type 2 Type 3
next slide. AutoShine, Inc. must decide which wax 1 27 33 29
to market. Are the three waxes equally effective? 2 30 28 28
3 29 31 30
4 28 30 32
5 31 30 31
12 13
2
One-way ANOVA: Identifying Factor, Treatments, Experimental Units, and
Response Variables Sampling Scheme for Independent Samples
Wax Wax Wax
Observation Type 1 Type 2 Type 3
1 27 33 29
2 30 28 28
3 29 31 30
4 28 30 32
5 31 30 31
14 15
Ha: Not all population means are equal Then we need to conduct a POST-HOC test.
16 17
ANOVA Table
Completely Randomized Design
for a Completely Randomized Design
One-way ANOVA
18 19
3
ANOVA Computation
EXPRESSIONS FOR SSTR & SSE
for a Completely Randomized Design
OR
20 21
k k
n (x
2
j j x )2 (n j 1)s 2j
j 1
MSTR
j 1
MSE
k1 nT k
Numerator is called
Denominator is the Numerator is called Denominator is the the sum of squares
degrees of freedom the sum of squares due degrees of freedom due to error (SSE)
associated with SSTR to treatments (SSTR) associated with SSE
22 23
Comparing the Variance Estimates: The F Test Comparing the Variance Estimates: The F Test
If the null hypothesis is true and the ANOVA Sampling Distribution of MSTR/MSE
assumptions are valid, the sampling distribution of
MSTR/MSE is an F distribution with MSTR d.f. Sampling Distribution
equal to k - 1 and MSE d.f. equal to nT - k. of MSTR/MSE
If the means of the k populations are not equal, the
value of MSTR/MSE will be inflated because MSTR Reject H0
overestimates s 2.
Hence, we will reject H0 if the resulting value of
Do Not Reject H0
MSTR/MSE appears to be too large to have been MSTR/MSE
selected at random from the appropriate F F
distribution. Critical Value
24 25
4
ANOVA Table Test for the Equality of k Population Means
for a Completely Randomized Design
Hypotheses
ANOVA can be viewed as the process of partitioning
the total sum of squares and the degrees of freedom H0: 1=2=3=. . . = k
into their corresponding sources: treatments and error. Ha: Not all population means are equal
26 27
Test for the Equality of k Population Means Testing for the Equality of k Population Means:
A Completely Randomized Design
Rejection Rule Example: AutoShine, Inc.
p-value Approach: Reject H0 if p-value < AutoShine, Inc. is considering marketing a long-
lasting car wax. Three different waxes (Type 1, Type 2,
Critical Value Approach: Reject H0 if F > F and Type 3) have been developed.
In order to test the durability of these waxes, 5 new
where the value of F is based on an cars were waxed with Type 1, 5 with Type 2, and 5
F distribution with k - 1 numerator d.f.
with Type 3. Each car was then repeatedly run
and nT - k denominator d.f.
through an automatic carwash until the wax coating
showed signs of deterioration.
28 29
Testing for the Equality of k Population Means: Testing for the Equality of k Population Means:
A Completely Randomized Design A Completely Randomized Design
Example: AutoShine, Inc.
The number of times each car went through the Wax Wax Wax
carwash before its wax deteriorated is shown on the Observation Type 1 Type 2 Type 3
next slide. AutoShine, Inc. must decide which wax 1 27 33 29
to market. Are the three waxes equally effective? 2 30 28 28
3 29 31 30
Factor . . . Car wax 4 28 30 32
Treatments . . . Type I, Type 2, Type 3 5 31 30 31
Experimental units . . . Cars
Sample Mean 29.0 30.4 30.0
Response variable . . . Number of washes
Sample Variance 2.5 3.3 2.5
𝛼 = 0.05
30 31
5
Testing for the Equality of k Population Means: Testing for the Equality of k Population Means:
A Completely Randomized Design A Completely Randomized Design
Hypotheses Mean Square Between Treatments
H0: 1=2=3 Because the sample sizes are all equal:
Ha: Not all the means are equal x ( x1 x 2 x3 )/3 = (29 + 30.4 + 30)/3 = 29.8
where: SSTR = 5(29–29.8)2 + 5(30.4–29.8)2 + 5(30–29.8)2 = 5.2
1 = mean number of washes using Type 1 wax MSTR = 5.2/(3 - 1) = 2.6
2 = mean number of washes using Type 2 wax Mean Square Error
3 = mean number of washes using Type 3 wax
SSE = 4(2.5) + 4(3.3) + 4(2.5) = 33.2
MSE = 33.2/(15 - 3) = 2.77
32 33
Testing for the Equality of k Population Means: Testing for the Equality of k Population Means:
A Completely Randomized Design A Completely Randomized Design
Rejection Rule Test Statistic
p-Value Approach: Reject H0 if p-value < .05 F = MSTR/MSE = 2.60/2.77 = .939
Critical Value Approach: Reject H0 if F > 3.89 Conclusion
The p-value is greater than .10, where F = 2.81.
where F.05 = 3.89 is based on an F distribution
(Excel provides a p-value of .42.)
with 2 numerator degrees of freedom and 12
Therefore, we cannot reject H0.
denominator degrees of freedom
There is insufficient evidence to conclude that
the mean number of washes for the three wax
types are not all the same.
34 35
Testing for the Equality of k Population Means: Analysis of Variance: A Conceptual Overview
A Completely Randomized Design
ANOVA Table Assumptions for Analysis of Variance
Source of Sum of Degrees of Mean For each population, the response (dependent)
Variation Squares Freedom Squares F p-Value variable is normally distributed.
Treatments 5.2 2 2.60 .939 .42 The variance of the response variable, denoted s 2,
is the same for all of the populations. This is also known as
Error 33.2 12 2.77 Assumption of Homogeneity of Variance.
The observations must be independent.
Total 38.4 14
36 37
6
Analysis of Variance: A Conceptual Overview Analysis of Variance: A Conceptual Overview
x2 x1 x3 x3 3 x1 1 2 x2
38 39
Testing for the Equality of k Population Means: Testing for the Equality of k Population Means:
Example: Reed Manufacturing Example: Reed Manufacturing
Janet Reed would like to know if there is any A simple random sample of five managers from
significant difference in the mean number of hours each of the three plants was taken and the number of
worked per week for the department managers at her hours worked by each manager in the previous week
three manufacturing plants (in Buffalo, Pittsburgh, is shown on the next slide.
and Detroit).
An F test will be conducted using = .05.
Identify Factors, Treatments, Experimental units
and Response Variables
40 41
Testing for the Equality of k Population Means: Testing for the Equality of k Population Means:
Example: Reed Manufacturing
42 43
7
Testing for the Equality of k Population Means: Testing for the Equality of k Population Means:
p -Value and Critical Value Approaches p -Value and Critical Value Approaches
44 45
Testing for the Equality of k Population Means: Testing for the Equality of k Population Means:
46 47
Testing for the Equality of k Population Means: Testing for the Equality of k Population Means:
4. Compute the p –value. 4. Determine the critical value and rejection rule.
With 2 numerator d.f. and 12 denominator d.f., Based on an F distribution with 2 numerator
the p-value is .01 for F = 6.93. Therefore, the d.f. and 12 denominator d.f., F.05 = 3.89.
p-value is less than .01 for F = 9.55. Reject H0 if F > 3.89
48 49
8
EXAMPLE 3 DATA
50 51
52 53
•
REJECT THE NULL HYPOTHESIS
• •
54 55
9
_ _ Fisher’s LSD Procedure
Based on the Test Statistic xi - xj
Hypotheses Example: Reed Manufacturing
H 0 : i j
H a : i j Recall that Janet Reed wants to know if there is any
significant difference in the mean number of hours
worked per week for the department managers at her
• TEST STATISTIC xi x j
three manufacturing plants.
Analysis of variance has provided statistical
Rejection Rule
Reject H0 if xi x j > LSD evidence to reject the null hypothesis of equal
population means. Fisher’s least significant difference
where (LSD) procedure can be used to determine where the
LSD t /2 MSE( 1 n 1 n ) differences occur.
i j
56 57
• Hypotheses (A) H 0 : 1 2
H a : 1 2
LSD t /2 MSE( 1 n 1 n ) • Rejection Rule
i j
Reject H0 if x1 x2 > 6.98
LSD 2. 179 25 . 667 ( 1 5 1 5 ) 6. 98 • Test Statistic
x1 x2 = |55 68| = 13
MSE value was
computed earlier • Conclusion
The mean number of hours worked at Plant 1 is
not equal to the mean number worked at Plant 2.
58 59
60 61
10
EXAMPLE 3 DATA
62 63
64 65
66 67
11
• •
• •
Tukey’s Method
If absolute difference > Omega, Reject Null
Hypothesis
68 69
70 71
12