Pooled Variance Calculator
Enter two sample sizes and standard deviations to compute the pooled variance as a weighted average, used for the equal-variance assumption before a two-sample t-test.
📐 計算公式
s_p² = [(n₁−1)s₁² + (n₂−1)s₂²] / (n₁+n₂−2)
輸入兩組樣本量 n₁、n₂ 與標準差 s₁、s₂,求等方差模型下的合併方差 s_p²。
Formula & Standard References
| Item | Formula / Note | Source / Standard |
|---|---|---|
| Pooled variance (two groups) | s_p^2 = ((n1-1)s1^2 + (n2-1)s2^2) / (n1 + n2 - 2) | NIST/SEMATECH e-Handbook of Statistical Methods §1.3.5.3 |
| Pooled variance (k groups) | s_p^2 = sum(n_i - 1)s_i^2 / sum(n_i - 1) | NIST/SEMATECH e-Handbook of Statistical Methods §1.3.5.3 |
| Use in two-sample t-test | SE = s_p · sqrt(1/n1 + 1/n2) | Student (1908), The probable error of a mean, Biometrika 6(1) |
| Homogeneity assumption | Pooling is valid only under homogeneity of variance (Levene or Bartlett test) | Levene H. (1960); Bartlett MS (1937), Properties of sufficiency... |
📌 計算說明
- 兩樣本 t 檢驗假定等方差時使用;方差不齊請用 Welch t,不要用合併方差強行“校正”。
- (9·4+11·9)/20 → 6.75。