数学建模(5.5)相关系数_斯皮尔曼相关系数 X和Y为两组数据,其斯皮尔曼相关系数为: r s = 1 − 6 ∑ i = 1 n d i 2 n ( x 2 − 1 ) r_s=1-\frac{6\sum_{i=1}^nd_i^2}{n(x^2-1)} rs=1−n(x2−1)6∑i=1n