样本方差计算器

Sample Variance Calculator (Data List)

Enter a comma- or space-separated list of numbers to compute the sample variance s2 = sum(x - xbar)2 / (n - 1), the squared standard deviation used in statistical description and ANOVA.

📐 计算公式
s² = Σ(xᵢ − x̄)² / (n − 1)

输入多个数值(逗号或空格分隔),求样本方差。

📌 计算说明
  • 样本方差分母为 n−1(无偏)。
  • 2,4,4,4,5,5,7,9 → 4.571。

📚 深度解析:方差(样本)

💡 常见使用场景

数据 [2,4,6,8]
x̄=5;s²=(9+1+1+9)/3=20/3≈6.667(标准差 s≈2.582)。
零方差
[5,5,5]:s²=0。

❓ 常见问题(FAQ)

方差为何平方?
消除偏差正负抵消、惩罚离群,但量纲变为原单位平方,故常开方回标准差。
样本还是总体?
本工具用 n−1(样本方差),若需总体方差请另用总体方差工具。