2. Rank Correlation:-
There are many situations where
numerical values are not available,
but data have been assembled in a
relative order, the best being in the
first rank, the second best next and
so on.
OR
Some time it is not possible to
measure certain variable, but it is
possible to arrange them in order.
3. For Example
If two coffee flavor experts were asked
to place 5 coffee flavor in order of
preference, they would rank the five
coffee flavor in order, using the
number 1,2,3,4,5.
The flavor they liked best would be
ranked 1.
The flavor they liked least would be
ranked 5.
4. The formula for correlation between
ranking of two sets of data is called
Rank Correlation or Spearmanโs
Coefficient of Rank Correlation.
It is denoted by rs.
๐๐ = 1 โ
6โ๐2
๐ ๐2โ1
Where โdโ is the difference in ranking
between the two sets of observations
and โnโ is the number of data pairs.
5. Example-1:
The following table shows ten students
were ranked according to their
performance in their class work and
their final examinations.
We want to find out whether there is a
relationship between the
accomplishment of the students during
the whole year and their performance in
their exams.
6. Solution:
Students Ranking
based on
class work
(x)
Ranking
based on
exam
marks (y)
Difference
d
d2
A 2 1 1 1
B 5 6 -1 1
C 6 4 2 4
D 1 2 -1 1
E 4 3 1 1
F 10 7 3 9
G 7 8 -1 1
H 9 10 -1 1
I 3 5 -2 4
J 8 9 -1 1
SUM โ d2=24