Assignment 2 Answer

You might also like

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

[OFFICIAL]

1. One-way ANOVA method example ( Enter your


problem )
( Enter your problem )
1. Example-1 Other related methods
2. Example-2
3. Example-3
1. One-way ANOVA method
2. Two-way ANOVA method

1. Example-1

Solve using One-way ANOVA method


Observation A B C D
1 8 12 18 13
2 10 11 12 9
3 12 9 16 12
4 8 14 6 16
5 7 4 8 15

Solution:
A B C D
8 12 18 13
10 11 12 9
12 9 16 12
8 14 6 16
7 4 8 15

∑A=45 ∑B=50 ∑C=60 ∑D=65


[OFFICIAL]

A2 B2 C2 D2
64 144 324 169
100 121 144 81
144 81 256 144
64 196 36 256
49 16 64 225

∑A2=421 ∑B2=558 ∑C2=824 ∑D2=875

Data table
Group A B C D Total
N n1=5 n2=5 n3=5 n4=5 n=20

∑xi T1=∑x1=45 T2=∑x2=50 T3=∑x3=60 T4=∑x4=65 ∑x=220


∑x2i ∑x21=421 ∑x22=558 ∑x23=824 ∑x24=875 ∑x2=2678
Mean ˉxi ˉx1=9 ˉx2=10 ˉx3=12 ˉx4=13 Overall ˉx=11
Std Dev Si S1=2 S2=3.8079 S3=5.099 S4=2.7386

Let k = the number of different samples = 4


n=n1+n2+n3+n4=5+5+5+5=20

Overall ˉx=22020=11

∑x=T1+T2+T3+T4=45+50+60+65=220→(1)
(∑x)2n=220220=2420→(2)

∑T2ini= ( 4525+5025+6025+6525 ) =2470→(3)

∑x2=∑x21+∑x22+∑x23+∑x24=421+558+824+875=2678→(4)

ANOVA:
Step-1 : sum of squares between samples
[OFFICIAL]

SSB= ( ) ∑T2ini -(∑x)2n=(3)-(2)

=2470-2420

=50

Or

(
SSB=∑nj⋅ ˉxj-ˉx ) 2

=5×(9-11)2+5×(10-11)2+5×(12-11)2+5×(13-11)2

=50

Step-2 : sum of squares within samples

SSW=∑x2- ( )∑T2ini =(4)-(3)

=2678-2470

=208

Step-3 : Total sum of squares


SST=SSB+SSW

=50+208

=258

Step-4 : variance between samples


MSB=SSBk-1

=503

=16.6667

Step-5 : variance within samples


MSW=SSWn-k

=20820-4
[OFFICIAL]

=20816

=13

Step-6 : test statistic F for one way ANOVA test


F=MSBMSW

=16.666713

=1.2821

the degree of freedom between samples


k-1=3

Now, degree of freedom within samples


n-k=20-4=16

ANOVA table
Sums of Degrees of
Source of Mean Squares p-
Squares freedom F
Variation MS value
SS DF
MSB = 1.282
Between samples SSB = 50 k-1 = 3 0.3144
16.6667 1
Within samples SSW = 208 n-k = 16 MSW = 13
Total SST = 258 n-1 = 19

H0 : There is no significant differentiating between samples

H1 : There is significant differentiating between samples

F(3,16) at 0.05 level of significance

=3.2389

As calculated F=1.2821<3.2389

So, H0 is accepted, Hence there is no significant differentiating between samples


[OFFICIAL]

This material is intended as a summary. Use your textbook for detail explanation.
Any bug, improvement, feedback then Submit Here

You might also like