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