Anova 2 Way With Replication

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 32

STATISTIKA

ANOVA Two-Way with Replication


Apa yang dipelajari …
• Pendahuluan: apa dan kenapa menggunakan
ANOVA?
• Distribusi F
• Pengujian Kesamaan Varians
• ANOVA: One Way Analysis
• ANOVA: Two Way Analysis
• ANOVA: Two Way Analysis with Replication

Sesi ini  Materi terakhir


Review: One-Way ANOVA

Total variation

Treatment or Error or Within


Between Groups Groups
Review: One-Way ANOVA
ANOVA Table
Source of Sum of Degrees Mean F
Variation Squares of Square
Freedom
Treatments SST k-1 SST/(k-1)
(k) k =MST MST
nk(Xk-XG)2 MSE
Error SSE SSE/(n-k)
i k n-k =MSE
(Xi.k-Xk)2 Treatment Variation
Total TSS n-1 Random Variation
i
Total Variation
(Xi-XG)2
Contoh: One-Way ANOVA
Review: Two-Way ANOVA

Total Variation
SS(Total)

Variation Due Variation Due


to Treatment to Blocks
SST SSB

Variation Due to
Random Sampling
SSE
ANOVA Table
Source of Sum of Squares Degrees Mean F
Variation of Square
Freedom
Treatments SST k-1 SST/(k-1) MST
(k) =MST MSE
Blocks SSB b-1 SSB/(b-1) MSB
(b) =MSB MSE
Error SSE (k-1)(b-1) SSE/
(TSS – SST –SSB) ((k-1)(b-1))
=MSE
Total TSS n-1
Contoh: Two-Way ANOVA
Two-Way ANOVA with Replication
• Bisa saja setiap sel (kombinasi antara treatment & block)
dalam Two-Way ANOVA memiliki beberapa observasi
(dua atau lebih (replikasi)), yg nilainya berbeda-beda
• Perbedaan tersebut diduga terjadi karena adanya
pengaruh suatu faktor ke faktor yang lain yang berbeda
• Pengaruh suatu faktor ke faktor yang lain  Interaksi
• Adanya replikasi  Ada atau tidaknya interaksi antar
faktor
• Dapat dilihat dari Tabel Data, dimana pola dari rata-rata
baris berbeda dengan rata-rata baris lainnya, dari
kombinasi treatment & block yang sama
• Sering disebut dengan Factorial Experiment/Design
Two-Way ANOVA with Replication

Total Variation
SS(Total)

Variation Due Variation Due


to Treatment to Blocking
SST SSB

Variation Due to Variation Due to


Interaction Random Sampling
SS(TB) SSE
Two-Way ANOVA with Replication

Total Variation
SS(Total)

Variation Due Variation Due


to Treatment C to Treatment R
SSC SSR

Variation Due to Variation Due to


Interaction Random Sampling
SSI SSE
ANOVA Table
for 2-Way ANOFA with Replication (Old)

Source of Degrees of Sum of Mean F


Variation Freedom Squares Square
Treatment k-1 SST MST MST
(Column) MSE
Blocking b-1 SSB MSB MSB
(Row) MSE
TB (k - 1)(b - 1) SSTB MSTB MSTB
(Interaction) MSE
Error n - kb SSE MSE
Total n-1 TSS
ANOVA Table
for 2-Way ANOFA with Replication (New)

Source of Degrees of Sum of Mean F


Variation Freedom Squares Square
Factor C C-1 SSC MSC MSC
(Column) MSE
Factor R R-1 SSR MSR MSR
(Row) MSE
I (CR) (C - 1)(R - 1) SSI MSI MSI
(Interaction) MSE
Error N – CR SSE MSE
Total N-1 TSS
Rumus Keseluruhan
R 2
SSR  nC  ( X
i X ) df R
 R 1
i 1
C 2
SSC  nR  ( X j  X ) df C
 C 1 where:
j 1 n = number of observations per cell
R C 2
SSI  n  ( X ij  X i  X j  X ) df I
  R  1  C  1 C = number of column treatments
i 1 j 1
R C n R = number of row treatments
SSE     ( X ijk  X ij )
2
df E
 RC n  1 i = row treatment level
i 1 j 1 k 1
C R n 2 j = column treatment level
SST 
TSS    ( X ijk  X )
c 1 r 1 a 1
df T
 N 1 k = cell member
SSR MSR Xijk = individual observation
MSR 
R 1 F 
X
R
MSE = cell mean
ij
SSC MSC
MSC 
C 1 F C MSE
 X i
= row mean

SSI MSI X j
= column mean
MSI 
 R  1  C  1 F I MSE
 X = grand mean
SSE
MSE  N = RCn N: number of total observations
RC n  1
Perbandingan Ho & Ha
Row Effects: Ho: Row Means are all equal.
Ha: At least one row mean is different from the others.
Columns Effects: Ho: Column Means are all equal.
Ha: At least one column mean is different from the others.
Interaction Effects: Ho: The interaction effects are zero.
Ha: There is an interaction effect.
Pengujian: Treatment ( Tidak Perlu)

• Test for Treatment Means


H0: The RC treatment means are equal
Ha: At least two of the treatment means
differ
• Test Statistic
F = MST / MSE
• Degrees of Freedom
1 = RC – 1 2 = N – RC
Pengujian: Efek Faktor R

• Test for Main Effect of Factor R


– H0: No difference among mean levels of
factor R
– Ha: At least two factor R mean levels differ
• Test Statistic
– F = MSR / MSE
• Degrees of Freedom
1 = (R – 1) 2 = N – RC
Pengujian: Efek Faktor C

• Test for Main Effect of Factor C


– H0: No difference among mean levels of
factor C
– Ha: At least two factor C mean levels differ
• Test Statistic
– F = MSC / MSE
• Degrees of Freedom
1 = (C – 1) 2 = N – RC
Pengujian: Interaction

• Test for Factor Interaction


– H0: The factors do not interact
– Ha: The factors do interact
• Test Statistic
– F = MSI / MSE
• Degrees of Freedom
1 = (R-1)(C – 1) 2 = N – RC
Pengaruh Interaksi

Response
No interaction
2
I Treatment B
I
I
I 1
I
I
I
1 2 3 Treatment A
Synergism
Response I
Antagonism
I
I I I
I I
I I
I I

1 2 3 Treatment A 1 2 3
Contoh 1: Soal

Training Method
Factor Self–
Levels paced Classroom Computer
15 hr. 10 hr. 22 hr.
High
11 hr. 12 hr. 17 hr.
Motivation
27 hr. 15 hr. 31 hr.
Low
29 hr. 17 hr. 49 hr.

Asumsi: α = 0,05
Contoh 1: Jawaban Excel
Contoh 1: Jawaban Manual (1/6)
Contoh 1: Jawaban Manual (2/6)
Contoh 1: Jawaban Manual (3/6)

Source of Degrees of Sum of Mean F


Variation Freedom Squares Square
R 1 546.75 546.75 17.40
(Row)
C 2 531.5 265.75 8.46
(Column)
I 2 123.5 61.76 1.97
(Interaction)
Error 6 188.5 31.42
Total 11 1,390.25
Contoh 1: Jawaban Manual (4/6)
• H0: No difference between
Test Statistic:
motivation levels
• Ha: Motivation levels differ F  MS (RA)  17.4
•  = 0,05 MSE
• v1 = 1 v2 = 6
• Critical Value(s): Decision:
Reject at  = 0,05
 = 0,05
Conclusion:
There is evidence
0 5.99 F motivation levels differ
Contoh 1: Jawaban Manual (5/6)
• H0: No difference between
Test Statistic:
training methods
• Ha: Training methods differ F  MS (CB)
R
 8.46
•  = 0,05 MSE
• v1 = 2 v2 = 6
• Critical Value(s): Decision:
Reject at  =0,05
 = 0,05
Conclusion:
There is evidence
0 5.14 F training methods differ
Contoh 1: Jawaban Manual (6/6)
• H0: The factors do
Test Statistic:
not interact
• Ha: The factors MS (IAB )
F  1.97
interact MSE
•  = 0,05
• v1 = 2 v2 = 6
Decision:
• Critical Value(s): Do not reject at  = 0,05
 = 0,05 Conclusion:
There is no evidence the
factors interact
0 5.14 F
Contoh 2: Soal

Asumsi: α = 0,05
Contoh 2: Jawaban Excel
Contoh 2: Jawaban Manual
( [email protected] )

You might also like