🔬 One-Sample t Statistic Calculator
Enter the sample mean, hypothesised population mean, sample standard deviation and sample size to compute the one-sample t statistic (xbar - mu)/(s/sqrt(n)) and its degrees of freedom.
📐 计算公式 / 原理
单样本 t 统计量(本页代码口径):t=(x̄−μ₀)÷(s÷√n);自由度 df=n−1;差值=x̄−μ₀。校验:四字段经输入守卫必填且须为合法数值,否则提示并中止。判据:无固定分级,t 与差值同号,s 越小或 n 越大 |t| 越大。
单样本 t 统计量衡量样本均值 x̄ 偏离假设总体均值 μ₀ 的程度,以标准误 s/√n 为标尺。|t| 越大表示样本均值偏离假设值的证据越强;自由度 df = n − 1 用于查 t 分布临界值。本页同时给出原始差值 x̄ − μ₀。
📐 计算公式与说明
t 统计量判读(与上式互补):分母 s÷√n 即均值标准误,t 本质是差值以标准误为单位度量的倍数;df=n−1 决定所查 t 分布形状。校验:与上方一致,经输入守卫必填且合法。判据:无固定分级,|t| 越大越难用抽样波动解释均值差,df 越大 t 分布越接近标准正态。
|t| 越大,拒绝原假设的证据越强。