Professional Documents
Culture Documents
CCP403
CCP403
ANDHRA PRADESH
CCP403.17 1
Objectives
CCP403.17 2
Recap
CCP403.17 3
In this class, let us see how to calculate
Rank Correlation
CCP403.17 4
Equal ranks
CCP403.17 5
Equal ranks
CCP403.17 6
Equal ranks
Eg: Rank = 5 + 6 + 7 = 6
3
CCP403.17 7
Equal ranks – Explanation
CCP403.17 8
Equal ranks
Where R = COC
m = No. of items with common ranks
D = Rank Differences
N = No. of Pairs
CCP403.17 9
Example 1 - Equal ranks
X 80 78 75 75 68 67 60 59
Y 12 13 14 14 14 16 15 17
CCP403.17 10
Solution to Ex. 1
Step 1:
CCP403.17 11
Solution Contd
X Rx Y Ry D2 = (Rx-Ry)2
80 8 12 1 49.00
78 7 13 2 25.00
75 5.5 14 4 2.25
75 5.5 14 4 2.25
68 4 14 4 0
67 3 16 7 16.00
60 2 15 6 16.00
59 1 17 8 49.00
∑D2= 159.5
CCP403.17 12
Solution contd
X 20 25 60 45 80 25 55 65 25 75
Y 45 50 55 50 60 70 72 78 80 63
CCP403.17 14
Solution to Ex. 2
Calculation of correlation coefficient by ranking method
X R1 Y R2 D = (R1-R2) D2
20 1 45 1 0 0.00
25 3 50 2.5 0.5 0.25
60 7 55 4 3 9.00
45 5 50 2.5 2.5 6.25
80 10 60 5 5 25.00
25 3 70 7 -4 16.00
55 6 72 8 -2 4.00
65 8 78 9 -1 1.00
25 3 80 10 -7 49.00
75 9 63 6 3 9.00
ΣD2 = 119.5
CCP403.17 15
Solution contd
1 1
6 D 2 + m3 -m + m3 -m
R=1-
12 12
N 3 -N
1 1
6 119.5+ 33 -3 + 23 -2
=1-
12 12
103 -10
6 119.5+2+0.5
=1-
990
6*122
=1-
990
732
=1-
990
=0.26
CCP403.17 17
Example 3
Solution to Ex. 3
Co-variance = ∑XY, where x and y are the deviations
N
of the values of X and Y series from their respective
means
CCP403.17 18
Solution contd
σ x = √16 = 4
r= ∑XY
N σxσy
= ∑xy X 1
N σxσy
CCP403.17 19
Solution contd
0.3 = 9 X 1
4σy
1.2 σy = 9
σy = 9 = 7.5
12
CCP403.17 20
Example 4
Solution to Ex. 4
Co-variance = ∑XY, where x and y are the deviations
N
of the values of X and Y series from their respective
means
CCP403.17 21
Solution contd
Covariance = ∑xy / N
x 9 3
r xy / N xy
( xy / N ) X (1/ xy )
xy / N 16, x 3, r 0.64
CCP403.17 22
Solution contd
0.64 = 16 / 3σy
1.92 σy = 16
σy = 16 = 8.33
1.92
CCP403.17 23
Summary
CCP403.17 24
Quiz
CCP403.17 25
Frequently Asked Questions
Y 50 40 60 80 80 55 65
CCP403.17 26
Assignment
P 7 1 4 6 5 3 2
Q 5 1 2 3.5 3.5 7 6
Ans: R = + 0.125
CCP403.17 27
ASSIGNMENT
2) For more problems on Spearman’s RANK
Correlation, please refer to:
a) “Statistics – Problems and Solutions” by V.K.Kapoor
b) “Fundamentals of Statistics” by S.C.Gupta
c) “Statistical Methods” by S.P.Gupta
d) “Quantitative Techniques” by S.L.Agarwal &
Bharadwaj
e) Any other text book suggested by your teacher
f) Previous years’ exam question papers of SBTET
CCP403.17 28