配对 t 检验计算器

t = d̄ / (s_d/√n), df=n−1

Enter paired measurements of the same subjects (e.g. before and after treatment) to compute the mean and SD of differences and test whether the difference is non-zero, returning t, df and p.

📐 计算公式
df=n−1。

对同一对象前后/配对测量的差值进行检验。

📌 计算说明
  • 用于前后对照实验。
  • df=n−1。

📚 深度解析:配对样本 t 检验

💡 常见使用场景

前后测
差值均值 d̄=3、差值 sd=4、n=20:t=3/(4/√20)=3/0.894≈3.354,df=19。临界≈2.093,显著(p<0.01),干预有效。
无效应
d̄=0.5:t=0.5/0.894≈0.56,不显著。

❓ 常见问题(FAQ)

为何用配对而非独立 t?
配对控制个体基线差异,误差更小、功效更高;前提是同一对象前后或配对设计。
差值需正态?
要求差值近似正态,n 大时中心极限可放宽。