standard_score 函数
计算单个数值相对于参考数据的 z 分数。
语法
Statistics:-StandardScore(value, list)Student:-Statistics:-StandardScore(value, list)standard_score(value, list)
参数与选项
value | 要标准化的数值。 |
|---|---|
list | 形如 [1, 2, 3] 的列表字面量。 |
示例
- 单个标准分数
Statistics:-StandardScore(3, [1, 2, 3])返回约 1.22474487139。 - Student 包形式
Student:-Statistics:-StandardScore(3, [1, 2, 3])返回约 1.22474487139。