根据样本估算方差(忽略样本中的逻辑值和文本)。
VAR.S (number1,[number2],...)
Argument | 描述 | Required/Optional |
---|---|---|
Number1 | The first number argument corresponding to a sample of a population. | Required |
Number2, ... | Number arguments 2 to 254 corresponding to a sample of a population. | Optional |
VAR.S使用以下公式-
$$\frac {\sum \left(x- \bar {x} \right)^ 2} {\left(n-1 \right)} $$
其中x是样本均值AVERAGE(数字1,数字2,…),n是样本大小。
VAR.S假设其参数是总体样本。如果您的数据代表整个总体,则使用VAR.P计算方差
争论 can either be numbers or names, arrays, or references that contain numbers.
逻辑值和直接在参数列表中键入的数字的文本表示形式都将计算在内。
如果参数是数组或引用,则仅计算该数组或引用中的数字。数组或引用中的空单元格,逻辑值,文本或错误值将被忽略。
争论 that are error values or text that cannot be translated into numbers cause errors.
如果要在引用中包括逻辑值和数字的文本表示作为计算的一部分,请使用VARA函数。
来源:LearnFk无涯教程网
如果提供给函数的数值少于2个,则VAR.S返回#DIV/0!错误值。
如果直接提供给函数的任何值是无法解释为数字值的文本值,则VAR.S返回#VALUE!。错误值。
Excel 2010,Excel 2013,Excel 2016
祝学习愉快!(内容编辑有误?请选中要编辑内容 -> 右键 -> 修改 -> 提交!)