chapter 10 design of experiments and analysis of variance
TRANSCRIPT
![Page 1: Chapter 10 Design of Experiments and Analysis of Variance](https://reader036.vdocuments.net/reader036/viewer/2022062304/56649cea5503460f949b4d71/html5/thumbnails/1.jpg)
Chapter 10
Design of Experiments and Analysis of Variance
![Page 2: Chapter 10 Design of Experiments and Analysis of Variance](https://reader036.vdocuments.net/reader036/viewer/2022062304/56649cea5503460f949b4d71/html5/thumbnails/2.jpg)
2
Elements of a Designed Experiment
•Response variable
Also called the dependent variable
•Factors (quantitative and qualitative)
Also called the independent variables
•Factor Levels
•Treatments
•Experimental Unit
![Page 3: Chapter 10 Design of Experiments and Analysis of Variance](https://reader036.vdocuments.net/reader036/viewer/2022062304/56649cea5503460f949b4d71/html5/thumbnails/3.jpg)
3
Elements of a Designed Experiment
Designed vs. Observational Experiment•In a Designed Experiment, the analyst determines the treatments, methods of assigning units to treatments.•In an Observational Experiment, the analyst observes treatments and responses, but does not determine treatments•Many experiments are a mix of designed and observational
![Page 4: Chapter 10 Design of Experiments and Analysis of Variance](https://reader036.vdocuments.net/reader036/viewer/2022062304/56649cea5503460f949b4d71/html5/thumbnails/4.jpg)
4
Elements of a Designed Experiment
Dependent Variable
Independent Variable
Sample
Population of Interest
Single-Factor Experiment
![Page 5: Chapter 10 Design of Experiments and Analysis of Variance](https://reader036.vdocuments.net/reader036/viewer/2022062304/56649cea5503460f949b4d71/html5/thumbnails/5.jpg)
5
Elements of a Designed Experiment
Two-factor Experiment
![Page 6: Chapter 10 Design of Experiments and Analysis of Variance](https://reader036.vdocuments.net/reader036/viewer/2022062304/56649cea5503460f949b4d71/html5/thumbnails/6.jpg)
6
The Completely Randomized Design
Achieved when the samples of experimental units for each treatment are random and independent of each other
Design is used to compare the treatment means:
0 1 2: ... kH :aH At least two of the treatment means differ
![Page 7: Chapter 10 Design of Experiments and Analysis of Variance](https://reader036.vdocuments.net/reader036/viewer/2022062304/56649cea5503460f949b4d71/html5/thumbnails/7.jpg)
7
The Completely Randomized Design
• The hypotheses are tested by comparing the differences between the treatment means to the amount of sampling variability present
• Test statistic is calculated using measures of variability within treatment groups and measures of variability between treatment groups
![Page 8: Chapter 10 Design of Experiments and Analysis of Variance](https://reader036.vdocuments.net/reader036/viewer/2022062304/56649cea5503460f949b4d71/html5/thumbnails/8.jpg)
8
The Completely Randomized Design
Sum of Squares for Treatments (SST)Measure of the total variation between treatment means, with k treatments
Calculated by
Where
2
1
k
iii
SST n x x
th
i
thi
n number of observations in i treatment group
x mean of measurements in i treatment group
x overall mean of all measurements
![Page 9: Chapter 10 Design of Experiments and Analysis of Variance](https://reader036.vdocuments.net/reader036/viewer/2022062304/56649cea5503460f949b4d71/html5/thumbnails/9.jpg)
9
The Completely Randomized Design
Sum of Squares for Error (SSE)Measure of the variability around treatment means attributable to sampling error
Calculated by
After substitution, SSE can be rewritten as
1 22 2 2
1 1 2 21 1 1
...knn n
j j kj kj j j
SSE x x x x x x
2 2 21 1 2 21 1 ... 1k kSSE n s n s n s
![Page 10: Chapter 10 Design of Experiments and Analysis of Variance](https://reader036.vdocuments.net/reader036/viewer/2022062304/56649cea5503460f949b4d71/html5/thumbnails/10.jpg)
10
The Completely Randomized Design
Mean Square for Treatments (MST)Measure of the variability among treatment means
Mean Square for Error (MSE)Measure of sampling variability within treatments
1
SSTMST
k
SSEMSE
n k
![Page 11: Chapter 10 Design of Experiments and Analysis of Variance](https://reader036.vdocuments.net/reader036/viewer/2022062304/56649cea5503460f949b4d71/html5/thumbnails/11.jpg)
11
The Completely Randomized Design
F-StatisticRatio of MST to MSE
Values of F close to 1 suggest that population means do not differ
Values further away from 1 suggest variation among means exceeds that within means, supports Ha
, ( 1, )MST
F with df k n kMSE
![Page 12: Chapter 10 Design of Experiments and Analysis of Variance](https://reader036.vdocuments.net/reader036/viewer/2022062304/56649cea5503460f949b4d71/html5/thumbnails/12.jpg)
12
The Completely Randomized Design
Conditions Required for a Valid ANOVA F-Test: Completely Randomized Design
1. Independent, randomly selected samples.
2. All sampled populations have distributions that approximate normal distribution
3. The k population variances are equal
![Page 13: Chapter 10 Design of Experiments and Analysis of Variance](https://reader036.vdocuments.net/reader036/viewer/2022062304/56649cea5503460f949b4d71/html5/thumbnails/13.jpg)
13
The Completely Randomized Design
A Format for an ANOVA summary table
ANOVA Summary Table for a Completely Randomized Design
Source df SS MS F
Treatments 1k SST 1
SSTMST
k
MST
MSE
Error n k SSE SSE
MSEn k
Total 1n SS Total
![Page 14: Chapter 10 Design of Experiments and Analysis of Variance](https://reader036.vdocuments.net/reader036/viewer/2022062304/56649cea5503460f949b4d71/html5/thumbnails/14.jpg)
14
The Completely Randomized Design
ANOVA summary table: an example from Minitab
![Page 15: Chapter 10 Design of Experiments and Analysis of Variance](https://reader036.vdocuments.net/reader036/viewer/2022062304/56649cea5503460f949b4d71/html5/thumbnails/15.jpg)
15
The Completely Randomized Design
Conducting an ANOVA for a Completely Randomized Design
1. Assure randomness of design, and independence, randomness of samples
2. Check normality, equal variance assumptions
3. Create ANOVA summary table
4. Conduct multiple comparisons for pairs of means as necessary/desired
5. If H0 not rejected, consider possible explanations, keeping in mind the possibility of a Type II error
![Page 16: Chapter 10 Design of Experiments and Analysis of Variance](https://reader036.vdocuments.net/reader036/viewer/2022062304/56649cea5503460f949b4d71/html5/thumbnails/16.jpg)
16
Multiple Comparisons of Means
•A significant F-test in an ANOVA tells you that the treatment means as a group are statistically different.•Does not tell you which pairs of means differ statistically from each other•With k treatment means, there are c different pairs of means that can be compared, with c calculated as 1
2
k kc
![Page 17: Chapter 10 Design of Experiments and Analysis of Variance](https://reader036.vdocuments.net/reader036/viewer/2022062304/56649cea5503460f949b4d71/html5/thumbnails/17.jpg)
17
Multiple Comparisons of Means
•Three widely used techniques for making multiple comparisons of a set of treatment means•In each technique, confidence intervals are constructed around differences between means to facilitate comparison of pairs of means•Selection of technique is based on experimental design and comparisons of interest•Most statistical analysis packages provide the analyst with a choice of the procedures used by the three techniques for calculating confidence intervals for differences between treatment means
![Page 18: Chapter 10 Design of Experiments and Analysis of Variance](https://reader036.vdocuments.net/reader036/viewer/2022062304/56649cea5503460f949b4d71/html5/thumbnails/18.jpg)
18
Multiple Comparisons of Means
Guidelines for Selecting a Multiple Comparisons Method in ANOVA
Method Treatment Sample Sizes Types of Comparisons Tukey Equal Pairwise Bonferroni Equal or Unequal Pairwise Scheffe Equal or Unequal General Contrasts
![Page 19: Chapter 10 Design of Experiments and Analysis of Variance](https://reader036.vdocuments.net/reader036/viewer/2022062304/56649cea5503460f949b4d71/html5/thumbnails/19.jpg)
19
The Randomized Block Design
Two-step procedure for the Randomized Block Design:
1. Form b blocks (matched sets of experimental units) of k units, where k is the number of treatments.
2. Randomly assign one unit from each block to each treatment. (Total responses, n=bk)
![Page 20: Chapter 10 Design of Experiments and Analysis of Variance](https://reader036.vdocuments.net/reader036/viewer/2022062304/56649cea5503460f949b4d71/html5/thumbnails/20.jpg)
20
The Randomized Block Design
2
1
2
1
2
1
( )
( )
i
Bi
k
T
i
b
i
n
ii
SST b x x
SSB k x x
SS Total x x
SSE SS Total SST SSB
Partitioning Sum of Squares
![Page 21: Chapter 10 Design of Experiments and Analysis of Variance](https://reader036.vdocuments.net/reader036/viewer/2022062304/56649cea5503460f949b4d71/html5/thumbnails/21.jpg)
21
The Randomized Block Design
1
1
SSTMST
kSSE
MSEn b k
Calculating Mean Squares
Hypothesis Testing
Setting Hypotheses
0 1 2: ...
:k
a
H
H At least two treatment means differ
MSTF
MSE
Rejection region: F > F, F based on (k-1), (n-b-k+1) degrees of freedom
![Page 22: Chapter 10 Design of Experiments and Analysis of Variance](https://reader036.vdocuments.net/reader036/viewer/2022062304/56649cea5503460f949b4d71/html5/thumbnails/22.jpg)
22
The Randomized Block Design
Conditions Required for a Valid ANOVA F-Test: Randomized Block Design
1. The b blocks are randomly selected, all k treatments are randomly applied to each block
2. Distributions of all bk combinations are approximately normal
3. The bk distributions have equal variances
![Page 23: Chapter 10 Design of Experiments and Analysis of Variance](https://reader036.vdocuments.net/reader036/viewer/2022062304/56649cea5503460f949b4d71/html5/thumbnails/23.jpg)
23
The Randomized Block Design
Conducting an ANOVA for a Randomized Block Design
1. Ensure design consists of blocks, random assignment of treatments to units in block
2. Check normality, equal variance assumptions 3. Create ANOVA summary table4. Conduct multiple comparisons for pairs of means as
necessary/desired
5. If H0 not rejected, consider possible explanations, keeping in mind the possibility of a Type II error
6. If desired, conduct test of H0 that block means are equal
![Page 24: Chapter 10 Design of Experiments and Analysis of Variance](https://reader036.vdocuments.net/reader036/viewer/2022062304/56649cea5503460f949b4d71/html5/thumbnails/24.jpg)
24
Factorial Experiments
Complete Factorial Experiment
•Every factor-level combination is utilized
Schematic Layout of Two-Factor Factorial Experiment
Factor B at b levels Level 1 2 3 … b
1 Trt.1 Trt.2 Trt.3 … Trt.b 2 Trt.b+1 Trt.b+2 Trt.b+3 … Trt.2b 3 Trt.2b+1 Trt.2b+2 Trt.2b+3 … Trt.3b
…
…
…
… …
…
Factor A at a Levels
a Trt.(a-1)b+1 Trt.(a-1)b+2 Trt.(a-1)b+3 … Trt.ab
![Page 25: Chapter 10 Design of Experiments and Analysis of Variance](https://reader036.vdocuments.net/reader036/viewer/2022062304/56649cea5503460f949b4d71/html5/thumbnails/25.jpg)
25
Factorial Experiments
Partitioning Total Sum of Squares
•Usually done with statistical package
![Page 26: Chapter 10 Design of Experiments and Analysis of Variance](https://reader036.vdocuments.net/reader036/viewer/2022062304/56649cea5503460f949b4d71/html5/thumbnails/26.jpg)
26
Factorial Experiments
Conducting an ANOVA for a Factorial Design
1. Partition Total Sum of Squares into Treatment and Error components
2. Test H0 that treatment means are equal. If H0 is rejected proceed to step 3
3. Partition Treatment Sum of Squares into Main Effect and Interaction Sum of Squares
4. Test H0 that factors A and B do not interact. If H0 is rejected, go to step 6. If H0 is not rejected, go to step 5.
5. Test for main effects of Factor A and Factor B6. Compare the treatment means
![Page 27: Chapter 10 Design of Experiments and Analysis of Variance](https://reader036.vdocuments.net/reader036/viewer/2022062304/56649cea5503460f949b4d71/html5/thumbnails/27.jpg)
27
Factorial Experiments
SPSS ANOVA Output for a factorial experiment