Professional Documents
Culture Documents
Week10 Analysis of Variance
Week10 Analysis of Variance
Week10 Analysis of Variance
1
Analysis of Variance (ANOVA)
Introduction
2
Analysis of Variance (ANOVA)
3
Analysis of Variance (ANOVA)
Distribution has standard table values for 0.01, 0.05, 0.10 and
0.25 confidence levels. This table should be well understood for
variance analysis.
4
Analysis of Variance (ANOVA)
5
Analysis of Variance (ANOVA)
6
Application of Variance Analysis
7
Application of Variance Analysis
8
Application of Variance Analysis
𝑥. .2
2
𝐶𝑜𝑚𝑚𝑜𝑛 𝑆𝑢𝑚 𝑜𝑓 𝑆𝑞𝑢𝑎𝑟𝑒𝑠 𝐶𝑆𝑆 = 𝑥𝑖𝑗 −
𝑛. 𝑝
𝑥𝑖2 𝑥. .2
𝑇𝑟𝑒𝑎𝑡𝑚𝑒𝑛𝑡 𝑆𝑢𝑚 𝑜𝑓 𝑆𝑞𝑢𝑎𝑟𝑒𝑠 𝑇𝑆𝑆 = −
𝑛 𝑛. 𝑝
9
Application of Variance Analysis
10
Application of Variance Analysis
11
Example 1
12
Example 1
𝑥1 − 𝑥2 , 𝑥2 − 𝑥3 , 𝑥1 − 𝑥3 , 𝑥2 − 𝑥4 , 𝑥1 − 𝑥4 , 𝑥3 − 𝑥4
On the other hand by applying variance analysis technique, it
would be possible to give decision with an easier test according
to F distribution.
13
Example 1
There are two sources for common variance. First one is due to
the differences in batteries, and the second one is due to the
random differences within each type of battery.
14
Example 1
15
Example 1
cdf: n.p-1 = 23
tdf: p-1 = 4-1 = 3
edf: cdf-tdf = 23-3 = 20
Mean of squares;
𝑇𝑆𝑆 2136.5
𝑇𝑀𝑆 = = = 712.2
𝑡𝑑𝑓 3
𝐸𝑆𝑆 2071.3
𝐸𝑀𝑆 = = = 103.6
𝑒𝑑𝑓 20
16
Example 1
H0: 1 = 2 = 3 = 4
𝑇𝑀𝑆 712.17
𝐹ℎ = = = 6.87
𝐸𝑀𝑆 103.6
F table value for tdf = 3 and edf = 20 and = 0.01 F0.01,(3, 20) = 4.94
18
Example 1
Since test statistic value (6.87) is higher than critical table value
(4.94), the mean of durability of batteries are significantly
different than each other.
19
Least Significant Difference (LSD) Multiple
Comparison Method
2𝐸𝑀𝑆
𝐿𝑆𝐷 = 𝐹𝛼(1,𝑒𝑑𝑓)
𝑛
20
Example 2
2 ∗ 103.6
𝐿𝑆𝐷 = 𝐹0.01,(1, 20) = 8.10 ∗ 34.53 = 16.72
6
21
Example 2
22
tdf
edf
23
tdf
edf
24