MathTop

standard_score 函数

计算单个数值相对于参考数据的 z 分数。

语法

  • Statistics:-StandardScore(value, list)
  • Student:-Statistics:-StandardScore(value, list)
  • standard_score(value, list)

参数与选项

value要标准化的数值。
list形如 [1, 2, 3] 的列表字面量。

示例

  1. 单个标准分数Statistics:-StandardScore(3, [1, 2, 3])返回约 1.22474487139。
  2. Student 包形式Student:-Statistics:-StandardScore(3, [1, 2, 3])返回约 1.22474487139。