Analysis of Variance (ANOVA) One Way and Two Way
Analysis of Variance (ANOVA) One Way and Two Way
VARIANCE(ANOVA)
1
WHAT IS ANOVA AND IT’S APPLICATION
In One way ANOVA one factor influences the dependent variable ( agricultural
output) 5
SOLUTION
Null Hypothesis: we assume there is no significant
difference in wheat output due to varieties of seeds.
6
T=∑ X1 + ∑ X2 + ∑ X3 = ( 6+7+3+8) + 20 + 16
= 24 + 20+ 16
= 60
Correction factor( C.F. ) = T 2/N
= ( 60 ) 2/12
=3600/12
=300
7
SST(Total Sum of Squares)= ∑ X1 2+ ∑ X2 2 + ∑ X3 2 - (T 2/N)
= 332-300 = 32
=144+100+ 64 =308-300= 8
9
F Ratio = MS Between/ MS Within
Table value of F v1, v2 = check
10
TWO – WAY ANOVA
Illustration 2: Per Acre Production Data of Wheat
Varieties of seeds A B C
Varieties of Fertilizers
W 6 5 5
X 7 5 4
Y 3 3 3
Z 8 7 4
11
12
TWO – WAY ANOVA
Illustration 2: Per Acre Production Data of Wheat
A B C Total
Varieties
of seeds
Varieties
of
Fertilizers
W 6 5 5 16
X 7 5 4 16
Y 3 3 3 9
Z 8 7 4 19
Total 24 20 16 Grand Total
14
Step 3
SS between columns treatment = ∑( T j)2 T2
nj n
15
Step 5
SS residual or error = Total SS – (SS between columns + SS between rows)
=6
16
THE ANOVA TABLE
17
CONCLUSION
Column wise F Ratio is significant which mean
production varies with different varieties of
fertilizers.
18
PRACTICE QUESTION
A company wants to test whether its three salesmen A, B
and C have the same selling ability. Their records of sales
(in Rs ‘000) during various weeks of the last month are
given in the following table:
Sales men 1st week 2nd week 3rd week 4th week
A 16 21 18 25
B 22 20 15 26
C 25 24 16 20
20
Finance Marketing Operations
7 5 4
5 6 5
10 7 4
8 4 6
6 4 5
8 6 5
9 4 4
21
CASE LETS 2
The salaries are in lakh of rupees per annum. In
the final analysis if there is no difference in the
salaries in the population, the student would opt
for a choice of specialization of their own interest
but if the sample gives the impression that the
population average salary for the different
specialization is different then he would choose the
specialization which gives him the highest package.
(a) Indicate the null and alternative hypothesis for the
above situation.
(b) Develop an ANOVA table and interpret the solution.
Show each step clearly. (Table value= 3.46 at 5 % level
of significance)
22
3
The manager in a branch of a major bank is
worried about increasing number of complaints
from retail customers about delays in getting
services. The branch has four executives who
work at the retail customer desks. The manager
would like to know if one or more among the
executives are slower in their work than others.
The following data show the time taken by each
executive in completing the most typical service
request from retail customers. Test the
hypothesis that the average times taken by all
four executives are same. Use the 5% level of
significance.
23
Executive 1 5 7 4 8 6 - -
Executive 2 4 10 6 7 7 - -
Executive 3 9 4 8 6 7 10 6
Executive 4 6 5 7 8 8 6 7
24