Economics · Ch 6 — Correlation
Calculation Of Rank Correlation Coefficient
Calculation Of Rank Correlation Coefficient
The rank correlation coefficient is computed under three situations: (1) the ranks are already given, (2) the ranks must be worked out from the data, and (3) some ranks are repeated.
Case 1 — ranks are given (Example 3). Five competitors in a beauty contest are ranked by three judges A, B and C; we find which pair of judges agrees most. Rank correlation is computed for each of the three pairs using with .
For judges A and B, the differences in ranks give :
For A and C, , giving . For B and C it works out to . So judges A and C are the closest in taste, while B and C differ the most.
Case 2 — ranks not given (Example 4). Five students' marks in Statistics (X) and Economics (Y) are given. Each variable is first ranked (highest mark = rank 1), producing pairs of ranks and ; formula (4) is then applied exactly as in Case 1.
Case 3 — ranks repeated (Example 5). When items tie, each tied item gets the average of the ranks they would occupy. In the example Y takes the value 50 at the 9th, 10th and 11th positions, so all three receive the average rank 10. With repeated ranks a correction factor is added for every group of ties, and the formula becomes
where are the sizes of the tied groups. For this data (, ) the correction from the ties works out to
so that
Thus X and Y show a positive rank correlation — they move in the same direction — but the relationship is not strong.
Activity
…