Professional Documents
Culture Documents
Analysis of Variance
Analysis of Variance
grouped into ‘k’ classes of sizes n1, n2 , …..nk respectively ( = ∑mklW k ) as given in below table.
Suppose, n observations of random variable yij ,( i = 1, 2, …… k ; j = 1,2….ni) are
The total variation in the observation Yij can be split into the following two components:
1) The variation between the classes, commonly known as treatment variation/class variation.
2) The variation within the classes i.e., the inherent variation of the random variable within the
observations of a class.
2
The first type of variation is due to assignable causes, which can be detected and controlled
by human endeavor and the second type of variation due to chance causes which are beyond the
control of human.
Classes/groups Total Mean
ýW =
W
W
1 y11 y12 y13 ... y1n1 T1
ýh =
h
h
2 y21 y22 y23 ... y2n2 T2
ýp =
p
p
3 y31 y32 y31 ... y3n3 T3
: : : : :.... : : :
ým =
m
m
k yk1 yk2 yk3 ... yknk Tk
Grand total (GT) Grand Mean (ý)
Test Procedure: The steps involved in carrying out the analysis are:
1) Null Hypothesis (H0): H0: µ1 = µ2 = …= µk=µ
Alternative Hypothesis (H1): all µi’s are not equal (i = 1,2,…,k)
2) Level of significance (α ): Let α = 0.05 or 0.01
3) Computation of test statistic: steps
MST= SSTr/k-1 5Z
Sources of Variation d.f Sum of squares (S.S.) M.S.S F ratio
=
Test Statistic: Under Ho
§»k§jò ¨ ¹}
= ∼ (o − 1, K − o)
j ¹º ¹» §¹s j¹¼ ã
§»k§jò }k¹ºkj ¹º ¹» §¹s j¹ ã
3
4) Critical value of F or Table value of F:
The table value is obtained from F-table for (k-1, N-k) df at α % & denoted it as Ftab.
5) Decision criteria:
If Fcal ≥ Ftab,⇒ Reject Ho and concluded that the class means or treatment means are
significantly different ( i.e. class means are not same).
If Fcal < Ftab, ⇒ Accept Ho and concluded that the class means or treatment means are
not significantly different (i.e. class means are not equal).
18.4 Two-way Classification: (Two-way ANOVA):
Let us consider the case when there are two factors which may affect the variate yij values
under study Ex: The yield of cow milk may be affected by rations (feeds) as well as the varieties
(breeds) of the cows. Let us now suppose that the n cows are divided into ‘h’ different groups or
classes according to their breed, each group containing ‘k’ cows and then let us consider the
effect of k treatments (rations) given at random to cows in each group on the yield of milk.
Let the suffix ‘i’ refer to the treatments (rations/feeds) and ‘j’ refer to the varieties (breed
of the cow), then the yields of milk is yij (i:1,2, …..k; j:1,2….h) of n (= R×C) cows furnish the
data for the comparison of the treatments (rations) as well as varieties. The yields may be
expressed as variate values in the following k× h two way table.
Rations Breeds Total Mean
W.
1 2 3 j h
1 y11 y12 y13 ... y1h R1
2 y21 y22 y23 ... y2h R2 h.
3 y31 y32 y31 ... y3h R3 p.
i : : : yij : : :
k yk1 yk2 yk3 ... ykh Rk m.
The total variation in the observation yij can be split into the following three components:
(i) The variation between the treatments (rations)
(ii) The variation between the varieties (breeds)
(iii) The inherent variation within the observations of treatments and varieties.
The first two types of variations are due to assignable causes which can be detected and
controlled by human endeavor and the third type of variation due to chance causes which are
beyond the control of human hand.
Test procedure for two -way analysis: The steps involved in carrying out the analysis are:
1. Null hypothesis (Ho):
Ho : µ1. = µ2. = ……µk. = µ. (for comparison of treatment/ rations) i.e., there is no significant
difference between rations (treatments)
4
H1:µ.1 = µ.2 = …µ.h = µ. (for comparison of varieties/ breed and stock) i.e. there is no
significant difference between varieties ( breeds)
2. Level of significance (α): 5% or 1%
3. Test Statistic:
1) Find the sum of values of all n (=k×h) items of the given data.
Let this grand total represented by ‘GT ’.
( )‡
Š
Then correction factor (C.F.) =
2) Find the total sum of squares (TSS) ZZ = ∑mklW ∑ºïlW h
kï − (L. . )
3) Find the sum of squares between treatments or sum of squares between rows is
ZZ = ZZ = ∑mklW − (L. . )
‡
t
º
where ‘h’ is the number of observations in each row
4) Find the sum of squares between varieties or sum of squares between columns is