Professional Documents
Culture Documents
The sales manager of a leading textile show room at kolkata wishes to study
the opinion of its customers on the service quality in a 0-10 scale . In this
experiment two factors were considered -
Ho: =
RESULTS: ANALYSIS OF VARIANCE
TABLE
Analysis of Variance
-----------------------------------------------------------------------------
Source Sum of Squares Df Mean Square F-Ratio P-Value
-----------------------------------------------------------------------------
Between groups 1.10019 6 0.183364 18.66 0.0000
Within groups 1.30717 133 0.00982837
-----------------------------------------------------------------------------
Total (Corr.) 2.40736 139
SINCE NEEDLE MEANS ARE NOT ALL
EQUAL, WHICH ONES ARE DIFFERENT?
Multiple Range Tests for 7 Needles
Method: 95.0 percent LSD
Col_2 Count Mean Homogeneous Groups
--------------------------------------------------------------------------------
N7 20 11.786 X
N2 20 11.9811 X
N1 20 11.9827 X
N6 20 11.9873 X
N3 20 11.9951 X
N5 20 11.9953 X
N4 20 12.11 X
TERMINOLOGY
Confounded Design
Regression Approach
One-Factor-At-A-Time
Factorial Experiment
One-Factor-At-A-Time
Sales Region
Ho: =
Analysis of Variance
Hypothesis is an assumption about a population.
Example
H0 = There is no significance difference between companies in terms of quarterly
averages of EPS
H1 = There is significance difference between companies for at least a pair of
companies in terms of quarterly averages of EPS
RESULTS: ANALYSIS OF
VARIANCE TABLE
Analysis of Variance
-----------------------------------------------------------------------------
Source Sum of Squares Df Mean Square F-Ratio P-Value
-----------------------------------------------------------------------------
Between groups 1.10019 6 0.183364 18.66 0.0000
Within groups 1.30717 133 0.00982837
-----------------------------------------------------------------------------
Total (Corr.) 2.40736 139
SINCE NEEDLE MEANS ARE NOT ALL
EQUAL, WHICH ONES ARE
DIFFERENT?
Multiple Range Tests for 7 Needles
Method: 95.0 percent LSD
Col_2 Count Mean Homogeneous Groups
--------------------------------------------------------------------------------
N7 20 11.786 X
N2 20 11.9811 X
N1 20 11.9827 X
N6 20 11.9873 X
N3 20 11.9951 X
N5 20 11.9953 X
N4 20 12.11 X
Significance level ()
The signification level is the probability with which the null hypothesis ( H 0) is
true.
Test of Hypothesis three types
Test of Hypothesis concerning mean(s)
Test of Hypothesis concerning variances
Test of hypothesis concerning proportions.
ifFratio<F Critical
RejectH 1 ,AcceptH 0
n a aisthenumberoftreatments
SS total = Y 2ijY .2. / N nisthenumberofreplicationsundereachtreatment
i=1 j=1 Y ij
a Y .. isthesummationof valuesofi,j
all
SS treatment = Y .2j / nY .2. / N Y ij
j= 1 Y . j isthesummationof valuesofiforagivenj
all
SS error =SS total SS treatment Nisthetotalnumberofobservations theexperiments
CRD
Machines
P Q R S
W1 A1 (23) C1 (35) B4 (20) C3(25)
Week W2 B2 (20) A2 (34) C2 (29) D1(28)
W3 D2 (40) B3 (30) C4 (45) B1(30)
W4 A4 (34) D4 (34) A3 (45) D3(40) Grade of Operators
A B C D
A1 (23) B1(30) C1 (35) D1(28)
A2 (34) B2 (20) C2 (29) D2 (40)
A3 (45) B3 (30) C3(25) D3(40)
A4 (34) B4 (20) C4 (45) D4 (34)
Randomized complete block design (RCBD)
The greater the variability among blocks the more efficient the
design becomes.
The CRD has more degrees of freedom for error and a smaller F
value is required for significant difference among treatments.
Completely Randomized Block Design
Four grades - (A ,B ,C, D) of Operators.
Week is a blocking factor. A= A1, A2, A3, A4 B= B1, B2, B3, B4
Null Hypothesis,H 0 :T 1 =T 2 =T 3 =T 4
H 1 :Treatement means are not equal for atleast one pair of treatments
n a
a is the number of treatments
SS total = Y 2
Y 2
../ N
i=1 j=1
ij
n is the number of replications under each treatment
a Y .. is the summationofY ij for all values of i,j
SS treatment = Y .2j / nY .2. / N
j= 1 Y . j is the summation of Y ij for all values of i for a given j
SS error =SS total SS treatment N is the total number of observationsthe experiments
The model of the CRBD
Y ij =+B i +T j +eij
is the over all mean
Y ij is the ith observation under the jth treatment of the factor
B i is the effect of the ith block
T j is the effect of the jth treatment of the factor
e ij is the random error associated with the ith observation
under the jth treatment of the factor
n a 2
Y a is the number of treatments
SS Total = Y 2ij ..
i= 1 j= 1 N b is the number of blocks
a 2 2
Y . j Y .. Y .. is the summation of Y ij for all values of i,j
SS Treatment =
j= 1 n N
b
Y 2i . Y 2. .
Y . j is the summation of Y ij for all values of i for a given j
SS Block = Y i. is the summation of Y ij for all values of jfor a giveni
j= 1 a N
SS error =SS Total SSTreatment SS BlockN is the total number of observationsthe experiments
The model of the LSD
Y ijk =+B i
+T j +M k +e ijk
istheoverallmean
Y ijk istheobservationinntheithrowanndkthcolumnforthejthtreatmentofthefactor
Bi istheeffectoftheithrow
T j istheeffectofthejthtreatmentofthefactor
M k istheeffectofthekthcolumnannd
e ijk istherandomerrorassociatedwiththeithobservation
withtheithrowanndthekthcolumnforthejthtreatmentofthefactor
b c
SS Total= Y 2ik . . .
Y 2
aisthenumberoftreatments
i=1 k=1 N bisthenumberofblocks ( row )
a
Y 2. j. Y 2. ..
SS Treatment = cisthenumberofblocks ( col )
b N
j=1
Y ... isthesummationofY ijk forallvaluesofi,j,k
b
Y 2i. . Y 2.. .
SS Block ( row ) = Y . j. isthesummationofY ijk forallvaluesofianndkforagivenj
i=1 c N
Y 2. . k Y 2.. .
c
Y i.. isthesummationofY ijk forallvaluesofianndjforagivenk
SS Block ( column )=
k=1 b N Nisthetotalnumberofobservationstheexperiments
SS error =SS Total SSTreatment SS Block ( row ) SS Block (column )
2
LSD Machines 2 2 2 2 2 2 2 2 512
SS Total=( 23 +30 +45 +28 +........+40 +34 +20 +35 ) =938
Week P Q R S Y i. . 16
1262+1172 +1402 +1292 512 2
W1 A1(23) B1(30) C4(45) D1(28) 126 SSBlock ( week )= =67.5
W2 B2(20) C2(29) D4(34) A2(34) 117
4 16
W3 C3(25) D3(40) A3(45) B3(30) 140 1082 +1332 +1442+1272 5122
SSBlock ( machines)= =170.5
W4 D2(40) A4(34) B4(20) C1(35) 129 4 16
Y ..k
108 133 144 127 512
LSD Grades
Week A B C D
1362 +100 2+134 2+142 2 5122
SS Treatment ( Grade )= =270
W1 A1(23) B1(30) C4(45) D1(28) 4 16
W2 A2(34) B2(20) C2(29) D4(34)
W3 A3(45) B3(30) C3(25) D3(40)
W4 A4(34) B4(20) C1(35) D2(40)
Y . j. 136 100 134 142
C1 C2 C3 C4
12 16 25 13
8 18 15 8
16 10 22 20
19 11 9 5
C1 C2 C3 C4
12 16 25 13
8 18 15 8
16 10 22 20
19 11 9 5
55 55 71 46
Source of Degree of Sum of Mean Sum F Calculated
Variation Freedom Squares of Squares
< 3.49
B
B
1 a Hc c ac
Lb
Lb Lc 1 a
La A Ha La A Ha
c - - + + - - +
ac + - + - + - -
bc - + + - - + -
abc + + + + + + +
A Stock market Analyst wants to study the impact of the type of company and time period on
the quarterly averages of the earnings per share (EPS). So he collected four quarterly
averages of EPS data of two different companies during the last two financial years from
Capital Market which are summarized in table below :
1 - - + 12 18 12+18
= 30
a + - - 16 19 35
b - + - 16 15 31
ab + + + 10 11 21
Source DF SS MSS F-ratio F-Crit
Company 2-1 3.125 3.125 / 1 3.125 / 5.875 7.71
=0.531915
Year 2-1 21.125 21.125 / 1 21.125 / 5.875 7.71
=3.617
Company x 1*1 28.125 28.125 / 1 28.125 / 5.875 7.71
Year =4.7872
Error 7-1-1-1 = 4 = 23.5 =23.5 / 4 = 5.875
Total N-1 = 8-1 75.875
ANOVA for 2^k factorial design using Yate's Alogorithm
A B AB R1 R2 Y C1 C2 Contrast SS
1 - - + 12 18 30 30+35 65+52
=65 =117
a + - - 16 19 35 31+21 5-10 A (-5)2 / 8
=52 =-5 =3.125
b - + - 16 15 31 35-30 52-65 B (-13)2 / 8
=21.125
=5 =-13