Professional Documents
Culture Documents
One Way ANOVA
One Way ANOVA
different)
ANALYSIS OF VARIANCE
ith treatment and 𝑒𝑖𝑗 is the random error. The test statistic is given as;
𝑀𝑆𝑡
F= with degree of freedom for SSt and SSE respectively where
𝑀𝑆𝐸
𝑆𝑆𝑇
MSt (mean square treatment) = ,
𝐷.𝐹
ANALYSIS OF VARIANCE
𝑟
𝑖=1 𝑌𝑖 2
SSt (𝑠𝑢𝑚 𝑠𝑞𝑢𝑎𝑟𝑒 𝑡𝑟𝑒𝑎𝑡𝑚𝑒𝑛𝑡) = − 𝐶. 𝐹 with t−1 degree of
𝑟𝑖
𝑁 2
SST (sum square total)= 𝑖=1 𝑌 𝑖𝑗 − 𝐶𝐹 with N−1 degree of
freedom
𝑆𝑆𝐸
MSE (mean square error) =
𝐷.𝐹
ANALYSIS OF VARIANCE
𝑁 2
𝑖=1 𝑌𝑖𝑗
C.F (correction factor) =
𝑁
Treatment
Error
Total
Example
A medical researcher wants to determine whether there is a difference
headache sufferer records the time (in minutes) it takes the medication
to begin working. The results are shown in the table. At 𝛼 = 0.01, can
you conclude that at least one mean time is different from the others?
Treatments
A B C D
2.0 1.7 2.0 2.1
2.2 1.9 2.4 2.2
1.8 1.5 2.7 2.2
2.3 2.5 1.9
1.7 2.4
Total=10 Total=5.1 Total=12 Total=8.4
Solution
H0: 𝜇1 = 𝜇2 = 𝜇3 = 4 (all treatment means are equal) Vs
different)
𝑁 2
𝑖=1 𝑌𝑖𝑗 35.52
C.F (correction factor) = = = 74.132
𝑁 17
𝑁 2
SST (sum square total)= 𝑖=1 𝑌 𝑖𝑗 − 𝐶𝐹
𝑟
𝑖=1 𝑌𝑖 2
SSt (𝑠𝑢𝑚 𝑠𝑞𝑢𝑎𝑟𝑒 𝑡𝑟𝑒𝑎𝑡𝑚𝑒𝑛𝑡) = − 𝐶. 𝐹
𝑟𝑖
10 2 5.12 12 2 8.42
SSt 𝑠𝑢𝑚 𝑠𝑞𝑢𝑎𝑟𝑒 𝑡𝑟𝑒𝑎𝑡𝑚𝑒𝑛𝑡 = ( + + +⋯ )−
5 3 5 4
74.132
Solution
Total 1.638 16
Decision
Since our calculated F = 6.392 is greater than the tabulated F 3, 13= 5.74,
difference in the mean length of time it takes the three pain relievers to