Spearman’s rank correlation coefficient is denoted as ρs
for a population parameter and as rs for a sample statistic.
It is appropriate when one or both variables are skewed
or ordinal1and is robust when extreme values are present.
For a correlation between variables x and y, the formula for
calculating the sample Spearman’s correlation coefficient is
given by