I just need some clarification regarding the interpretation of the Spearman's Rank Correlation Coefficient output in R. I am currently determining correlations over a tri-nominal temporal scale in an ecological setting. My basic code is as below:
cor.test(v1,v2,method="spearman")
and the example output is as follows:
Spearman's rank correlation rho
data: v1 and v2 S = 466770, p-value = 0.4601 alternative hypothesis: true rho is not equal to 0 sample estimates: rho 0.06203443
I understand the output for the rho and p values however i cannot find a definitive answer for what 'S' is? Am i required to report this value? Any clarification will be much welcomed.
Thanks
(n ^ 3 - n) * (1 - r) / 6
, weren
is equal to the sample size of variables andr
is equal to the correlation coefficient (rho) for calculting the S statistic, they do not explain how to interpret the results. I have yet to find a clear answer :( $\endgroup$