SpearmanKorrelation
SpearmanKorrelation, commonly called Spearman's rank correlation coefficient, is a nonparametric measure of statistical dependence between two variables. It assesses how well the relationship between the variables can be described by a monotonic function, either increasing or decreasing.
Calculation involves ranking the data: replace each observation with its rank within its variable. If ties
Range is from −1 to +1. Values near +1 indicate a strong increasing monotonic relationship, values near
SpearmanKorrelation differs from Pearson correlation, which measures linear correlation and assumes interval data and normality. Spearman
Applications include psychology, biology, economics, and data science, where researchers seek to detect monotonic associations, perform