# 顺序统计量

顺序统计量是将随机样本按递增顺序排列后得到的值：对于样本 \( X_1, \ldots, X_n \)，第 j 个顺序统计量 \( X_{(j)} \) 是第 j 小的值，因此 \( X_{(1)} \le \cdots \le X_{(n)} \)。由于它们是样本的函数，每个顺序统计量本身就是一个具有自身分布的随机变量，而这些分布的理论构成了样本中位数、样本分位数、截尾均值、样本极差以及极值分析的基础。<sup>[1](https://www.stat.berkeley.edu/~aditya/resources/FullLectureNotes201AFall2019.pdf)</sup><sup> • </sup><sup>[2](https://encyclopediaofmath.org/wiki/Order_statistic)</sup>

| 关键事实 | 细节 |
|---|---|
| 定义 | \( X_{(1)} \le \cdots \le X_{(n)} \) 是按递增顺序排列的样本值；\( X_{(1)} \) 是最小值，\( X_{(n)} \) 是最大值<sup>[1](https://www.stat.berkeley.edu/~aditya/resources/FullLectureNotes201AFall2019.pdf)</sup> |
| 联合密度（独立同分布的连续情形） | 当 \( u_1 < \cdots < u_n \) 时，\( f_{X_{(1)},\ldots,X_{(n)}}(u_1,\ldots,u_n) = n!\, f(u_1) \cdots f(u_n) \)，否则为 0<sup>[3](https://www.math.mcgill.ca/dstephens/556-2019/Handouts/Math556-14-OrderStatistics.pdf)</sup> |
| \( X_{(j)} \) 的边缘密度 | \( f_{X_{(j)}}(x) = \dfrac{n!}{(j-1)!(n-j)!} \{F(x)\}^{j-1} \{1-F(x)\}^{n-j} f(x) \)<sup>[3](https://www.math.mcgill.ca/dstephens/556-2019/Handouts/Math556-14-OrderStatistics.pdf)</sup> |
| 最小值与最大值 | 对于累积分布函数为 \( F \) 的独立同分布变量，\( F_{X_{(1)}}(x) = 1-(1-F(x))^n \)，\( F_{X_{(n)}}(x) = F(x)^n \)<sup>[4](https://www2.stat.duke.edu/~cr173/Sta111_Su14/Lec/Lec10.pdf)</sup> |
| 术语 | 若 \( k/n \) 趋于一个严格介于 0 与 1 之间的极限，则 \( X_{(k)} \) 是中心顺序统计量；若极限为 0 或 1，则是极端顺序统计量<sup>[2](https://encyclopediaofmath.org/wiki/Order_statistic)</sup> |
| 历史 | 该术语由 S. S. 威尔克斯于 1942 年引入；拉普拉斯于 1818 年（实质上）得到了第 r 个顺序统计量的分布<sup>[5](https://www.researchgate.net/publication/225853957_Topics_in_the_History_of_Order_Statistics)</sup> |
| 应用 | 样本分位数与截尾均值（L 统计量）、容忍区间、k-out-of-n 系统寿命、概率图<sup>[6](https://pmc.ncbi.nlm.nih.gov/articles/PMC5353374/)</sup><sup> • </sup><sup>[7](https://onlinelibrary.wiley.com/doi/10.5402/2012/839473)</sup> |

## 联合分布与边缘分布

对于具有联合密度 \( f_{X_1,\ldots,X_n} \) 的连续随机变量，顺序统计量的联合密度是通过将原始密度对自变量的所有排列求和得到的，因为样本值的 n! 种排列中的任意一种都会产生相同的排序向量：<sup>[1](https://www.stat.berkeley.edu/~aditya/resources/FullLectureNotes201AFall2019.pdf)</sup>

\[
f_{X_{(1)},\ldots,X_{(n)}}(u_1,\ldots,u_n) = \sum_{\pi} f_{X_1,\ldots,X_n}(u_{\pi_1},\ldots,u_{\pi_n}) \quad \text{当 } u_1 < u_2 < \cdots < u_n \text{ 时},
\]

否则为零。当观测值独立同分布时，每个排列都贡献相同的密度乘积，因此联合密度在有序区域上简化为 \( n!\, f(u_1) \cdots f(u_n) \)。<sup>[1](https://www.stat.berkeley.edu/~aditya/resources/FullLectureNotes201AFall2019.pdf)</sup><sup> • </sup><sup>[3](https://www.math.mcgill.ca/dstephens/556-2019/Handouts/Math556-14-OrderStatistics.pdf)</sup> 麦吉尔大学统计学教授戴维·斯蒂芬斯（David Stephens）的麦吉尔讲义直接将这一因子归因于全概率定理：无序值有 n! 种构型会产生相同的顺序统计量。<sup>[3](https://www.math.mcgill.ca/dstephens/556-2019/Handouts/Math556-14-OrderStatistics.pdf)</sup>

**边缘分布。** 对于累积分布函数为 \( F \)、密度为 \( f \) 的独立同分布样本，第 j 个顺序统计量的密度为<sup>[3](https://www.math.mcgill.ca/dstephens/556-2019/Handouts/Math556-14-OrderStatistics.pdf)</sup>

\[
f_{X_{(j)}}(x) = \frac{n!}{(j-1)!(n-j)!} \{F(x)\}^{j-1} \{1-F(x)\}^{n-j} f(x).
\]

推导过程计算三组观测值：一个位于 \( x \) 的观测值贡献 \( f(x) \)，\( j-1 \) 个位于 \( x \) 以下的观测值贡献 \( \{F(x)\}^{j-1} \)，\( n-j \) 个位于 \( x \) 以上的观测值贡献 \( \{1-F(x)\}^{n-j} \)。归一化常数是对样本进行标记以实现该构型的方式数，\( n \cdot \binom{n-1}{j-1} = n!/((j-1)!(n-j)!) \)。<sup>[3](https://www.math.mcgill.ca/dstephens/556-2019/Handouts/Math556-14-OrderStatistics.pdf)</sup> 离散情形下也有类似的公式，其中累积分布函数通过关于累积概率 \( P_i \) 的二项和来表示。<sup>[3](https://www.math.mcgill.ca/dstephens/556-2019/Handouts/Math556-14-OrderStatistics.pdf)</sup>

**最小值与最大值。** 极端情形直接由独立性得出。最大值不超过 \( x \) 当且仅当每个观测值都不超过 \( x \)，因此 \( F_{X_{(n)}}(x) = F(x)^n \)；最小值超过 \( x \) 当且仅当每个观测值都超过 \( x \)，因此 \( F_{X_{(1)}}(x) = 1-(1-F(x))^n \)。<sup>[4](https://www2.stat.duke.edu/~cr173/Sta111_Su14/Lec/Lec10.pdf)</sup> 若干顺序统计量的联合分布遵循相同的计数逻辑：对于靠近 \( y \) 的 \( Y_j \) 和靠近 \( z \) 的 \( Y_\ell \)（其中 \( y < z \)），密度包含以下因子：位于 \( y \) 以下的观测值、位于 \( y \) 的一个观测值、位于 \( y \) 与 \( z \) 之间的观测值、位于 \( z \) 的一个观测值，以及位于 \( z \) 以上的观测值。<sup>[8](https://faculty.washington.edu/yenchic/20A_stat512/Lec9_Order.html)</sup>

## 均匀情形

对于均匀样本，第 j 个顺序统计量服从参数为 \( j \) 和 \( n+1-j \) 的 Beta 分布；例如最大值 \( U_{(n)} \) 服从 \( \mathrm{Beta}(n,1) \)，这一事实在对最大值取条件时有用：给定 \( U_{(n)} = u \)，其余 \( n-1 \) 个顺序统计量的行为如同 \( (0,u) \) 上 \( n-1 \) 个独立同分布的均匀观测值的顺序统计量。<sup>[1](https://www.stat.berkeley.edu/~aditya/resources/FullLectureNotes201AFall2019.pdf)</sup>

这一联系也提供了绘图位置。在可靠性概率图中，第 i 个有序失效时间与 \( F(t_i) \) 的一个估计值配对；NIST/SEMATECH 手册推荐近似中位秩位置 \( 100(i-0.3)/(n+0.4) \)，其动机来自均匀顺序统计量的分布，并指出朴素估计 \( 100(i/n) \) 通常偏高。<sup>[9](https://itl.nist.gov/div898/handbook/apr/section2/apr221.htm)</sup>

## 中心与极端顺序统计量

渐近行为因秩而异。若 \( k \) 随 \( n \) 增长，使得 \( k/n \) 趋于一个严格介于 0 与 1 之间的极限，则相应的 \( X_{(k)} \) 称为中心或均值顺序统计量；这些包括样本分位数和中位数。若极限为 0 或 1，则称为极端顺序统计量，即极值理论的主题。<sup>[2](https://encyclopediaofmath.org/wiki/Order_statistic)</sup> 这两种情形具有不同的极限分布，这正是极值理论发展为一个独立分支的原因：最大或最小样本成员分布的极限形式由 R. A. 费希尔（R. A. Fisher）和 L. H. C. 蒂皮特（L. H. C. Tippett）于 1928 年给出。<sup>[10](https://onlinelibrary.wiley.com/doi/abs/10.1002/0471667196.ess6023)</sup> 极值的历史更为久远；n 个独立同分布变量的最大值的分布至少可以追溯到 1709 年的尼古拉·伯努利（Nicholas Bernoulli），他将一个关于 n 个人中最后幸存者期望寿命的问题归结为 n 个独立同分布的均匀变量的期望最大值问题。<sup>[11](https://link.springer.com/chapter/10.1007/978-1-4757-3500-0_20)</sup>

顺序统计量的精确分布依赖于未知的母体分布函数 \( F \)，因此当 \( F \) 未知时，它们本身无法给出统计推断；这一局限正是顺序统计量的渐近方法得到广泛发展的原因。<sup>[2](https://encyclopediaofmath.org/wiki/Order_statistic)</sup>

## 应用

**L 统计量。** 顺序统计量的线性函数称为 L 统计量，构成一类重要的非参数估计量。其突出成员是样本分位数（用于总体分位数及四分位距等函数的非参数估计）和截尾均值（为位置估计提供样本均值的稳健替代）。对于独立同分布数据，L 统计量是渐近正态的，这种正态性已被推广到重复测量数据，从而支持总体截尾均值的近似置信区间以及工程、制造和医学中使用的非参数容忍区间。<sup>[6](https://pmc.ncbi.nlm.nih.gov/articles/PMC5353374/)</sup>

**可靠性。** 在可靠性工程中，一个当且仅当至少 k 个组件工作时才工作的 n 组件系统称为 k-out-of-n 系统，其寿命等于组件寿命的第 \( (n-k+1) \) 个顺序统计量。并联系统是 1-out-of-n，因此其寿命是最大值；而串联系统是 n-out-of-n，因此其寿命是最小值。间距（相邻顺序统计量之差）在寿命试验中同样重要。<sup>[7](https://onlinelibrary.wiley.com/doi/10.5402/2012/839473)</sup> 这些工作大多假设观测值独立同分布，但在可靠性中，组件往往并非同分布，这一情形通过在诸如尺度参数不等的独立指数模型和比例风险率模型下对顺序统计量进行随机比较来研究。<sup>[7](https://onlinelibrary.wiley.com/doi/10.5402/2012/839473)</sup>

**百分位数与秩。** 有序数据提供了获得百分位数的标准途径：第 p 百分位数是一个值，至多有 \( 100p\% \) 的测量值落在其下，第 50 百分位数即中位数。对于 n 个点，第 i 个有序点对应的百分位数为 \( i/(n+1) \)；当所需百分位数落在两个顺序统计量之间时，软件会进行插值；多种插值约定并存，NIST 手册描述了海因德曼与范（Hyndman and Fan）在 1996 年《美国统计学家》文章中编目的 R1 至 R9 方法。<sup>[12](https://itl.nist.gov/div898/handbook/prc/section2/prc262.htm)</sup>

**计算。** 完整的顺序统计量序列通过对样本排序获得，但当只需要少数几个秩时，例如最小值和次小值，选择算法可以避免完全排序；R 包 spatstat.utils 提供了此类函数，更一般地，独立（不一定同分布）变量的顺序统计量的联合分布可以通过动态规划计算。<sup>[13](https://search.r-project.org/CRAN/refmans/spatstat.utils/html/orderstats.html)</sup><sup> • </sup><sup>[14](https://arxiv.org/abs/2111.10939)</sup> 在机器学习中，排序和基于秩的统计量是分段常数，因此不携带梯度；基于最优传输的可微替代已被提出，用于通过秩、分位数和 top-k 操作进行反向传播。<sup>[15](https://arxiv.org/abs/1905.11885)</sup>

## 历史

这门学科远比其名称古老。普林斯顿统计学家 S. S. 威尔克斯（S. S. Wilks）直到 1942 年才在《美国数学调查公报》的一篇总结统计检验与度量的长文中引入“顺序统计量”一词；而到十九世纪初，天文学家已经使用样本均值之外的位置度量，包括中位数、对称截尾均值和中程。1818 年，拉普拉斯（Laplace）在随机样本中实质上得到了第 r 个顺序统计量的分布，并推导出母体密度上的一个条件，在该条件下中位数渐近地比均值更有效。<sup>[5](https://www.researchgate.net/publication/225853957_Topics_in_the_History_of_Order_Statistics)</sup> 该主题的标准专著是 H. A. 戴维（H. A. David）的《顺序统计量》，戴维长期担任爱荷华州立大学统计实验室主任，其与 H. N. 纳加拉贾（H. N. Nagaraja）合著的第三版于 2003 年问世。<sup>[16](https://books.google.com/books/about/Order_Statistics.html?id=sospAQAAMAAJ)</sup><sup> • </sup><sup>[10](https://onlinelibrary.wiley.com/doi/abs/10.1002/0471667196.ess6023)</sup>

## References

1. [Stat 201A lecture notes, Review of Undergraduate Probability, UC Berkeley (Aditya Guntuboyina)](https://www.stat.berkeley.edu/~aditya/resources/FullLectureNotes201AFall2019.pdf)
2. [Order statistic, Encyclopedia of Mathematics](https://encyclopediaofmath.org/wiki/Order_statistic)
3. [Math 556 Mathematical Statistics I handout: Order Statistics, McGill University (David Stephens)](https://www.math.mcgill.ca/dstephens/556-2019/Handouts/Math556-14-OrderStatistics.pdf)
4. [Sta 111 Lecture 10: Joint Distributions & Order Statistics, Duke University (Colin Rundel)](https://www2.stat.duke.edu/~cr173/Sta111_Su14/Lec/Lec10.pdf)
5. [H. A. David (2006). Topics in the History of Order Statistics, in Advances in Distribution Theory, Order Statistics, and Inference](https://www.researchgate.net/publication/225853957_Topics_in_the_History_of_Order_Statistics)
6. [L-statistics for Repeated Measurements Data With Application to Trimmed Means, Quantiles and Tolerance Intervals, PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC5353374/)
7. [S. Kochar (2012). Stochastic Comparisons of Order Statistics and Spacings: A Review, International Scholarly Research Notices](https://onlinelibrary.wiley.com/doi/10.5402/2012/839473)
8. [STAT 512 Lecture 9: Order Statistics from a Continuous Univariate Distribution, University of Washington (Yen-Chi Chen)](https://faculty.washington.edu/yenchic/20A_stat512/Lec9_Order.html)
9. [NIST/SEMATECH e-Handbook 8.2.2.1, Probability plotting](https://itl.nist.gov/div898/handbook/apr/section2/apr221.htm)
10. [H. A. David. Order Statistics, Encyclopedia of Statistical Sciences, Wiley Online Library](https://onlinelibrary.wiley.com/doi/abs/10.1002/0471667196.ess6023)
11. [Beginnings of Extreme-Value Theory, Springer Nature, Annotated Readings in the History of Statistics](https://link.springer.com/chapter/10.1007/978-1-4757-3500-0_20)
12. [NIST/SEMATECH e-Handbook 7.2.6.2, Percentiles](https://itl.nist.gov/div898/handbook/prc/section2/prc262.htm)
13. [orderstats, spatstat.utils R documentation, CRAN](https://search.r-project.org/CRAN/refmans/spatstat.utils/html/orderstats.html)
14. [A Dynamic Programming Algorithm to Compute Joint Distribution of Order Statistics on Graphs, arXiv:2111.10939](https://arxiv.org/abs/2111.10939)
15. [M. Cuturi, O. Teboul, J.-P. Vert (2019). Differentiable Ranks and Sorting using Optimal Transport, arXiv:1905.11885](https://arxiv.org/abs/1905.11885)
16. [H. A. David, Order Statistics, 2nd ed., Wiley 1981, Google Books](https://books.google.com/books/about/Order_Statistics.html?id=sospAQAAMAAJ)

---
*Initially written Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Statistical inference, estimation, sampling, and testing

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/order-statistics

English original: https://www.edgepedia.org/order-statistics
