BSC 311: Design and Analysis of Experiments First Semester 2021/22 Academic Year
BSC 311: Design and Analysis of Experiments First Semester 2021/22 Academic Year
Note: This lecture will not be taught in class. It is for your-need-to-know-basis only just in case
you come across such experiments in your research. We will do this using a computer.
Introduction
The multi-way factorial analysis of variance is performed by expanding the considerations of the
two-way analysis of variance to assess the effects on a variable of the simultaneous application
of three or more factors.
However, it has become uncommon for analyses of variance with more than two factors to be
analyzed other than on a computer, owing to considerations of time, ease and accuracy.
Therefore, this lecture will not instruct the student in the computational mechanics of multi-way
analyses of variance. Rather, it will presume that established computer programs will be used to
perform the necessary mathematical manipulations.
Example 1. We want to determine the effect of species, temperature and sex on the rate of
oxygen consumption of crabs. The tables below show the results of the study:
Species 1
Low temperature Medium temperature High temperature
♂ ♀ ♂ ♀ ♂ ♀
1.9 1.8 2.3 2.4 2.9 3.0
1.8 1.7 2.1 2.7 2.8 3.1
1.6 1.4 2.0 2.4 3.4 3.0
1.4 1.5 2.6 2.6 3.2 2.7
1
Lecture 9 Wilson Wesley Lazaro Jere
BSC 311: Design and Analysis of Experiments First Semester 2021/22 Academic Year
Species 2
Low temperature Medium temperature High temperature
♂ ♀ ♂ ♀ ♂ ♀
2.1 2.3 2.4 2.0 3.6 3.1
2.0 2.0 2.6 2.3 3.1 3.0
1.8 1.9 2.7 2.1 3.4 2.8
2.2 1.7 2.3 2.4 3.2 3.2
Species 3
Low temperature Medium temperature High temperature
♂ ♀ ♂ ♀ ♂ ♀
1.1 1.4 2.0 2.4 2.9 3.2
1.2 1.0 2.1 2.6 2.8 2.9
1.0 1.3 1.9 2.3 3.0 2.8
1.4 1.2 2.2 2.2 3.1 2.9
Hypotheses
𝐻𝑜 : Mean respiratory rate is the same in all three crab species (i.e., 𝜇1 = 𝜇2 = 𝜇3 ).
𝐻𝑎 : Mean respiratory rate is not the same in all three crab species.
𝐻𝑜 : Mean respiratory rate of crabs is the same at all three experimental temperatures (i.e.,
𝜇𝑙𝑜𝑤 = 𝜇𝑚𝑒𝑑 = 𝜇ℎ𝑖𝑔ℎ ).
𝐻𝑎 : Mean respiratory rate of crabs is not the same at all three experimental temperatures.
𝐻𝑜 : Mean respiratory rate is the same for males and females crabs (i.e., 𝜇♂ = 𝜇♀ ).
𝐻𝑎 : Mean respiratory rate is not the same for males and females crabs (i.e., 𝜇♂ ≠ 𝜇♀).
2
Lecture 9 Wilson Wesley Lazaro Jere
BSC 311: Design and Analysis of Experiments First Semester 2021/22 Academic Year
𝐻𝑜 : Differences in mean respiratory rate among the three species of crabs are independent of
(i.e., are the same at) the three experimental temperatures; or, differences in mean
respiratory rate among the three temperatures are independent of (i.e., are the same in)
the three species. (Testing for Species x Temperature interaction).
𝐻𝑎 : Differences in mean respiratory rate among the species of crabs are not independent of
the experimental temperatures.
𝐻𝑜 : Differences in mean respiratory rate among the three species of crabs are independent of
sex (i.e., are the same for both sexes); or, differences in mean respiratory rate between
males and females are independent of (i.e., are the same in) the three species. (Testing for
Species x Sex interaction).
𝐻𝑎 : Differences in mean respiratory rate among the species of crabs are not independent of
the sex.
𝐻𝑜 : Differences in mean respiratory rate among the three experimental temperatures are
independent of (i.e., are the same in) the two sexes of crabs; or, differences in mean
respiratory rate between males and females are independent of (i.e., are the same at) the
three experimental temperatures. (Testing for Temperature x Sex interaction).
𝐻𝑎 : Differences in mean respiratory rate among the three temperatures are not independent of
the sex of crabs.
𝐻𝑜 : Differences in mean respiratory rate among the three species of crabs (or temperatures, or
sexes) are independent of the other two factors (Testing for Species x Temperature x Sex
interaction).
𝐻𝑎 : Differences in mean respiratory rate among the three species of crabs (or temperatures, or
sexes) are not independent of the other two factors
3
Lecture 9 Wilson Wesley Lazaro Jere
BSC 311: Design and Analysis of Experiments First Semester 2021/22 Academic Year
We can examine the ANOVA tables by looking at the tabulated F values or the p-values given
by the computer.
When making decisions, we start by examining the higher-order interaction, in this case, the
three-way interaction.
If the higher order interaction is significant, we do not examine the lower order interactions or
main effects.
4
Lecture 9 Wilson Wesley Lazaro Jere
BSC 311: Design and Analysis of Experiments First Semester 2021/22 Academic Year
Since the calculated F value is less than the tabulated F value, we fail to reject the null
hypothesis. We conclude that there is sufficient evidence that there is no significant interaction
among the three factors (species, temperature and sex) on the mean respiratory response of crabs
at 5 % level of significance.
Since the three-way interaction is not significant, we can go ahead to examine the two-way
interactions.
b) Two-way interactions
Since the calculated F value is less than the tabulated F value, we fail to reject the null
hypothesis. We conclude that there is sufficient evidence that there is no significant interaction
between temperature and sex on the mean respiratory response of crabs at 5 % level of
significance.
Since the calculated F value is greater than the tabulated F value, we reject the null hypothesis.
We conclude that there is sufficient evidence that there is significant interaction between species
and sex on the mean respiratory response of crabs at 5 % level of significance.
Since the calculated F value is greater than the tabulated F value, we reject the null hypothesis.
We conclude that there is sufficient evidence that there is significant interaction between species
and temperature on the mean respiratory response of crabs at 5 % level of significance.
c) Main effects
Since the three main effects are all involved in significant interactions, we cannot examine their
main effects.
5
Lecture 9 Wilson Wesley Lazaro Jere
BSC 311: Design and Analysis of Experiments First Semester 2021/22 Academic Year
We can also read out the p-values from the computer output.
Since the p-value is more than 0.05, we fail to reject the null hypothesis. We conclude that there
is sufficient evidence that there is no significant interaction among the three factors (species,
temperature and sex) on the mean respiratory response of crabs at 5 % level of significance.
Since the three-way interaction is not significant, we can go ahead to examine the two-way
interactions.
b) Two-way interactions
Since the p-value is more than 0.05, we fail to reject the null hypothesis. We conclude that there
is sufficient evidence that there is no significant interaction between temperature and sex on the
mean respiratory response of crabs at 5 % level of significance.
6
Lecture 9 Wilson Wesley Lazaro Jere
BSC 311: Design and Analysis of Experiments First Semester 2021/22 Academic Year
Since the p-value is less than 0.05, we reject the null hypothesis. We conclude that there is
sufficient evidence that there is significant interaction between species and sex on the mean
respiratory response of crabs at 5 % level of significance.
Since the p-value is less than 0.05, we reject the null hypothesis. We conclude that there is
sufficient evidence that there is significant interaction between species and temperature on the
mean respiratory response of crabs at 5 % level of significance.
c) Main effects
Since the main effects are all involved in significant interactions, we cannot examine the main
effects.
Note
1. The test for a two-way interaction asks whether differences in the variable among levels of
one factor are the same at all levels of the second factor.
2. A test for a three-factor interaction may be thought of asking if the interaction between any
two of the factors is the same at all levels of the third factor.
7
Lecture 9 Wilson Wesley Lazaro Jere
BSC 311: Design and Analysis of Experiments First Semester 2021/22 Academic Year
Where:
𝑌𝑖𝑗𝑘𝑙 = lth response associated with ith level of factor A, jth level of factor B and kth
level of factor C.
𝜇 = overall mean
𝛼𝛽𝑖𝑗 = interactive effect of ith level of factor A and jth level of factor B
𝛼𝛾𝑖𝑘 = interactive effect of ith level of factor A and kth level of factor C
𝛽𝛾𝑗𝑘 = interactive effect of jth level of factor B and kth level of factor C
𝛼𝛽𝛾𝑖𝑗𝑘𝑙 = interactive effect of ith level of factor A, jth level of factor B and kth
level of factor C
𝜀𝑖𝑗𝑘 = kth random error associated with ith level of factor A and jth level of factor B.
8
Lecture 9 Wilson Wesley Lazaro Jere