Rank Correlation: Spearman Coefficient, Methods, Formula ...
www.toppr.com › rank-correlationKarl Pearson’s Coefficient of Correlation; Scatter Diagram; The Formula for Spearman Rank Correlation $$ r_R = 1 – \frac{6\Sigma_i {d_i}^2}{n(n^2 – 1)} $$ where n is the number of data points of the two variables and d i is the difference in the ranks of the i th element of each random variable considered. The Spearman correlation coefficient, ρ, can take values from +1 to -1.