描述

STDEVPA函数根据作为参数给出的总体(包括文本和逻辑值)计算标准偏差。

语法

STDEVPA (value1, [value2] ...)

争论

Argument 描述 Required/Optional
Value1

1到255对应于总体的值。

您也可以使用单个数组或对数组的引用,而不要使用以逗号分隔的参数。

Required
Value 2,... optional

Notes

  • STDEVPA使用以下公式-

    $$\sqrt {\frac {\sum \left(x- \bar {x} \right)^ 2} {n}} $$

    其中x是样本均值AVERAGE(值1,值2…),n是样本量。

  • STDEVPA假定其论点是整个人群。如果数据代表总体样本,则必须使用STDEVA计算标准差。

  • 对于大样本量,STDEVA和STDEVPA返回近似相等的值。

  • 使用" n"方法计算标准偏差。

  • 争论 can be the following: numbers; names, arrays, or references that contain numbers; text representations of numbers; or logical values, such as TRUE and FALSE, in a reference.

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

  • 争论 that contain TRUE evaluate as 1. 争论 that contain text or FALSE evaluate as 0 (zero).

  • 如果参数是数组或引用,则仅使用该数组或引用中的值。数组或引用中的空单元格和文本值将被忽略。

  • 争论 that are error values or text that cannot be translated into numbers cause errors.

  • 如果您不希望在引用中包括逻辑值和数字的文本表示作为计算的一部分,请使用STDEVP函数。

适用性

Excel 2007,Excel 2010,Excel 2013,Excel 2016

Example

Stdevpa Function

参考链接

https://www.learnfk.com/javascript/advanced-excel-statistical-stdevpa-function.html