The formula for $r_{S}$ is given by:
\[r_{S} = 1 - \frac{6 \sum_{i=1}^{n} d_{i}^{2}}{n(n^{2}-1)}\]
where $d_{i}$ is the difference in ranks for each observation, $n$ is the number of observations.
According to the explanation, the calculated value of $r_{S}$ is
Show more…