Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Β
Two way anova
1. TWO WAY ANOVA
Dr. R. MUTHUKRISHNAVENI
SAIVA BHANU KSHATRIYA COLLEGE, ARUPPUKOTTAI
2. Two Way ANOVA
β’ A two-way ANOVA is an extension of the one-way ANOVA (analysis of variances) that reveals
the results of two independent variables on a dependent variable.
β’ A two-way ANOVA test is a statistical technique that analyzes the effect of the independent
variables on the expected outcome along with their relationship to the outcome itself.
3. ANOVA
οSet two hypothesis(for row and column) H0: Β΅1= Β΅2= Β΅3=β¦. Β΅k or H1: Β΅1β Β΅2 β Β΅3 β β¦. Β΅k
οCalculate variance between the rows(SSR) and columns(SSC)
οCalculate variance Residual(SSE)
Sequence of
Variance
Sum of
Squares
Degrees of
freedom
Mean of Square Ratio of F
Between columns SSC V1 = c β 1
MSC =
πππΆ
π β1
F =
πππΆ
πππΈ
Between Rows SSR V2 = r β 1
MSR =
πππ
πβ1
F =
πππ
πππΈ
Residual or Error SSE V3 =(c β 1) (r β 1)
MSE =
πππΆ
(πβ1)(πβ1_
Total SST n β 1
4. Illustration
β’ A tea company appoints four salesmen - A,B,C and D and observes their sales in three seasons β
summer, winter and monsoon. The figures(in lakhs) are given in the following table
β’ (i) Do the salesman significantly differ in performance?
β’ (ii) Is there significant difference between the seasons?
Seasons Salesmen Season Total
A B C D
Summer 36 36 21 35 128
Winter 28 29 31 32 120
Monsoon 26 28 29 29 112
Salesmen total 90 93 81 96 360
5. Solution
β’ H0 1: There is no significant difference in performance of salesmen
β’ H0 2: There is no significant difference in seasons sales
β’ Find salesmanβs sales average, seasonβs sales average and grand average
Seasons Salesmen Season Total Average =
Total/4A B C D
Summer 36 36 21 35 128 32
Winter 28 29 31 32 120 30
Monsoon 26 28 29 29 112 28
Salesmen total 90 93 81 96 360 32+30+28
3
= 30
Average = total/3 30 31 27 32 30+31+27+32
4
= 30
360
12
= 30
Grand
average
6. β’ Sum of Square between the salesmen
β’ SSC = 0+3+27+12 = 42
β’ MSC =
πππΆ
πΆβ1
=
42
4β1
=14
Salesmansales
A
(30 -30)2
B
(30 -31)2
C
(27 -30)2
D
(32 -30)2
0 1 9 4
0 1 9 4
0 1 9 4
Total 0 3 27 12
7. β’ Sum of Square between the seasons
β’ SSC = 16+0+10 = 32
β’ MSC =
πππ
πβ1
=
32
3β1
=16
Seasons sales Total
Summer
(32 -30)2
4 4 4 4 16
Winter
(30 -30)2
0 0 0 0 0
Monsoon
(28 -30)2
4 4 4 4 16
9. β’ Total sum of square
(Seasons β 30)2 (Salesmen β 30)2 Season Total
A B C D
Summer 36 36 81 25 178
Winter 4 1 1 4 10
Monsoon 16 4 1 1 22
Salesmen total 56 41 83 30 210
10. β’ Inference
β’ H0 - 1 There is no significant difference in performance of salesmen
β’ Table value for V1 = 3 and V3 = 6 at 5% level of significance is 4.76. CV < TV the hypothesis is
accepted
β’ H0 β 2 There is no significant difference in seasons sales
β’ Table value for V2 = 2 and V3 = 6 at 5% level of significance is 5.14. CV < TV the hypothesis is
accepted
Sequence of
Variance
Sum of
Squares
Degrees of
freedom
Mean of
Square
Ratio of F
Between columns 42 3 14
F =
πππΆ
πππΈ
=
14
22.67
= 1.619
Between Rows 32 2 16
F =
πππ
πππΈ
=
16
22.67
= 1.417
Residual or Error 136 6 22.67
Total 210 11