Spearman 命令
- Spearman( <List of Points> )
-
返回 斯皮尔曼等级相关系数 列表中各点的 x 坐标和 y 坐标的
设
list = {(-3, 4), (-1, 4), (-2, 3), (1, 3), (2, 2), (1, 5)}
为一个点列表。
Spearman(list)
得出
a
= -0.37
.
- Spearman( <List of Numbers>, <List of Numbers> )
-
返回两个列表的斯皮尔曼等级相关系数。
设
list1 = {3, 2, 4, 5, 1, 6, 8, 9}
和
list2 = {5, 6, 8, 2, 1, 3, 4, 7}
为两个列表。
Spearman(list1, list2)
得出
a = 0.24
.