📊 Statistics Calculator

Compute descriptive statistics, a frequency distribution and a histogram, including sample variance, for data analysis and teaching.

📐 計算公式 / 原理
Descriptive statistics (page-code conventions; data separated by commas, spaces, newlines or semicolons): mean x̄=Σx÷n; variance=Σ(x−x̄)²÷(n−1) for a sample or ÷n for a population; s=√variance; SE=s÷√n; Q1/Q3 use (n−1)p linear interpolation and IQR=Q3−Q1; skewness and kurtosis are given for both sample and population (kurtosis is excess kurtosis). Validation: no valid data shows "Please enter data"; sample type with n<2 shows "Sample variance needs at least 2 data points". Interpretation: skewness>0 right-skewed, <0 left-skewed; kurtosis>0 peak heavier/taller than normal, <0 flatter; skewness≈0 or kurtosis≈0 only means the sample moment is near the reference value, not proof of symmetry or normality. Histogram bin count uses Sturges ⌈log₂n+1⌉ clamped to [1,50].
Descriptive statistics: mean, sample variance and standard deviation, range, median and quartiles. Sample variance uses n−1 (Bessel correction) for an unbiased estimate; population variance uses N.
Statistics keep at most 3 decimals; nonzero values below 0.001 keep 6 significant digits, and absolute values below 1e-6 use scientific notation.

📚 深度解析:統計計算器

💡 常見使用場景

  • 描述統計與推斷一鍵算。
  • 一站式得到描述統計量與常用檢驗統計量。
計算
[2,4,6,8] 均值 5、方差 6.67(樣本)。

❓ 常見問題(FAQ)

偏度峰度?
描述分佈不對稱與尖峭程度。
偏度為 0 就是正態嗎?
不一定,還需結合峰度與分佈圖綜合判斷。

Formula & Standard References

Item Formula / Note Source / Standard
Descriptive stats mean x̄=Σx/n; sd s=√(Σ(x−x̄)²/(n−1)) ISO 3534-1 Statistics vocabulary
⚠️ 使用說明與注意事項