# 学生t分布

**学生t分布**（Student's t-distribution）是一族连续概率分布，当从一个小样本中估计正态分布总体的均值、而标准差又必须从数据本身估计时，它便会出现。它和正态分布一样对称、呈钟形，但尾部更重，尾部的重程度由一个形状参数——自由度 \(\nu\)——控制。它是整个统计学中所用的t检验和基于t的置信区间的基础。<sup>[1](https://itl.nist.gov/div898/handbook/eda/section3/eda3664.htm)</sup>

| 关键事实 | 详情 |
|---|---|
| 密度 | \( f(x) = \frac{\Gamma((\nu+1)/2)}{\sqrt{\pi\nu}\,\Gamma(\nu/2)}\left(1+\frac{x^2}{\nu}\right)^{-(\nu+1)/2} \)，等价地也可将贝塔函数 \( B(0.5, 0.5\nu) \) 写在分母上<sup>[1](https://itl.nist.gov/div898/handbook/eda/section3/eda3664.htm)</sup><sup> • </sup><sup>[2](https://stat.ethz.ch/R-manual/R-devel/RHOME/library/stats/html/TDist.html)</sup> |
| 形状参数 | 自由度 \( \nu > 0 \)，在软件实现中不必为整数<sup>[2](https://stat.ethz.ch/R-manual/R-devel/RHOME/library/stats/html/TDist.html)</sup><sup> • </sup><sup>[3](https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.260-202.pdf)</sup> |
| 矩 | 均值为0（\( \nu = 1 \) 时无定义）；方差为 \( \nu/(\nu-2) \)，要求 \( \nu > 2 \)；偏度为0；峰度为 \( 3(\nu-2)/(\nu-4) \)<sup>[1](https://itl.nist.gov/div898/handbook/eda/section3/eda3664.htm)</sup> |
| 特例 | \( \nu = 1 \) 时即为柯西分布；随着 \( \nu \) 增大，分布趋近正态分布，当 \( \nu > 30 \) 时近似已相当好<sup>[1](https://itl.nist.gov/div898/handbook/eda/section3/eda3664.htm)</sup> |
| 起源 | 威廉·西利·戈塞特（William Sealy Gosset），吉尼斯公司首席实验酿酒师，因公司政策不允许使用真名，于1908年以笔名“Student”发表了这一推导<sup>[4](https://academic.oup.com/biomet/article-abstract/6/1/1/225634)</sup><sup> • </sup><sup>[5](https://pmc.ncbi.nlm.nih.gov/articles/PMC4885176/)</sup> |
| 典型临界值 | 对于 \( \alpha = 0.05 \) 的双侧检验，1个自由度时临界值为12.706，10个自由度时降至2.23，并随 \( \nu \) 增大趋近1.96<sup>[6](https://itl.nist.gov/div898/handbook/eda/section3/eda3672.htm)</sup><sup> • </sup><sup>[5](https://pmc.ncbi.nlm.nih.gov/articles/PMC4885176/)</sup> |
| 主要用途 | 总体标准差未知时均值的假设检验与置信区间；测量不确定度中的包含因子<sup>[1](https://itl.nist.gov/div898/handbook/eda/section3/eda3664.htm)</sup><sup> • </sup><sup>[7](https://www.nist.gov/pml/nist-technical-note-1297/nist-tn-1297-appendix-b-coverage-factors)</sup> |

## 定义与概率密度

t分布是整个实数轴上的一族单参数、对称的钟形分布。其概率密度为

\[ f(x) = \frac{\Gamma\left(\frac{\nu+1}{2}\right)}{\sqrt{\pi\nu}\,\Gamma\left(\frac{\nu}{2}\right)}\left(1+\frac{x^2}{\nu}\right)^{-(\nu+1)/2}, \]

其中 \( \Gamma \) 为伽马函数，\( \nu \) 为自由度参数。<sup>[2](https://stat.ethz.ch/R-manual/R-devel/RHOME/library/stats/html/TDist.html)</sup><sup> • </sup><sup>[8](https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.t.html)</sup> NIST手册将同一密度写作分母含贝塔函数 \( B(0.5, 0.5\nu) \) 的形式，并把 \( \nu \) 视为正整数形状参数。<sup>[1](https://itl.nist.gov/div898/handbook/eda/section3/eda3664.htm)</sup> 在检验语境中，该分布以标准化形式使用，不含位置或尺度参数；在建模语境中，则可通过位置参数 \( \mu \) 和尺度参数 \( \sigma \) 进行平移和缩放。<sup>[1](https://itl.nist.gov/div898/handbook/eda/section3/eda3664.htm)</sup>

该分布也可由两个更简单的分布构造出来。参数为 \( (\nu, \delta) \) 的非中心t分布是 \( T_{\nu}(\delta) = (U + \delta)/\sqrt{V/\nu} \) 的分布，其中 \( U \) 与 \( V \) 独立，\( U \) 为标准正态，\( V \) 为自由度为 \( \nu \) 的卡方分布；令 \( \delta = 0 \) 即得中心t分布。<sup>[2](https://stat.ethz.ch/R-manual/R-devel/RHOME/library/stats/html/TDist.html)</sup> 累积分布函数通过不完全贝塔函数表达，而分位函数没有简单的闭式形式，需用数值方法计算。<sup>[1](https://itl.nist.gov/div898/handbook/eda/section3/eda3664.htm)</sup><sup> • </sup><sup>[2](https://stat.ethz.ch/R-manual/R-devel/RHOME/library/stats/html/TDist.html)</sup>

## 起源

该分布以威廉·西利·戈塞特（William Sealy Gosset，1876–1937）发表论文时所用笔名命名。戈塞特是都柏林吉尼斯公司的首席实验酿酒师，公司政策禁止员工以真名发表文章，因此他1908年的论文《均值的或然误差》刊于《生物计量学》（*Biometrika*，第6卷第1期，第1–25页），署名仅为“Student”。<sup>[4](https://academic.oup.com/biomet/article-abstract/6/1/1/225634)</sup><sup> • </sup><sup>[5](https://pmc.ncbi.nlm.nih.gov/articles/PMC4885176/)</sup> 该文给出了来自正态或“并非严格正态”分布的样本中，样本均值以样本标准差为单位、相对总体均值度量的频率分布。<sup>[9](https://doi.org/10.1080/00031305.2018.1537891)</sup> “学生t分布”这一名称正反映了这一笔名作者身份。<sup>[10](https://analyticalsciencejournals.onlinelibrary.wiley.com/doi/full/10.1002/cem.2713)</sup>

1908年的论文并非这一数学结果的最早出现。一部数理统计学史记载，雅各布·吕罗特（Jakob Lüroth）于1876年首次给出t分布的推导，而在Student之前，赫尔默特（Helmert，1875–1876）和皮尔逊（Pearson，1895）也推导过该密度。<sup>[11](https://old.maa.org/press/maa-reviews/classic-topics-on-the-history-of-modern-mathematical-statistics-from-laplace-to-more-recent-times)</sup><sup> • </sup><sup>[12](https://www.math.csi.cuny.edu/~mvj/MTH410/lectures/L07.html)</sup> 戈塞特的贡献在于将该分布与均值的小样本推断联系起来，他后来还与罗纳德·费希尔（Ronald Fisher）合作，研究适用于极小样本量的方法。<sup>[12](https://www.math.csi.cuny.edu/~mvj/MTH410/lectures/L07.html)</sup>

## 在t检验中的作用

该分布的统计学作用来自t统计量的行为。z检验和t检验都假定数据独立地抽自正态分布，但二者对总体标准差 \( \sigma \) 的假定不同：z检验假定 \( \sigma \) 已知，而t检验必须从样本中以 \( s \) 估计它。检验统计量为

\[ z = \frac{\bar{x} - \mu}{\sigma/\sqrt{n}}, \qquad t = \frac{\bar{x} - \mu}{s/\sqrt{n}}. \]

在总体均值为 \( \mu \) 的原假设下，z统计量服从标准正态分布，而t统计量服从自由度为 \( n - 1 \) 的学生t分布。对于小样本，t分布比标准正态更平坦、更宽，以补偿对估计值 \( s \) 的信心的下降。<sup>[13](https://www.mathworks.com/help/stats/hypothesis-test-assumptions.html)</sup> 同样的构造也是均值置信区间的基础：当从 \( \sigma \) 未知的近似正态总体中抽样时，t分数 \( t = (\bar{x} - \mu)/(s/\sqrt{n}) \) 服从自由度为 \( n-1 \) 的学生t分布。<sup>[14](https://dlib.hust.edu.vn/bitstream/HUST/22811/2/OER000002013-2.pdf)</sup>

**双样本检验。** 为比较两个独立样本均值，经典的学生t检验将均值差除以合并误差项，并使用 \( \mathrm{df} = n_1 + n_2 - 2 \) 个自由度，这假定两个总体具有共同方差。<sup>[15](https://rips-irsp.com/articles/10.5334/irsp.82)</sup><sup> • </sup><sup>[16](https://www.itl.nist.gov/div898/handbook/eda/section3/eda353.htm)</sup> 当方差或样本量不相等时，韦尔奇–萨特思韦特（Welch–Satterthwaite）公式给出近似自由度

\[ \nu = \frac{\left(s_1^2/N_1 + s_2^2/N_2\right)^2}{\left(s_1^2/N_1\right)^2/(N_1-1) + \left(s_2^2/N_2\right)^2/(N_2-1)}, \]

该式在样本量不等或方差不相等时表现稳健。<sup>[16](https://www.itl.nist.gov/div898/handbook/eda/section3/eda353.htm)</sup> 韦尔奇于1947年提出这一分离方差检验，作为涉及多个不同总体方差时对Student问题的推广。<sup>[15](https://rips-irsp.com/articles/10.5334/irsp.82)</sup>

**稳健性。** t检验对其假定有一定偏离的容忍度。它对中等程度的非正态偏离是稳健的，因此在大样本下所得的P值仍可有效解释。<sup>[17](https://www.bmj.com/about-bmj/resources-readers/publications/statistics-square-one/7-t-tests)</sup> 一项针对极小样本的蒙特卡洛研究发现，在样本量相等时，双样本t统计量对正态性假定比单样本统计量更稳健。<sup>[18](https://www.sciencedirect.com/science/article/abs/pii/0167947388900618)</sup> 针对学生t、F和韦尔奇统计量的尾部近似已被开发出来，即使没有正态性或分布相同的前提，在样本量很小时仍保持准确，其应用包括重复数可能少至两到五次的高通量筛选。<sup>[19](https://arxiv.org/abs/1410.6033)</sup>

## 形状、尾部及与正态分布的关系

该族所有成员都关于零对称，在标准化形式下均值、中位数和众数均为0，不过 \( \nu = 1 \) 时均值无定义。<sup>[1](https://itl.nist.gov/div898/handbook/eda/section3/eda3664.htm)</sup> 标准差为 \( \sqrt{\nu/(\nu-2)} \)，在 \( \nu = 1 \) 或2时无定义；峰度为 \( 3(\nu-2)/(\nu-4) \)，在 \( \nu \le 4 \) 时无定义。<sup>[1](https://itl.nist.gov/div898/handbook/eda/section3/eda3664.htm)</sup>

其标志性的视觉特征是尾部比高斯分布更重。在相同中位数和尺度下比较，学生t分布偏离中位数较大的概率高于高斯分布，且自由度越小，尾部越重。<sup>[3](https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.260-202.pdf)</sup> 两个极限情形界定了该族的范围：\( \nu = 1 \) 时t分布恰为柯西分布；\( \nu \) 变大时它趋近正态分布，当 \( \nu > 30 \) 时近似已相当好。<sup>[1](https://itl.nist.gov/div898/handbook/eda/section3/eda3664.htm)</sup> 这一收敛直接体现在临界值上：随着自由度增加，双侧5%临界值趋近1.96，即相应的正态值。<sup>[5](https://pmc.ncbi.nlm.nih.gov/articles/PMC4885176/)</sup> NIST的数值表以数字展示了同样的趋近过程：从 \( \nu = 1 \) 时的12.706，降到 \( \nu = 100 \) 时的1.984，并在正态极限下为1.960。<sup>[20](https://www.nist.gov/document/nistir69692014092620150624revpdf)</sup>

## 在测量不确定度中的应用

计量学系统地使用了该分布。NIST关于表达测量不确定度的指南建议，将包含因子 \( k_p \) 计算为t分布的百分位数 \( t_p(\nu_{\mathrm{eff}}) \)，其中合成标准不确定度的有效自由度 \( \nu_{\mathrm{eff}} \) 用韦尔奇–萨特思韦特公式估计。这一程序之所以存在，是因为标准差估计本身的不确定度也有影响：若 \( \nu_{\mathrm{eff}} \) 小于约11，对95%区间而言简单取 \( k = 2 \) 可能不够；当 \( \nu_{\mathrm{eff}} = 8 \) 时，表中给出 \( k_{95} = 2.3 \) 而非2.0。<sup>[7](https://www.nist.gov/pml/nist-technical-note-1297/nist-tn-1297-appendix-b-coverage-factors)</sup> NIST标准物质证书同样用经过缩放和平移的学生t分布来刻画不确定度；其中一个例子为某质量分数指定了自由度为12.7（一个非整数值）的t分布。<sup>[3](https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.260-202.pdf)</sup>

## 软件实现

大多数通用统计软件都支持t分布的概率函数。<sup>[1](https://itl.nist.gov/div898/handbook/eda/section3/eda3664.htm)</sup> 在R中，`dt`、`pt`、`qt` 和 `rt` 分别给出密度、累积分布函数、分位函数和随机生成，其 `df` 参数可以是非整数，并可选非中心性参数。<sup>[2](https://stat.ethz.ch/R-manual/R-devel/RHOME/library/stats/html/TDist.html)</sup> SciPy以 `scipy.stats.t` 提供同一族分布，其 `df` 满足 \( \nu > 0 \)，并有 `loc` 和 `scale` 参数用于平移和缩放。<sup>[8](https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.t.html)</sup> 临界值也在标准参考书中列表给出，包括NIST/SEMATECH电子手册的上侧临界值表。<sup>[21](https://www.itl.nist.gov/div898/handbook/eda/section3/eda367.htm)</sup>

## References

1. [1.3.6.6.4. t Distribution, NIST/SEMATECH e-Handbook of Statistical Methods](https://itl.nist.gov/div898/handbook/eda/section3/eda3664.htm)
2. [R: The Student t Distribution (TDist), R stats package documentation](https://stat.ethz.ch/R-manual/R-devel/RHOME/library/stats/html/TDist.html)
3. [Evaluating, Expressing, and Propagating Measurement Uncertainty for NIST Reference Materials, NIST Special Publication 260-202](https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.260-202.pdf)
4. [Student (1908). The Probable Error of a Mean. Biometrika 6(1): 1–25](https://academic.oup.com/biomet/article-abstract/6/1/1/225634)
5. [Biostatistics Series Module 3: Comparing Groups: Numerical Variables, Journal of Indian Dermatology Online (PMC4885176)](https://pmc.ncbi.nlm.nih.gov/articles/PMC4885176/)
6. [1.3.6.7.2. Critical Values of the Student's t Distribution, NIST/SEMATECH e-Handbook](https://itl.nist.gov/div898/handbook/eda/section3/eda3672.htm)
7. [NIST TN 1297: Appendix B. Coverage Factors](https://www.nist.gov/pml/nist-technical-note-1297/nist-tn-1297-appendix-b-coverage-factors)
8. [scipy.stats.t, SciPy v1.18.0 Manual](https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.t.html)
9. [Before p < 0.05 to Beyond p < 0.05: Using History to Contextualize p-Values and Significance Testing, The American Statistician](https://doi.org/10.1080/00031305.2018.1537891)
10. [Brereton (2015). The t-distribution and its relationship to the normal distribution. Journal of Chemometrics](https://analyticalsciencejournals.onlinelibrary.wiley.com/doi/full/10.1002/cem.2713)
11. [Classic Topics on the History of Modern Mathematical Statistics, MAA review](https://old.maa.org/press/maa-reviews/classic-topics-on-the-history-of-modern-mathematical-statistics-from-laplace-to-more-recent-times)
12. [MTH410 Lecture 7: Confidence Intervals, Small Sample, College of Staten Island CUNY](https://www.math.csi.cuny.edu/~mvj/MTH410/lectures/L07.html)
13. [Hypothesis Test Assumptions, MATLAB & Simulink, MathWorks](https://www.mathworks.com/help/stats/hypothesis-test-assumptions.html)
14. [Introductory Statistics, Open textbook (HUST library record)](https://dlib.hust.edu.vn/bitstream/HUST/22811/2/OER000002013-2.pdf)
15. [Delacre et al. (2017). Why Psychologists Should by Default Use Welch's t-test Instead of Student's t-test. International Review of Social Psychology](https://rips-irsp.com/articles/10.5334/irsp.82)
16. [1.3.5.3. Two-Sample t-Test for Equal Means, NIST/SEMATECH e-Handbook](https://www.itl.nist.gov/div898/handbook/eda/section3/eda353.htm)
17. [7. The t tests, Statistics at Square One, BMJ](https://www.bmj.com/about-bmj/resources-readers/publications/statistics-square-one/7-t-tests)
18. [The sensitivity of the one-sample and two-sample Student t statistics, Computational Statistics & Data Analysis](https://www.sciencedirect.com/science/article/abs/pii/0167947388900618)
19. [Tail approximations for the Student t-, F-, and Welch statistics for non-normal and not necessarily i.i.d. random variables, arXiv:1410.6033](https://arxiv.org/abs/1410.6033)
20. [NISTIR 6969, table of t-distribution coverage factors](https://www.nist.gov/document/nistir69692014092620150624revpdf)
21. [1.3.6.7. Tables for Probability Distributions, NIST/SEMATECH e-Handbook](https://www.itl.nist.gov/div898/handbook/eda/section3/eda367.htm)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026; Oct 15, 2026 · Edited: Sep 30, 2026; Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Probability theory › Probability distributions › Distribution families and classification › Continuous univariate distribution families

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/students-t-distribution

English original: https://www.edgepedia.org/students-t-distribution
