📊 Standard Deviation and Variance Calculator
Enter a set of values and choose sample or population to compute standard deviation, variance and the coefficient of variation, comparing dispersion across different units.
📐 計算公式 / 原理
方差 s² = Σ(xᵢ − x̄)² / (n − 1 或 n);標準差 s = √s²;CV = s / |x̄| × 100%
先求均值 x̄,再算各值離差平方和,除以自由度即得方差:樣本用 n − 1(無偏估計),總體用 n。標準差為方差開平方,與原資料同量綱;變異係數 CV 用標準差除以均值絕對值乘 100%,便於跨量綱比較。資料項可貼上、增刪;按實際有效數量 n 計算,空白項自動忽略。樣本取分母 n − 1,總體取分母 n;樣本至少需要 2 項。
📐 計算公式與說明
方差 s² = Σ(x − x̄)² / (n − 1)(樣本)或 n(總體)
標準差 = √方差
標準差 = √方差
型別填 1 為樣本標準差,填 2 為總體標準差。