Anova One Way

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 24

Siswandari

Presents :

ONE-WAY ANOVA
The most easiest way to compute F statistic when
n1 = n2 =…… =nk
(Based-on research and development funded by Hibah Bersaing Scheme – DP2M Dikti 2006 –
2008 and continually developed until now)
ONE-WAY ANOVA

n1 = n2 =…… =nk
n1 ≠ n2 ≠ …… ≠ nk
Still………
Mean and
Variance
Mean yang disimbolkan
dengan

DUA n
MODAL
DASAR
 i
X  i 1

n
Variansi disimbolkan dengan S²  estimasi dari
σ2
 X  2

S 
2
X 2

n S 2

 (X  X ) 2

n 1 n 1
TENTUKAN RATA2 DAN VARIANSI
DARI DATA BERIKUT INI.

1. 3, 4, 5
2. 3, 1, 8
3. 100, 50, 150
4. 1, 2, 3
5. 50, 60, 55, 40, 50, 45, 65, 50, 35, 550
SIMPLE CASE for n1 = n2 =…… =nk

I II III IV
12 10 4 25
12 6 6 20
15 5 2 24

UJILAH HIPOTESIS
Ho I = II = III = IV
H1 tidak semua mean sama
COMPUTE X FOR EACH GROUP

I II III IV
12 10 4 25
12 6 6 20
15 5 2 24
COMPUTE S FOR EACH GROUP
2

I II III IV
12 10 4 25
12 6 6 20
15 5 2 24
13 7 4 23
COMPUTE GRAND MEAN
I II III IV
12 10 4 25
12 6 6 20
15 5 2 24
13 7 4 23 x
3 7 4 7

GRAND MEAN = [13+7+4+23] / 4 = 11.75


COMPUTE AVERAGE OF S 2
I II III IV
12 10 4 25
12 6 6 20
15 5 2 24
13 7 4 23
3 7 4 7

MSB  RKa
F 
MSW  RKd

AVERAGE OF S2 = [3+7+4+7] / 4 = 5.25 =


MSW= RKd
JIKA VARIANSI X ADALAH:

S 2
X 
 (X  X ) 2

n 1
MAKA VARIANSI X-BAR ADALAH:

S 2
X 
 (X  X ) 2

n 1
COMPUTE S OF X and MSB 2

I II III IV
12 10 4 25
12 6 6 20
15 5 2 24
13 7 4 23
3 7 4 7

Sx2 = [(13-11.75) 2
+ (7-11.75) 2 + (4-11.75) 2+(23-11.75) 2]/ 3 = 70.25
MSB = 70.25 x 3 = 210.75 =RKa
COMPUTE F
I II III IV
12 10 4 25
12 6 6 20
15 5 2 24
13 7 4 23 x
3 7 4 7 S2

MSB 210,75
F  F
5.25
 40,14
MSW
compare to F 0.05 ; 3,8 = 4.07  DF1=k-1 =4-1=3; DF2=n-k= 12-4= 8
MINITAB

SPSS
MINITAB output

One-way ANOVA: RESPONSE-1 versus FACTOR-1


Source DF SS MS F P
FACTOR-1 3 632.25 210.75 40.14 0.000
Error 8 42.00 5.25
Total 11 674.25
Prof. Dr. Siswandari, MStats
Faculty of Teacher Training and Education
Sebelas Maret University

(Valuable Experience: Teacher, Reseacher,


Consultant for MoEC, Leader for IDESP, Technical
Assistant, Reviewer)

HP: +62 817 947 6417


Email: [email protected]
PROBLEM 1
SIMPLE CASE for n1 = n2 =…… =nk

I II III
9 10 4
7 6 3
8 11 5

BERAPA BESARNYA F HITUNG?


PROBLEM 2

A B C D E F G H
10 13 4 25 7 11 8 5
20 6 6 20 8 15 8 9
15 5 2 24 9 13 11 7

H0 : A = B = …… = H
H1 : tidak semua mean sama
SIMPLE CASE for n1 ≠ n2 ≠ …… ≠ nk

I II III
10 9 8
16 3 10
10 6 4
- - 6
12 6 7 x

SSW = ∑(X1-X1) 2 + ∑(X2-X2) 2 + ∑(X3-X3) 2 = 24 + 18 + 20 = 62  MSW = 62 : 7 = 8.86


SSB = n1 (X1-Xt) 2 + n2 (X2-Xt) 2 + n3 (X3-Xt) 2 = 3 (12-8.2) 2 + 3(6-8.2) 2 + 4 (7-8.2) 2
= 43.32 + 14.52 + 5.76 = 63.6  MSB = 63.6 : 2 = 31.8
F = 31.8 : 8.86 = 3.59 … compare to F 0,05 ; 2,7 = 4.74
MINITAB output

One-way ANOVA: RESPONSE versus FACTOR

Source DF SS MS F P
FACTOR 2 63.60 31.80 3.59 0.085
Error 7 62.00 8.86
Total 9 125.60
PROBLEM 3 PROBLEM 3

I II III
10 4 8
16 2 10
13 - 6
13 - -

H0 : I = II = III
H1 : tidak semua mean sama
SOLUTION n1 ≠ n2 ≠ n3

I II III
10 4 8
16 2 10
13 - 6
13 - -
13 3 8 x

SSW = ∑(X1-X1) 2 + ∑(X2-X2) 2 + ∑(X3-X3) 2 = 18 + 2 + 8 = 28  MSW = 28 : 6 = 4.67


SSB = n1 (X1-Xt) 2 + n2 (X2-Xt) 2 + n3 (X3-Xt) 2 = 4 (13-9.1) 2 + 2(3-9.1) 2 + 3 (8-9.1) 2
= 138.89 MSB = 138.89 : 2 = 69.45
F = 69.45 : 4.67 = 14.87 … compare to F 0,05 ; 2,6 = 5.14  reject Ho
MINITAB output

One-way ANOVA: response versus factor

Source DF SS MS F P
factor 2 138.89 69.44 14.88 0.005
Error 6 28.00 4.67
Total 8 166.89
It is easy isn’t it?
You’re all
great……
But still, we are
only dust in the

You might also like