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

Practice Exercise:

Complete the table and solve for the Spearman rho (r s). Write your answers on the blanks.

Students Score (X) Score (Y) Rank (X) Rank (Y) D(Difference) D2(Square of
the difference)
1 36 37 3 3 0 0
2 44 46 1 1 0 0
3 28 30 8 6.5 1.5 2.25
4 32 30 4 6.5 -2.5 6.25
5 30 32 6 4.5 1.5 2.25
6 25 27 10 9.5 .5 .25
7 30 29 6 8 -2 4
8 20 18 11 12 -1 1
9 16 20 12 11 1 1
10 27 27 9 9.5 .5 .25
11 30 32 6 4.5 1.5 2.25
12 40 43 2 2 0 0
N = 12 ∑D2 = 19.5

Solution:
There are ties in the rank need to find first the cf or correction factor. Then add to ∑D2
each cf for tie ranks.
m = no. of ties

m(m2−1)
cf =
12

3(32−1) 3(9−1) 3(8) 24 2(22−1) 2(4−1) 2(3) 6


cf1 = 12 = 12
= 12 = 12 cf3 = 12 = 12
= 12 = 12

cf1 = 2 cf3 = .5
2(22−1) 2(4−1) 2(3) 6 2(22−1) 2(4−1) 2(3) 6
cf2 = 12 = 12
= 12 = 12 cf4 = 12 = 12
= 12 = 12

cf2 = .5 cf4 = .5
∑D2+cf1+cf2+cf3+cf4

∑D2 = 19.5 + 2 + .5 + .5 + .5
Therefore ∑D2 = 23

6 ∑ D2
rs = 1 - n(n¿ ¿2−1) ¿

6 (23)
=1 - 12(12¿ ¿ 2−1) ¿
6 (23)
=1 - 12(143)
=1 - 1,138716
-
= 1 . 0804

rs = 0.9196 or 0.92

You might also like