Enter the sample mean, hypothesised mean, standard deviation and sample size to compute the t statistic for a mean hypothesis test.
输入样本均值 x̄、假设均值 μ、标准差 s 与样本量 n,求 t 统计量。
| Item | Formula / Note | Source / Standard |
|---|---|---|
| t statistic | t = (xbar - mu0) / (s / sqrt(n)) | Student (1908), The probable error of a mean, Biometrika 6(1) |
| Difference from z | When sigma is unknown, s replaces sigma and the statistic follows a t distribution | Student (1908); NIST/SEMATECH e-Handbook §1.3.5.2 |
| Degrees of freedom | df = n - 1 | NIST/SEMATECH e-Handbook of Statistical Methods §1.3.5.2 |
| Limiting behavior | As n grows, the t distribution converges to the standard normal | NIST/SEMATECH e-Handbook of Statistical Methods, t distribution |