Two Way ANOVA

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 20

Two way ANOVA Scenario

Three varieties of wheat are planted using four different kinds of fertilizers. The data is given in a table of 4x3

Fertilizers

Varity of wheat

V1
F1 F2 64 55

V2
72 57

V3
74 47

F3
F4

59
58

66
57

58
53

Perform the followings


Apply analysis of variance procedure to check

Varieties effects are significant Fertilizers effects are significant

Assumptions of ANOVA
Samples are selected independently from the populations Samples selected from populations which are normal Variances of populations for fertilizers must be equal Variances of populations for varieties must be equal

Bartletts Test

H0 :
2 1

2 2 2 2


2 3

2 4

H0 :
2 1

2 3

H1 : Variances are not all equal

Apply Bartletts Test separately for fertilizers and varieties

Analysis of variance
H 0 : 1 2 3 3
' H0 : 1 2 3

H1 : At least fertilizer s having significan t effects H1' : At least var ieties having significan t effects

Fertilizers V1

Varity of wheat V2 V3 Total

F1
F2 F3 F4 Total

64
55 59 58 236

72
57 66 57 252

74
47 58 53 232

210
159 183 168 720

Calculations

720 2 cf 43200 12 SST 64 2 552 ... 532 cf 662 210 159 183 168 SSR cf 498 3 236 2 252 2 232 2 SSC cf 56 4 SSE 662 498 56 108
2 2 2 2

ANOVA Table
s.v. SSR SSC SSE SST d.f. 3 2 6 11 S.S. 498 56 108 662 M.S.S 166 28 18 F-ratio 9.22 1.56

Critical value and Decision


for fertilizer s for var ieties f 0.05,3,6 4.76 f 0.05, 2,6 5.14

Reject H 0 and conclude that at least two fertilizers having significant effects. Accept H 0' and conclude that there is no difference in the average yield of the three varieties of wheat

Further Analysis
Because null hypothesis H 0 is rejected therefore we can use Duncans Multiple Range Test to identify which fertilizers effects are same and which are not same

R p rp

s n

Where s is the standard deviation of error and n is its degrees of freedom

Calculations
P

2
3.461
5.99

3
3.587
6.21

4
3.649
6.32

rp
Rp

Duncans Test (Cont..)


Arrange the fertilizers sample means in ascending order Fertilizers Mean F2 F4 F3 F1 53 56 61 70

You might also like