Professional Documents
Culture Documents
Lecture Rank Correlation
Lecture Rank Correlation
Lecture: 3
Rank Correlation
6 𝑑2
𝑟𝑠 = 1 −
𝑛(𝑛2 − 1)
where “𝑑𝑖” is difference between ranks of ith observation of two variables under
consideration “n” is sample size
Interpreted just like as simple correlation coefficient.
Ranges from -1 to +1
Example
6 𝑑2
𝑟𝑠 = 1 −
𝑛(𝑛2 − 1)
𝟔 𝒅𝟐
𝒓𝒔 = 𝟏 −
𝒏 𝒏𝟐 − 𝟏
𝟔(𝟐𝟖𝟓.𝟓)
= 𝟏−
𝟏𝟎(𝟏𝟎𝟐 −𝟏)
= -0.73
Following is the national ranking of 10 departments from
two different universities of Pakistan. Find correlation
between ranks.