无涯教程-JavaScript - AVEDEV函数

67 阅读1分钟

描述

AVEDEV函数返回数据点与其平均值的绝对偏差的平均值。 AVEDEV是数据集中变异性的量度。

语法

AVEDEV (number1, [number2] ...)

争论

Argument 描述 Required/Optional
Number1 1 to 255 arguments for which you want the average of the absolute deviations. Required
number2, ... You can also use a single array or a reference to an array instead of arguments separated by commas. Optional

Notes

  • 平均偏差方程为-

    $$\frac {1} {n}\sum\left | x-\bar {x}\right | $$

  • AVEDEV受输入数据中测量单位的影响。

  • 争论 must either be numbers or be names, arrays, or references that contain numbers.

  • 您直接在参数列表中键入的逻辑值和数字的文本表示形式将被计算在内。

  • 如果数组或引用参数包含文本,逻辑值或空单元格,则将忽略这些值。但是,包含值为零的像元。

  • AVEDEV函数不会将作为数组一部分提供的数字的文本表示形式解释为数值。

  • 如果提供给该函数的值都不是数字,则AVEDEV返回#DIV/0!错误。

  • 如果直接提供给函数的任何数字参数是非数字文本字符串,则AVEDEV返回#VALUE!错误。

适用性

Excel 2007,Excel 2010,Excel 2013,Excel 2016

Example

Avedev Function

参考链接

www.learnfk.com/javascript/…