In Spearman’s rank correlation coefficient \(\rm r_s=1-\frac{6\Sigma_{i=1}^n d_i^2}{n(n^2-1)}\), the maximum value of \(\rm \Sigma_{i=1}^nd_i^2\) in case of untied ranks is:
1
n
2
\(\rm \frac{1}{2}(n^2-1)\)
3
\(\rm \frac{1}{4}n(n^2-1)\)
4
\(\rm \frac{1}{3}n(n^2-1)\)