Spearman秩相关系数计算器公式

Spearman Rank Correlation

rho = 1 - 6*Sum(d^2)/[n(n^2-1)]

Measures monotonic relationship between ranked variables.

计算示例

10 pairs, Sum d^2=20.

  1. rho = 1 - 120/990 = 0.8788