Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

ONE-WAY ANOVA

Contoh Soal dan Jawaban


Group 2:
1. Annisa Purnama Sari - 18018087
2. Cici Prima Yeswari - 18018120
3. Muhammad Romodhon - 18018102
4. Nur Alfath Ramadhana - 18018045

A political scientist hypothesizes that persons from the US Midwest are more conservative in
their political views than individuals from either coast. Five participants between the ages of 21
and 60 are randomly selected from the Western, Midwestern, and Eastern parts of the nation (N
= 15). A questionnaire measuring conservatism is administered, with higher scores reflecting
greater conservatism. The data are presented in the following table.
West Midwest East
3 9 4
6 15 9
2 9 1
4 4 2
3 6 3

a. State the null and alternative hypotheses.


Calculate the following values.
b. SSBG
c. SSW
d. dfBG
e. dfW
f. MSBG
g. MSW
h. SST
i. dfT
j. F ratio
k. What is Fcrit when α = .05?
l. Should we reject or fail to reject the H0?
m. Make an ANOVA summary table.
ANSWERS:
a. H0 : μ1 = μ2 = μ3;
H1 : at least two of the means are different.
West Midwest East Summary values
ΣX1 = 18 ΣX2 = 43 ΣX3 = 19 ΣX = 80
n1 = 5 n2 = 5 n3 = 5 ΣX2 = 624
M1 = 3.60 M2 = 8.60 M3 = 3.80 (ΣX)2 = 6.400

b. SSBG (the Sum of Squares Between Groups)

(18)2
SSBG = +¿ ¿
5
= 506.80 – 426.67
= 80.13

c. SSW (the Sum of Squares Within Groups)

182 43 2 192
2
SSW = (3)2 +(6)2 +( 2)2 … … … ( 2 ) +(3)2− [ 5
+
5
+
5 ]
= 624 – 506.80
= 117.20

d. dfBG (degree of freedom for the between-groups)


dfBG = k – 1 (k = the number of groups)
=3–1
=2

e. dfW (degree of freedom for the within-groups)


dfW = N – k
= 15 – 3
= 12

f. MSBG (the mean square between groups)


SS BG
MSBG =
df BG
80.13
=
2
= 40.07

g. MSW (the mean square within groups)


SS w
MSw =
df w
117.20
=
12
= 9.77

h. SST (the total Sum of Squares)

SST = (6)2 +(6)2 +(7)2 … … … ( 5 )2 +( 3)2 −¿

= =664 − 614.4
= 49.6
i. dfT
dfT = dfBG + dfW
= 2 + 12
= 14

j. F ratio
MS BG
F=
MS W
40.07
=
9.77
= 4.10

k. What is Fcrit when α = .05?


Locating the relevant critical value is accomplished by entering the table with the degrees
of freedom from the numerator of the F ratio, dfBG, and the degrees of freedom from the
denominator of the F ratio, dfW
dfBG = 2
dfW = 12
(For α = 0.05)

Fcrit (2,12) = 3.88

l. Should we reject or fail to reject the H0?


Yes,
Let us test a null hypothesis with the F ratio found in the worked example using an alpha
of .05. The obtained F was 4.10. The dfBG =2 and dfW = 12. Referring to the F table, the
critical value is stated as 3.88. Since the obtained F value is larger than the critical value
of 3.88, we reject the null hypothesis that μ1 = μ2 = μ3.

m. Make an ANOVA summary table.


SSBG = 80.13
SSW = 117.20
dfBG = 2
dfW = 12
MSBG = 40.07
MSW = 9.77
F = 4.10
P = <.05
Source of variation SS df MS F p
Between groups 80.13 2 40.07 4.10 <.05

Within 117.20 12 9.77


groups(error)
Total 197.33 14

You might also like