14 - Repeating Spearman Rank Correlation Calculation
14 - Repeating Spearman Rank Correlation Calculation
Y , respectively.
Step 3: Compute d2
Square each d.
6 ∑ d2
rs = 1 −
n(n2 − 1)
where:
The calculated Spearman's rank correlation coefficient (rs ) is approximately 0.752. This
1/2
X Y Rank X Rank Y d (Rank Difference) d2
48 13 8.0 5.5 2.5 6.25
The total ∑ d2 is 41.0, and using n = 10, the formula yields rs = 0.752.
2/2