Chapter 1 2jalan
Chapter 1 2jalan
“
Review
Analisis Variansi dan Efek Utama
Dalam hal lebih dari satu faktor, faktor itu dapat saja saling
mempengaruhi atau tidak saling mempengaruhi
Dalam hal terdapat interaksi, kita memiliki efek utama dan interaksi
• Efek utama (dengan perbedaan rerata)
• Interaksi (dengan interaksi di antara faktror)
Variansi dan Efek Utama
Dengan membuka batas semua
kelompok, diperoleh variansi total
Variansi total
So …Sources of variance
When we take samples from each population,
there will be two sources of variability
Within group variability - when we sample from a group
there will be variability from person to person in the
same group Sesatan
We will always have this form of variability because it is sampling
variability
Between group variability – the difference from group to
group Perlakuan
This form of variability will only exist if the groups are different
If the between group variability if large, the means of the two
groups is likely not the same
We can use the two types of variability to determine
if the means are likely different
How can we do this?
Look again at the picture
Blue arrow: within group, red arrow: between group
Rancangan
Percobaan
One-Way
Two-Way
Anova
Anova
(ANAVA 1 Jalan
(ANAVA 2 Jalan
Rancangan Faktorial a x b
Eksperimen faktorial a x b melibatkan 2 faktor dimana
terdapat a tingkat faktor A dan b tingkat faktor B,
Eksperimen diulang r kali pada tiap-tiap tingkat faktor
kombinasi
Adanya replikasi inilah yang memungkinkan
terjadinya interaksi antara faktor A dan B
Interaction
Occurs When Effects of One Factor Vary According to Levels
of Other Factor
When Significant, Interpretation of Main Effects (A & B) Is
Complicated
Can Be Detected
In Data Table, Pattern of Cell Means in One Row Differs
From Another Row
In Graph of Cell Means, Lines Cross
The interaction between two factor A and B is the tendency
for one factor to behave differently, depending on the
particular level setting of the other variable.
Interaction describes the effect of one factor on the behavior
of the other. If there is no interaction, the two factors
behave independently.
Example
A drug manufacturer has three
supervisors who work at each of three
Supervisor 1 always does better Supervisor 1 does better earlier in the
different shift times.
than 2, regardless of the shift.
Do outputs of the
day, while supervisor 2 does better at
supervisors behave differently,
(No Interaction)
night. depending
on the particular shift they are working?
(Interaction)
Graphs of Interaction
Effects of Motivation (High or Low) & Training
Method (A, B, C) on Mean Learning Time
Interaction No Interaction
Average Average
Response High Response High
Low Low
A B C A B C
Interaksi X terhadap Y
X1 Y
X2 Y
X1
Y
X2
• Tanpa interaksi
Y
X1
X2
• Ada interaksi
interaksi
Y
X2
X1
X
Interaksi
• Interaksi terjadi apabila perbedaan rerata pada satu level (misalnya level 1)
tidak sama untuk dua level berbeda pada level 2 sehingga terjadi
perpotongan
Ada perpotongan karena tidak
sama
Level 1
Level 2
Two-Way ANOVA Assumptions
1. Normality
Populations are Normally Distributed
2. Homogeneity of Variance
Populations have Equal Variances
3. Independence of Errors
Independent Random Samples are Drawn
Two-Way ANOVA
Null Hypotheses
1. No Difference in Means Due to Factor A
H0: 1.. = 2.. =... = a..
Total SS ( xijk x ) 2
ANAVA 2 Jalan
Partisi Variansi Total
Variansi Total
JKT
Variansi A Variansi B
JKB
JKA
Variansi Interaksi Variansi Sesatan
JK(AB) JKS
JKT dibagi menjadi 4 bagian :
JKA (Jumlah Kuadrat faktor A) : variansi
antara faktor A
JKB (Jumlah Kuadrat faktor B): variansi
antara faktor B
JK(AB) (Jumlah Kuadrat Interaksi): variansi
antara kombinasi tingkat faktor ab
JKS (Jumlah Kuadrat Sesatan)
JK T JK A JK B JK AB JKS
Faktor Faktor B
A 1 2 ... b Observation k
1 X111 X121 ... X1b1
X112 X122 ... X1b2 Xijk
2 X211 X221 ... X2b1
X212 X222 ... X2b2 Level i Level j
Factor A Factor B
: : : : :
a Xa11 Xa21 ... Xab1
Xa12 Xa22 ... Xab2
Rumus-rumus
G2
CM dengan G xijk
n
2
JK T xijk CM
Ai 2
JK A CM dengan Ai jumlah total faktorA tingkatke - i
br
B j2
JK B CM dengan B j jumlah total faktorB tingkatke - j
ar
ABij 2
JK AB CM - JK A - JK B
r
dengan ABij jumlah total faktorA tingkatke - i dan faktorB tingkatke - j
JK S JK T - JK A - JK B - JK AB
Contoh : Pabrik Obat
Supervisor pabrik obat bekerja pada 3 shift yang berbeda dan
hasil produksi dihitung pada 3 hari yang dipilih secara
random
Supervisor Pagi Siang Sore Ai
1 571 480 470 4650
610 474 430
625 540 450
2 480 625 630 5238
516 600 680
465 581 661
Bj 3267 3300 3321 9888
RK(AB) = JK(AB)/(a-1)(b-1)
db Sesatan ?
Dengan pengurangan RKS =JKS/ab(r-1)
Sumber db JK RK F
Variansi
A a -1 JKA JKA/(a-1) RKA/RKS
B b -1 JKB JKB/(b-1) RKB/RKS
Interaksi (a-1)(b-1) JK(AB) JK(AB)/(a-1)(b-1) RK(AB)/RKS
Sesatan ab(r-1) JKE JKS/ab(r-1)
Total abr -1 JKT
Two-way ANOVA: Output versus Supervisor, Shift