Question #66355

Student Q.T. M.A

Ranking Ranking

A 2 3

B 7 6

C 6 4

D 1 2

E 4 5

F 3 1

G 5 8

H 8 7

Work out the spearman rank correlation .
1

Expert's answer

2017-03-17T15:27:06-0400

Answer on Question #66355 – Math – Statistics and Probability

Question

Work out the Spearman’s rank correlation.


Solution

Since all the data in columns consists of distinct integers, we can compute Spearman’s rank correlation coefficient using the following formula:


ρ=16i=1ndi2n(n21),\rho = 1 - \frac {6 \sum_ {i = 1} ^ {n} d _ {i} ^ {2}}{n (n ^ {2} - 1)},


where di=rg(xi)rg(yi)d_{i} = rg(x_{i}) - rg(y_{i}) is the difference between two ranks (measure of order) of each observation, nn is number of observations. In our case ranks coincide with observations, so we’ll just sort data by Q.T. for clarity. Then we compute dd and d2d^{2}.



Finally, we substitute obtained values into the formula:


ρ=16(1+1+4+1+9+4+1+1)8(821)=31420.7381\rho = 1 - \frac {6 (1 + 1 + 4 + 1 + 9 + 4 + 1 + 1)}{8 (8 ^ {2} - 1)} = \frac {31}{42} \approx 0.7381


**Answer**: ρ=31420.7381\rho = \frac{31}{42} \approx 0.7381.

Answer provided by https://www.AssignmentExpert.com

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS