Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
BOC
2
LTO
2
BIR
2
Null hypothesis (H0):
X1 X1 X2 X2 X3 X3
6 2 3
(μ1 = μ2) all the population means
36 4 9
7 49 5 25 2 4
are equal.
8 64 4 16 4 16
6 36 3 9 4 16 Research hypothesis (Ha):
4 16 5 25 3 9 (μ1 ≠ μ2) at least one is different from
the rest.
ΣX1 31 ΣX12 201 ΣX2 19 ΣX22 79 ΣX3 16 ΣX32 54
2 2 2
X̅ 1 6.2 X̅ 1 40 X̅ 2 3.8 X̅ 2 15.8 X̅ 3 3.2 X̅ 3 10.8
Find the SUM OF SCORES Sets N Sum of Scores Sum of Squared
Σ𝑋2 𝑡𝑜𝑡𝑎𝑙 = 𝑋21 + 𝑋22 + 𝑋23 Find the MEAN FOR ALL GROUPS
𝑑𝑓𝑤𝑖𝑡ℎ𝑖𝑛 = 𝑁𝑡𝑜𝑡𝑎𝑙 − 𝑘
𝑑𝑓𝑤𝑖𝑡ℎ𝑖𝑛 = 15 − 3
𝑑𝑓𝑤𝑖𝑡ℎ𝑖𝑛 = 12
Find the ‘BETWEEN-GROUPS’ MEAN SQUARE 𝑆𝑆𝑏𝑒𝑡𝑤𝑒𝑒𝑛 = 25.2
𝑆𝑆𝑏𝑒𝑡𝑤𝑒𝑒𝑛 𝑑𝑓𝑏𝑒𝑡𝑤𝑒𝑒𝑛 = 2
𝑀𝑆𝑏𝑒𝑡𝑤𝑒𝑒𝑛 =
𝑑𝑓𝑏𝑒𝑡𝑤𝑒𝑒𝑛
25.2
𝑀𝑆𝑏𝑒𝑡𝑤𝑒𝑒𝑛 =
2
𝑀𝑆𝑏𝑒𝑡𝑤𝑒𝑒𝑛 = 12.6
𝑆𝑆𝑤𝑖𝑡ℎ𝑖𝑛 = 18.4
Find the ‘WITHIN-GROUPS’ MEAN SQUARE
𝑑𝑓𝑤𝑖𝑡ℎ𝑖𝑛 = 12
𝑆𝑆𝑤𝑖𝑡ℎ𝑖𝑛
𝑀𝑆𝑤𝑖𝑡ℎ𝑖𝑛 =
𝑑𝑓𝑤𝑖𝑡ℎ𝑖𝑛
18.4
𝑀𝑆𝑤𝑖𝑡ℎ𝑖𝑛 =
12
𝑀𝑆𝑤𝑖𝑡ℎ𝑖𝑛 = 1.53
Find the f ratio by dividing the Msbetween with MSwithin
𝑓 = 8.24
The calculated f ratio is 8.24 with degrees of freedom =2 and 12 and α= .05 significance level.
Since it is more than the f table ratio of 3.88, we REJECT the NULL HYPOTHESIS, and conclude that there are
differences between groups.
See the graph below.
Source of variation SS df MS F
df for the
df for the Numerator α = .05
Denominator
12 2
3.88
df for the
df for the Numerator α = .01
Denominator
12 2
6.93
What if we examine the influence
of two independent variables to a
dependent variable?
We want to know the perception of Filipinos on the effect of two independent variables (marriage
and having kids) with respect to the use of contraceptives.
We have four groups of four subjects each.
For each level of factor A (marriage) is aligned in the rows, and factor B (kids) aligned in the
columns.
KIDS (B)
w/ KIDS (B) NO KIDS TOTAL
X1 X1 2
X2 X2 2 Null hypothesis (H0):
8 64
100
9 81
25
N= 8 X̅ 7.75
(μ1 = μ2) Marriage and kids HAVE NO
MARRIED 10 5
7 49 7 49 EFFECT on use of contraceptives.
9 81 7 49
34 294 28 204
Research hypothesis (Ha):
MARRIAGE
(A)
N= 4 X̅ 8.5 N= 4 X̅ 7
w/ KIDS NO KIDS
(μ1 ≠ μ2) Marriage and kids HAVE
X1 X1 2
X2 X22 EFFECT on use of contraceptives.
6 36 2 4 N= 8 X̅ 3.75
NOT MARRIED 4 16 1 1
8 64 1 1
6 36 2 4
24 152 6 10
N= 4 X̅ 6 N= 4 X̅ 1.5
Σ𝑋 𝑔𝑟𝑜𝑢𝑝
𝑋ത 𝑔𝑟𝑜𝑢𝑝 =
𝑁𝑔𝑟𝑜𝑢𝑝
34
= = 8.5 (married/with kids)
4
28
= = 7.0 (married/no kids)
4
24
= = 6.0 (with kids/ not married)
4
6
= = 1.5 (not married / no kids)
4
Find the TOTAL MEAN
Σ𝑋 𝑡𝑜𝑡𝑎𝑙
𝑋ത 𝑡𝑜𝑡𝑎𝑙 =
𝑁𝑡𝑜𝑡𝑎𝑙
96
=
16 Σ𝑿 = 34 + 28 + 24 + 6 = 96
𝑁𝑡𝑜𝑡𝑎𝑙 = 𝑁 + 𝑁 = 16
𝑋ത 𝑡𝑜𝑡𝑎𝑙 = 5.75
Find the MEAN FOR EACH LEVEL OF FACTOR A
Find the ‘WITHIN-GROUPS’ SUM OF SQUARES Σ𝑋2 𝑡𝑜𝑡𝑎𝑙 = 𝑋21 + 𝑋22 + 𝑋23 + 𝑋24
𝑆𝑆𝐴𝐵 = 9
Find the DEGREES OF FREEDOM FOR WITHIN
𝑑𝑓𝑤𝑖𝑡ℎ𝑖𝑛 = 𝑁𝑡𝑜𝑡𝑎𝑙 − 𝑎𝑏 = 16 − 2 2 = 12
𝑑𝑓𝐴 = 𝑎 − 1 = 2 − 1 = 1
𝑑𝑓𝐵 = 𝑏 − 1 = 2 − 1 = 1
Find the DEGREES OF FREEDOM FOR INTERACTIONS
𝑑𝑓𝐴𝐵 = (𝑎 − 1)(𝑏 − 1) = 1
Find the ‘WITHIN-GROUPS’ MEAN SQUARE, MAIN EFFECTS, AND INTERACTIONS SUMS OF SQUARE
𝑆𝑆𝑤𝑖𝑡ℎ𝑖𝑛 22
𝑀𝑆𝑤𝑖𝑡ℎ𝑖𝑛 = = = 1.833
𝑑𝑓𝑤𝑖𝑡ℎ𝑖𝑛 12
𝑆𝑆𝐴 64
𝑀𝑆𝐴 = = = 64
𝑑𝑓𝐴 1
𝑆𝑆𝐵 36
𝑀𝑆𝐵 = = = 36
𝑑𝑓𝐵 1
𝑆𝑆𝐴𝐵 9
𝑀𝑆𝐴𝐵 = = =9
𝑑𝑓𝐴𝐵 1
Find the f ratio by dividing the Msbetween with MSwithin
𝑀𝑆𝐴 64 𝑆𝑆𝐴 = 64
𝑓𝐴 = = = 34.909
𝑀𝑆𝑤𝑖𝑡ℎ𝑖𝑛 1.833
𝑆𝑆𝐵 = 36
𝑀𝑆𝐵 36 𝑆𝑆𝐴𝐵 = 9
𝑓𝐵 = = = 19.636
𝑀𝑆𝑤𝑖𝑡ℎ𝑖𝑛 1.833
𝑀𝑆𝑤𝑖𝑡ℎ𝑖𝑛 = 1.833
𝑀𝑆𝐴𝐵 9
𝑓𝐴𝐵 = = = 4.909
𝑀𝑆𝑤𝑖𝑡ℎ𝑖𝑛 1.833
All calculated f ratio is 8.24 with degrees of freedom =1 and 12 and α= .05 significance level are MORE THAN
the f table ratio of 3.88, we REJECT the NULL HYPOTHESIS, and conclude that there are differences between
groups.
There are significant ‘main effects’ of marriage and kids as well as their interations.
3.88
Means
Calculated
Source SS df of
f ratio
Square
Marriage (A) 64 1 64.0 34.909
Kids (B) 36 1 26.0 19.636
Interaction (AB) 9 1 9.0 4.909
Within Group 22 12 1.833
131 15