F = s₁² / s₂²
Enter two sample variances and their sample sizes (df = n−1) to compute the F statistic, two-sided p value and upper critical value and test whether two population variances are equal.
📐 計算公式
雙樣本方差 F 檢驗:F = s₁² ÷ s₂²,自由度 df₁ = n₁−1、df₂ = n₂−1;右尾/左尾機率由不完全 Beta 函式 betai 數值求出,雙側 p = 2×min(右尾,左尾),輸出截到 ≤1。校驗:s₁、s₂、n₁、n₂ 四項非空守衛,結果表另要求方差 >0 且樣本量 ≥2 的整數。判據:p <0.05 判「方差不齊(差異顯著)」,否則「未見方差不齊」;附 α=0.05 雙側 F 上臨界值對照表(右尾 2.5%,SD 比 = √F),搜尋上界動態擴充套件並檢查收斂。
檢驗兩總體方差是否相等。
Formula & Standard References
| Item | Formula / Note | Source / Standard |
|---|---|---|
| F statistic | F = s1^2 / s2^2 (larger variance conventionally placed in the numerator) | Fisher RA, Statistical Methods for Research Workers (1925) |
| Degrees of freedom | df1 = n1 - 1, df2 = n2 - 1 | NIST/SEMATECH e-Handbook of Statistical Methods §1.3.5.9 |
| Critical value | Reject when F > F(1 - alpha; df1, df2) for a right-tailed test | NIST/SEMATECH e-Handbook of Statistical Methods, F distribution |
| Assumptions | Both populations approximately normal and samples independent; not robust to non-normality | NIST/SEMATECH e-Handbook of Statistical Methods §1.3.5.9 |
📌 計算說明
- 通常取較大方差作分子。
- 雙側 p = 2·min(右尾,左尾)。