如何计算Two-Sample t-Test
learn.whatIsHeading
The t-test determines whether the means of two groups are statistically different. The independent (two-sample) t-test compares two separate groups; the paired t-test compares the same subjects under two conditions. Developed by William Gosset ('Student') at Guinness Brewery.
分步指南
- 1t = (x̄₁ − x̄₂) / √(s₁²/n₁ + s₂²/n₂)
- 2x̄ = group mean · s² = variance · n = sample size
- 3df calculated by Welch-Satterthwaite equation
- 4Compare t-statistic to t-distribution at given df and α
例题解析
输入
Group 1: mean=10, SD=2, n=20 · Group 2: mean=8, SD=2.5, n=20
结果
t = 2.94 · p ≈ 0.005 → significant
Reject null hypothesis at p<0.05
准备好计算了吗?尝试免费的 Two-Sample t-Test 计算器
自己尝试一下 →