Spearman's rank correlation coefficient - Wikipedia
https://en.wikipedia.org/wiki/Spearman's_rank_correlation_coefficient• R's statistics base-package implements the test cor.test(x, y, method = "spearman") in its "stats" package (also cor(x, y, method = "spearman") will work.• Stata implementation: spearman varlist calculates all pairwise correlation coefficients for all variables in varlist.• MATLAB implementation: [r,p] = corr(x,y,'Type','Spearman') where r is the Spearman's rank correlation coefficient, p is the p-value, and x and y are vectors.
Spearman's Rho Calculator (Correlation Coefficient)
www.socscistatistics.com › tests › spearmanSpearman's Rho Calculator. Spearman's Rho is a non-parametric test used to measure the strength of association between two variables, where the value r = 1 means a perfect positive correlation and the value r = -1 means a perfect negataive correlation. So, for example, you could use this test to find out whether people's height and shoe size are correlated (they will be - the taller people are, the bigger their feet are likely to be).