根据样本估算方差(忽略样本中的逻辑值和文本)。
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.
逻辑值和直接在参数列表中键入的数字的文本表示形式都将计算在内。
如果参数是数组或引用,则仅计算该数组或引用中的数字。数组或引用中的空单元格,逻辑值,文本或错误值将被忽略。
链接:https://www.learnfk.com/javascript/advanced-excel-statistical-vars-function.html
来源:LearnFk无涯教程网
争论 that are error values or text that cannot be translated into numbers cause errors.
如果要在引用中包括逻辑值和数字的文本表示作为计算的一部分,请使用VARA函数。
如果提供给函数的数值少于2个,则VAR.S返回#DIV/0!错误值。
如果直接提供给函数的任何值是无法解释为数字值的文本值,则VAR.S返回#VALUE!。错误值。
Excel 2010,Excel 2013,Excel 2016
这一章《JavaScript - VAR.S 函数》你学到了什么?在下面做个笔记吧!做站不易,你的分享是对我们最大的支持
深入拆解Tomcat & Jetty -〔李号双 - 45讲〕
为什么我的 Select 的 MenuProps 中的 PaperProps 中的样式不适...
'addEventListener' 和 'onclick' 仅适用于 'window' 元素,而不...
useContext 给出 App.js:24 Uncaught TypeError: undefined is n...