Professional Documents
Culture Documents
Experimental Design
Experimentation Treatment
• A treatment is something that researchers administer
• An experiment deliberately imposes a treatment on a to experimental units.
group of objects or subjects in the interest of
observing the response. Examples:
• This differs from an observational study, which • A corn field is divided into four, each part is 'treated'
involves collecting and analyzing data without with a different fertiliser to see which produces the
changing existing conditions. most corn;
• A teacher practices different teaching methods on
• Because the validity of an experiment is directly different groups in his/her class to see which yields
affected by its construction and execution, attention the best results;
to experimental design is extremely important. • A doctor treats a patient with a skin condition with
different creams to see which is most effective.
3 4
1
24-11-2023
Factor
Level
• A factor of an experiment is a controlled independent
variable; a variable whose levels are set by the
• Treatments are administered to experimental units by experimenter.
'level', where level implies amount or magnitude. • A factor is a general type or category of treatments.
Different treatments constitute different levels of a
Example:
factor.
• If the experimental units were given 5mg, 10mg, 15mg Examples:
of a medication, those amounts would be three levels of
• Three different groups of runners are subjected to
the treatment. different training methods.
• The runners are the experimental units;
the training methods, the treatments; and
the three types of training methods constitute three
levels of the factor 'type of training'.
5 6
7 8
2
24-11-2023
9 10
Why ANOVA? • For four treatment means, there are six possible comparisons,
hence, the probability of no Type I errors is (0.95)6 = 0.74.
• The probability of a Type I error increases when we The probability of at least one Type I error is 0.26 or 26%.
make several pairwise comparisons. • For five treatment means, there are ten possible comparisons,
• Every time we do a statistical test where the null hence, the probability of no Type I error is (0.95)10 = 0.60.
hypothesis applies, the risk of a Type I error is our The probability of at least one Type I error is 0.40 nor 40%.
That is, 40% of the time we will reject the null hypothesis of
chosen value of α. If α is 0.05, then the probability of
equal means in favor of the alternative!
not making a Type I error is (1-α) or 0.95.
• The total type I error is 1 – (1- α)k where k is the number of
• If we have three treatment means and therefore make means.
three pairwise comparisons (1 versus 2, 2 versus 3, • These risks are unacceptably high. We need a test that
and 1 versus 3), the probability of no Type I errors is compares more than two treatment means with a Type I error
(0.95)3 = 0.86. The probability of at least one Type I the same as α.
error is 0.14 or 14%.
11 12
3
24-11-2023
15 16
4
24-11-2023
5
24-11-2023
21 22
23 24
6
24-11-2023
SST ( X ij X ) 2 Response, X
Where: j 1 i 1
SSW
Among-Group Variation
SSA n 1 ( X1 X ) 2 n 2 ( X 2 X ) 2 ... n c (X c X ) 2
c Response, X
SSA n j ( X j X) 2
j1
28
7
24-11-2023
SSW ( X ij X j ) 2 SSA
j 1 i 1 MSA Mean Squares Among
c 1
SSW ( X 11 X 1 ) 2 ( X 21 X 1 ) 2 ... ( X nc X c ) 2
SSW
MSW Mean Squares Within
nc
j
30
8
24-11-2023
9
24-11-2023
10
24-11-2023
. . . ... . . .
. . . ... . . . Within groups
. . . ... . . .
- --
Total
a xa1 xa 2 ... x an xa . xa .
- --
x .. x..
41 42
Two-Way ANOVA
• Examines the effect of
Two factors of interest on the dependent variable
e.g., Percent carbonation and line speed on soft
drink bottling process
Interaction between the different levels of these
two factors
e.g., Does the effect of one particular carbonation
level depend on which level the line speed is set?
43
11