rank correlation
Sparkman's rank correlation coefficient is the best way for calculating the correlation between variables having rank or order
Summary
Sparkman's rank correlation coefficient is the best way for calculating the correlation between variables having rank or order
Things to Remember
- formula for calculating Sparkman's rank correlation
MCQs
No MCQs found.
Subjective Questions
No subjective questions found.
Videos
No videos found.

rank correlation
Rank correlation
Ranks are the assignment of orders or priorities according to their status or importance. Karl Pearson’s correlation coefficient is especially useful when the data are quantitatively measured. There are some variables like beauty, knowledge, intelligence, honesty, etc. which cannot be measured quantitatively directly. These types of variables can be measured by assigning ranks or some sorts of ratings. Then the degree of association that exist between the two sets of rank is known as rank correlation. In such cases, there is a method by which the correlation between such characteristics can be studied. It is called rank correlation coefficient. This method was developed by the British Psychologist Charles Edward Sparkman in the year 1904.
Rank correlation is the degree of association between two variables when data are arranged in order or in ranks.
Sparkman Rank-correlation coefficient:
Sparkman developed a method of measuring rank correlation known as Sparkman rank correlation coefficient. It is generally denoted by rs.The study of degree of relationship between different ranks or grades of two characteristics i.e. Sparkman’s rank correlation coefficient is defined by following formula:
rs = 1 - \{\frac{6.∑d2}{n(n2 – 1)}\}
where,
d= R1 – R2 = difference of rank between paired items
R1= rank of first attribute
R2= rank of second attribute
n= number of paired observations.
Properties of rank correlation coefficient
- The value of rank correlation coefficient ranges between -1 to 1.
- When R = +1 , then it denotes complete agreement in the order of ranks between the two attributes.
- When R= -1, then it indicates complete disagreement in the order of ranks.
For example,
R1 | R2 | d=R1-R2 | d2 |
1 | 1 | 0 | 0 |
2 | 2 | 0 | 0 |
3 | 3 | 0 | 0 |
4 | 4 | 0 | 0 |
5 | 5 | 0 | 0 |
∑d=0 | ∑d2=0 |
rs = 1 - \{\frac{6.∑d2}{n(n2 – 1)}\}
rs = 1 - \{\frac{6.0}{5(25 – 1)}\}
=1-0
=1
R1 | R2 | d=R1-R2 | d2 |
1 | 5 | -4 | 16 |
2 | 4 | -2 | 4 |
3 | 3 | 0 | 0 |
4 | 2 | 2 | 4 |
5 | 1 | 4 | 16 |
∑d=0 | ∑d2=40 |
rs = 1 - \{\frac{6.∑d2}{n(n2 – 1)}\}
=1 - \{\frac{6.40}{5(25 – 1)}\}
=1-2
=-1
Note: the sum of differences of ranks between two variables should be zero i.e. ∑d=0.
There are three cases while calculating Sparkman’s rank correlation coefficient, they are as follows.
- When actual ranks are given
- When actual ranks are not given
- When the ranks are repeated
Case(I): when actual ranks are given
When the actual ranks are given then the following steps have to be followed;
- Compute the difference of ranks (R1 – R2) which is denoted by d.
- Compute d2 to get ∑d2
- Substitute these values in the formula of rank correlation coefficient i.e.
rs = 1 - \{\frac{6.∑d2}{n(n2 – 1)}\}
Example:
Ten industries of some state have been ranked as follows according to profit earned in and the working capital for that year:
Industry: | A | B | C | D | E | F | G | H | I | J |
Profit rank: | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
Working capital rank | 3 | 2 | 5 | 1 | 4 | 6 | 9 | 10 | 8 | 7 |
Solution:
Here, ranks are given. By using the formula of Sparkman’s rank correlation coefficient, we can calculate rank correlation coefficient by following formula
rs = 1 - \{\frac{6.∑d2}{n(n2 – 1)}\}
computation of rank correlation coefficient
Industry | Profit rank (R1) | Working capital rank (R2) | d=R1 - R2 | d2 |
A | 1 | 3 | -2 | 4 |
B | 2 | 2 | 0 | 0 |
C | 3 | 5 | -2 | 4 |
D | 4 | 1 | 3 | 9 |
E | 5 | 4 | 1 | 1 |
F | 6 | 6 | 0 | 0 |
G | 7 | 9 | -2 | 4 |
H | 8 | 10 | -2 | 4 |
I | 9 | 8 | 1 | 1 |
J | 10 | 7 | 3 | 9 |
n=10 | n=10 | ∑d=0 | ∑d2=36 |
Rank correlation coefficient is given by,
rs = 1 - \{\frac{6.∑d2}{n(n2 – 1)}\}
= 1 - \{\frac{6.36}{10(100 – 1)}\}
=1- \{\frac{216}{990}\}
=1- 0.2182
=0.782
Case(II): when ranks are not given
when the actual data of the variables are given but not ranks, it will be necessary to assign the ranks. Ranks can be assigned by taking either from the highest value as 1 , second highest value as 2 and son on or the lowest value as 1, second lowest value as 2 and so on , then Sparkman’s rank correlation coefficient formula is used to compute rank correlation coefficient i.e.
rs = 1 - \{\frac{6.∑d2}{n(n2 – 1)}\}
example:
calculate Sparkman’s rank correlation coefficient between advertisement cost ( in thousand Rs.) and sales ( in lakh Rs.) from the following data.
Advertisement cost (in thousand Rs.) | 39 | 65 | 62 | 90 | 82 | 75 | 25 | 98 | 36 | 78 |
Sales (in lakhs Rs.) | 47 | 53 | 58 | 86 | 62 | 68 | 60 | 91 | 51 | 84 |
Solution:
In this problem, ranks are not given. We have to assign ranks starting from the smallest or from the largest value for both cases. Let us rank starting from the largest value. Let X and Y denote the advertisement cost ( in thousands Rs.) and sales ( in lakhs Rs.) respectively.
Table for calculation of rank correlation coefficient
X | Y | Rank of X (R1) | rank of Y (R2) | d=R1 – R2 | d2 |
39 | 47 | 8 | 10 | -2 | 4 |
65 | 53 | 6 | 8 | -2 | 4 |
62 | 58 | 7 | 7 | 0 | 0 |
90 | 86 | 2 | 2 | 0 | 0 |
82 | 62 | 3 | 5 | -2 | 0 |
75 | 68 | 5 | 4 | 1 | 1 |
25 | 60 | 10 | 6 | 4 | 16 |
98 | 91 | 1 | 1 | 0 | 0 |
36 | 51 | 9 | 9 | 0 | 0 |
78 | 84 | 4 | 3 | 1 | 1 |
n = 10 | ∑d=0 | ∑d2=30 |
Now ,
rs = 1 - \{\frac{6.∑d2}{n(n2 – 1)}\}
= 1 - \{\frac{6.30}{10(100 – 1)}\}
=0.82
Case(III): when the ranks are repeated(tied)
For some cases when more than one items have r\the same value within a series, a common rank is given to all such repeated items. These common ranks are the arithmetic mean of the ranks which these items would have got if they were different from each other and the next item will get the rank next to them. For example, if third and fourth items have the same value, then the rank for each of them third and fourth items 3.5 and the rank of the next item is 5. For this case, the general formula (as discussed above) for calculating rank correlation coefficient is adjusted by adding a tie correlation factor \{\frac{m(m2-1)}{12}\} to ∑d2. Then the formula, for calculating Sparkman rank correlation coefficient, when more than one items have the same value, is as follows.
rs=1- \{\frac{6[∑d2 + \{\frac{m1(m12-1)}{12}\} + \{\frac{m2(m22-1)}{12}\} +………}{n(n2-1}\}
Where, m1,m2,……etc. be the number of times that an item is repeated.
Example:
An examination of 10 applicant was taken by a firm. From the marks obtained by the applicants in statistics and accountancy papers. Calculate the rank correlation coefficient.
Applicants: | A | B | C | D | E | F | G | H | I | J |
Marks in statistics | 38 | 41 | 68 | 41 | 38 | 55 | 85 | 81 | 28 | 41 |
Marks in accountancy | 48 | 39 | 38 | 36 | 58 | 61 | 72 | 83 | 61 | 82 |
Solution:
Let R1 denote the rank of marks in statistics and R2 denote the rank of marks in accountancy.
Computation of rank correlation coefficient
Marks in statistics | Marks in accountancy | R1 | R2 | d=R1 – R2 | d2 |
38 | 48 | 8.5 | 7 | 1.5 | 2.25 |
41 | 39 | 6 | 8 | -2 | 4 |
68 | 38 | 3 | 9 | -6 | 36 |
41 | 36 | 6 | 10 | -4 | 16 |
38 | 58 | 8.5 | 6 | 2.5 | 6.25 |
55 | 61 | 4 | 4.5 | 0.5 | 0.25 |
85 | 72 | 1 | 3 | -2 | 4 |
81 | 83 | 2 | 1 | 1 | 1 |
28 | 61 | 10 | 4.5 | 5.5 | 30.25 |
41 | 82 | 6 | 2 | 4 | 16 |
∑d=0 | ∑d2=83.00 |
Here, n= 10, m1= 3, m2=2, m3=2
Rank correlation coefficient
rs=1- \{\frac{6[∑d2 + \{\frac{m1(m12-1)}{12}\} + \{\frac{m2(m22-1)}{12}\} +………}{n(n2-1}\}
=1- \{\frac{6[83 + \{\frac{3(32-1)}{12}\} + \{\frac{2(22-1)}{12}\} + \{\frac{3(32-1)}{12}\} }{10(102-1}\}
=1- \{\frac{6*30}{990}\}
=1-0.1818
=0.82
Chaudary, A.K. (2061).Business statistics. kathmandu:Bhundipuran Prakshan
Dhakal Bashanta (2014).Business Statistics,Buddha academic publisher
Sthapit, Azaya Bikram(2006),Business Statistics,Asmita publication
Lesson
Simple Linear Correlation
Subject
Business Statistics
Grade
Bachelor of Business Administration
Recent Notes
No recent notes.
Related Notes
No related notes.