獨立雙樣本 t 檢驗計算器

Independent Two-Sample t-Test Calculator

📐 計算公式
t = (x̄₁−x̄₂)/√(s_p²(1/n₁+1/n₂))
獨立雙樣本 t 統計量用兩組均值之差除以合併標準誤,衡量兩組總體均值是否有顯著差異。合併方差 s_p² 按兩組樣本量加權平均,自由度 df = n₁ + n₂ − 2。|t| 越大,越傾向拒絕「兩組均值相等」的原假設。

Enter two independent samples (means, standard deviations and sizes) to compute the t value and p value and test whether the two population means differ significantly.

📌 計算說明
  • 要求兩組方差齊。
  • 方差不齊應 Welch 校正。

📚 深度解析:獨立樣本 t 檢驗

💡 常見使用場景

兩組比較
m1=85、m2=80、sp=10、n1=n2=30:t=5/√(100×(2/30))=5/√6.667=5/2.582≈1.936,df=58。|t|>2.00 臨界才顯著(此處邊緣)。
差異更大
m1−m2=10:t=10/2.582≈3.87,df=58 顯著(p<0.001)。

❓ 常見問題(FAQ)

方差不齊怎麼辦?
用 Welch t 檢驗(df 經 Welch-Satterthwaite 校正),更穩健,多數軟體預設。
t 與 z 檢驗區別?
σ 未知用小樣本 t(用 s、t 分佈);σ 已知或大樣本用 z。