Professional Documents
Culture Documents
P
G
SU 02
N
EXAMPLE
• A CI gave an exam to 12 students, 6 were
male and 6 were female. She recorded the
-C
scores and tabulated it in the table below:
M 2
Male 80 79 92 65 83 84
Female 82 87 89 91 93 76
W FN
P
G
SU 02
N
STEP BY STEP GUIDE
Step 2: Perform a ranking of all the observation
Male Rank Female Rank
-C
80 4 82 5
M 2
79 3 87 8
92 11 89 9
65 1 91 10
W FN
83 6 93 12
84 7 76 2
• Formula:
= − = −
U = Mann-Whitney U test
N1 = Sample size one
N2 = Sample size two
R1 = Sum of the ranks for group 1
R2 = Sum of the ranks for group 2
P
G
SU 02
N
STEP BY STEP GUIDE
Step 4: Calculate the U Statistic for the Two Groups
= − = + −
-C
M 2
= + − = + −
( )
= + − = −
W FN
= + − =
= + − = + −
( )
= + − = −
= + − =
2023
= =
• The U-stat is the smaller value of the two and that would be:
Ustat = 11
P
G
SU 02
N
STEP BY STEP GUIDE
Step 5: Determine the Critical value from Table
• From Mann-Withney u-test table, check the value under column 6 and row
-C
6. The critical value of U to be: Ucrit = 5
M 2
• Since the calculated value of U (Ustat = 11) is greater than the critical value
(Ucrit = 5), we do not reject the null hypothesis and agree that the two groups
are the same.
W FN
EXAMPLE
• A CI gave an exam to 12 students, 6 were
male and 6 were female. She recorded the
scores and tabulated it in the table below:
Male 80 79 92 65 89 84
Female 82 87 89 91 93 76
2023
P
G
SU 02
N
STEP BY STEP GUIDE
Step 2: Perform a ranking of all the observation
Male Rank Female Rank
= 8.5
-C
80 4 82 5
M 2
79 3 87 7
92 11 89 8.5
65 1 91 10
W FN
89 8.5 93 12
84 6 76 2
= + − . = + − .
( )
= + − . = − .
= + − . = .
P
G
SU 02
N
STEP BY STEP GUIDE
Step 4: Calculate the U Statistic for the Two Groups
= − = + − .
-C
M 2
= + − . = + − .
( )
= + − . = − .
W FN
= + − . = .
= . = .
• The U-stat is the smaller value of the two and that would be:
Ustat = 12.5
2023
• From Mann-Withney u-test table, check the value under column 6 and row
6. The critical value of U to be: Ucrit = 5
• Since the calculated value of U (Ustat = 12.5) is greater than the critical
value (Ucrit = 5), we do not reject the null hypothesis and agree that the two
groups are the same.
P
G
SU 02
N
WILCOXON SIGN TEST
• A non-parametric statistical hypothesis test that does not
assume normal distribution (Haynes, 2013).
• Used to compare two related samples, matched
-C
M 2
samples.
EXAMPLE
• A researcher is testing whether the memory performance
of 6 participants is better in the morning or evening.
M e mory Pe rformance i n M e mory Pe rformance i n
th e Morn i ng th e Eve n i ng
34 45
36 33
41 35
39 43
44 42
37 32
2023
P
G
SU 02
N
STEP BY STEP GUIDE
Step 1: State the null and alternate hypothesis and
reject criteria
-C
Reject Criteria:
M 2
36 33 3 2
41 35 6 5
39 43 -4 3 (-)
44 42 2 1
37 32 5 4
2023
P
G
SU 02
N
STEP BY STEP GUIDE
Step 3: Calculate the sum of the ranks to find test statistic
( )
9 + 12 = 21
W FN
P
G
SU 02
N
EXAMPLE
• A researcher is testing whether the memory performance
of 6 participants is better in the morning or evening.
M e mory Pe rformance i n M e mory Pe rformance i n
-C
th e Morn i ng th e Eve n i ng
M 2
34 36
36 34
41 35
39 43
W FN
44 42
37 32
P
G
SU 02
N
STEP BY STEP GUIDE
Step 2: Calculate the difference between paired measurements
and rank them
Memory Performance in Memory Performance in
Difference Rank
the Morning the Evening
-C
34 36 -2 2(-)
M 2
36 34 2 2
+ +
41 35 6 6
39 43 -4 4(-)
W FN
=2
44 42 2 2
37 32 5 5
( )
6 + 15 = 21
P
G
SU 02
N
STEP BY STEP GUIDE
Step 4: Determine whether the Wobs and Wcri and interpret
n=6 @ .05 (two-tailed)
Wobs = 6
-C
Wcri = 0
M 2
P
G
SU 02
N
EXAMPLE
The scores for nine graduate students in FN201 and FN202
are as follows:
FN201 35 23 47 17 10 43 9 6 28
-C
M 2
FN202 30 33 45 23 8 49 12 4 31
Compute the student’s ranks in the two subjects and
compute the Spearman rank correlation.
W FN
P
G
SU 02
N
STEP BY STEP GUIDE
Step 2
FN201 RANK FN202 RANK
-C
35 3 30 5
M 2
23 5 33 3
47 1 45 2
17 6 23 6
10 7 8 8
43 2 49 1
W FN
9 8 12 7
6 9 4 9
28 4 31 4
P
G
SU 02
N
STEP BY STEP GUIDE
Step 5: Insert these values into the formula.
=1- =1-
( )
-C
M 2
( )
=1- = 1 - 0.
( )
W FN
=1- = 0.
( )
P
G
SU 02
N
SPEARMAN CORRELATION WITH TIED RANKS
Formula:
⋯
=1–6
( )
-C
M 2
EXAMPLE
The scores for nine graduate students in FN201 and FN202
are as follows:
FN201 35 23 47 17 10 43 9 6 28
FN202 30 33 45 30 8 49 12 4 31
Compute the student’s ranks in the two subjects and
compute the Spearman rank correlation.
2023
P
G
SU 02
N
STEP BY STEP GUIDE
Step 2: Start by ranking the two data sets.
Data ranking can be achieved by assigning the
-C
ranking “1” to the biggest number in the column, “2”
M 2
P
G
SU 02
N
STEP BY STEP GUIDE
Step 4: Add all your d square values.
FN201 RANK FN202 RANK d d2
35 3 30 5.5 -2.5 6.25
-C
23 5 33 3 2 4
M 2
47 1 45 2 -1 1
17 6 23 5.5 0.5 0.25
10 7 8 8 -1 1
43 2 49 1 1 1
9 8 12 7 1 1
W FN
6 9 4 9 0 0
28 4 31 4 0 0
d2 = 14.5
=1- =1-
( )
( . )
=1- = 1 - 0.
( )
=1- = 0.
( )
2023
P
G
SU 02
N
INDEPENDENT T-TEST
• Compares the means of two independent groups in order
to determine whether there is statistical evidence that the
associated population means are significantly different
-C
M 2
• A parametric test.
• This test is also known as: Independent t Test,
Independent Two-sample t Test, Two-Sample t Test,
Unpaired t Test
W FN
INDEPENDENT T-TEST
Formula:
−
=
+
+
+ −
( )
= ∑ −
Where:
t = Independent t-test
X1 = Mean score of Group 1
X2 = Mean score of Group 2
SS = Sum of Squares
2023
EXAMPLE
• A researcher is testing whether there is a difference in the
memory performance of Group 1 and Group 2
G rou p 1 G rou p 2
6 4
9 6
8 3
9 4
8 7
P
G
SU 02
N
STEP BY STEP GUIDE
Step 1: State the null and alternate hypothesis and
reject criteria
-C
H0 (Null): There is no difference in the memory
M 2
P
G
SU 02
N
STEP BY STEP GUIDE
Step 3: Compute for the Sum of Squares (SS)
( ) ( )
= − = −
-C
( ) ( )
M 2
= − = −
= − = −
W FN
= − = − .
= = .
− . .
= =
+ .
+
.
+ −
.
. =
= .
.
. + .
= .
2023
Since
tobs=3.84 ≥ tcri=2.776
Reject HA, Accept H0
(Fail to reject null hypothesis)
P
G
SU 02
N
DEPENDENT T-TEST
• Conducted when the observations of one sample group is
known to be related in some way to the other
observations of sample group.
-C
M 2
DEPENDENT T-TEST
Formula:
=
−( )
−
Where:
t = Dependent t-test
= Total of d
= Total of d2
N = Sample
2023
EXAMPLE
The scores for nine graduate students in FN201 and FN202
are as follows:
FN201 35 23 47 17 10 43 9 6 28
FN202 30 33 45 23 8 49 12 4 31
P
G
SU 02
N
STEP BY STEP GUIDE
Step 1: State the null and alternate hypothesis and
reject criteria
-C
H0 (Null): There is no difference between the scores of
M 2
FN202.
P
G
SU 02
N
STEP BY STEP GUIDE
Step 3: Get the summation of d and d2
FN201 FN202 d d2
35 30 5 25
23 33 -10 100
-C
47 45 2 4
M 2
17 23 -6 36
10 8 2 4
43 49 -6 36
9 12 -3 9
W FN
6 4 2 4
28 31 -3 9
= -17 = 227
−
= −
( )( ) − (− ) =
− .
− −
= =
− .
= .
2023
P
G
SU 02
N
PEARSON CORRELATION COEFFICIENT
• Most widely used correlation coefficient and is known by
many names:
o Pearson’s r
-C
M 2
o Bivariate correlation
o Pearson product-moment correlation coefficient (PPMCC)
o The correlation coefficient
• Measures the linear association between two variables.
W FN
P
G
SU 02
N
CALCULATING THE PEARSON CORRELATION
COEFFICIENT
• FORMULA:
( )
r =
-C
][ ( )]
M 2
• r = Pearson Coefficient
• n= number of pairs of the stock
• ∑xy = sum of products of the paired stocks
• ∑x = sum of the x scores
W FN
EXAMPLE
Study the relationship between newborns’ weight and length of the
10 born last month at a local hospital.
Weight (kg) Length (cm)
3.63 53.1
3.02 49.7
3.82 48.4
3.42 54.2
3.59 54.9
2.87 43.7
3.03 47.2
3.46 45.2
3.36 54.4
3.3 50.4
2023
P
G
SU 02
N
STEP BY STEP GUIDE
Step 2: Calculate x2 and y2 and their sums
Weight (kg) (x) Length (cm) (y) x2 y2
3.63 53.1 3.63 819.6
3.02 49.7 9.12 2,470.1
-C
M 2
= 25,264 . .
r = r =
= 1,684.2 [ , . .
r = .
Since r = . , there is a moderate positive relationship between the length and weight of the
newborn baby. The longer the baby, the heavier their weight.
P
G
SU 02
N
ANALYSIS OF VARIANCE
• A one-way ANOVA compares the means of three or more
independent groups to determine if there is a statistically
significant difference between the corresponding
-C
population means.
M 2
W FN
( )
r =
][ ( )]
• r = Pearson Coefficient
• n= number of pairs of the stock
• ∑xy = sum of products of the paired stocks
• ∑x = sum of the x scores
• ∑y= sum of the y scores
• ∑x2 = sum of the squared x scores
• ∑y2 = sum of the squared y scores
2023
EXAMPLE
Using the following three groups of data, perform a one-way
analysis of variance using α = 0.05.
Group 1 Group 2 Group 3
51 23 56
45 43 76
33 23 74
45 43 87
67 45 56
P
G
SU 02
N
STEP BY STEP GUIDE
Step 1: Calculate all the means
Group 1 Group 2 Group 3
51 2,601 23 529 56 3,136
-C
45 2,025 43 1,849 76 5,776
M 2
Rejection Criteria:
α = 0.05
Reject the null hypothesis if Fcrit < Fobs (K0.05 < F)
If the critical value of F from tables is less than the calculated value of F, we
reject the null hypothesis
P
G
SU 02
N
STEP BY STEP GUIDE
Step 3: Calculate the Sum of Squares
Sum of Squares Within Groups (SSw): The sum of squares within
each group.
-C
2 2 2 2 2 2
∑ X1 ∑ X2 ∑ X3
M 2
SSw = X − + X − + X −
n1 n2 n3
1 2 3
( )
SSw = 12,229− + 6,781− + 25,093−
5 5 5
58,081 31,329 121,801
SSw = 12,229− + 6,781− + 25,093−
W FN
5 5 5
SSw = 12,229−11,616.2 + 6,781−6,265.8 + 25,093−24,360.2
SSw = 612.8+515.2+732.8
SSw = 1,860.80
) ) ) )
= + + −
, , , ,
= + + −
= , . + , . + , . − , .
= , . − , .
= , .
2023
= +
= , . + , .
= , .
P
G
SU 02
N
STEP BY STEP GUIDE
Step 4: Calculate the Degrees of Freedom
The degrees of freedom are calculated using the formula
below.
-C
M 2
dftotal= n – 1 = 15 – 1 = 14
dfb = k – 1 = 3 – 1 = 2 (numerator)
dfw = n – k = 15 – 3 = 12 (denominator)
W FN
, .
=
= , .
2023
, .
=
= .
P
G
SU 02
N
STEP BY STEP GUIDE
Step 6: Calculate the F Statistic
• Then we go ahead to calculate the F statistic using MSB and
MSW
-C
MSb
M 2
F=
MSw
1,511.47
F=
155.07
W FN
F=9.75
P
G
SU 02
N
-C
M 2
W FN