# 中程数

中程数是统计学中的一种位置估计量，定义为样本中最小值与最大值的平均数，用作集中趋势的快速度量，并且对于适当的分布，可作为总体中心的高效估计量。它只需要两个极端观测值，因此总是存在且计算简便，但它主要适用于对称分布且不含离群值的数据。<sup>[1](https://www.itl.nist.gov/div898/software/dataplot/refman2/ch2/midrange.pdf)</sup><sup> • </sup><sup>[2](https://mail.ripublication.com/gjpam23/gjpamv20n1_13.pdf)</sup>

| 关键事实 | 详情 |
|---|---|
| 定义 | 样本中程数是样本最小值与样本最大值的平均数，即 \( (\text{最小值} + \text{最大值})/2 \)。<sup>[1](https://www.itl.nist.gov/div898/software/dataplot/refman2/ch2/midrange.pdf)</sup> |
| 最优情形下的最优性 | 对于均匀位置模型，中程数是最大似然估计量，其估计误差为 \( 1/n \) 阶，远优于样本均值的 \( 1/\sqrt{n} \) 速率。<sup>[3](https://ar5iv.labs.arxiv.org/html/2303.01992)</sup> |
| 均匀分布的精确方差 | 对于 \( [a, b] \) 上的均匀分布，\( \mathrm{Var}(M) = (b - a)^2/(2 \cdot (n + 1) \cdot (n + 2)) \)。<sup>[4](https://www.tntech.edu/cas/pdf/math/techreports/TR-2001-3.pdf)</sup> |
| 有界对称分布 | 中程数对中心是无偏的，且 \( \mathrm{Var}(M) = O(n^{-2/r}) \)；当 \( 1 \le r < 2 \) 时，它渐近地比样本均值和样本中位数都更有效。<sup>[5](https://www.aimspress.com/aimspress-data/math/2026/7/PDF/math-11-07-804.pdf)</sup> |
| 高斯分布下的表现 | 在正态分布下，中程数表现不佳，误差率为 \( 1/\sqrt{\log n} \) 阶。<sup>[3](https://ar5iv.labs.arxiv.org/html/2303.01992)</sup> |
| 稳健性 | 中程数是一种敏感度量，仅适用于不含离群值的数据集；对于柯西分布等重尾数据，中位数是更好的集中趋势估计量。<sup>[2](https://mail.ripublication.com/gjpam23/gjpamv20n1_13.pdf)</sup><sup> • </sup><sup>[4](https://www.tntech.edu/cas/pdf/math/techreports/TR-2001-3.pdf)</sup> |
| 正式研究 | <sup>[6](https://doi.org/10.1214/aoms/1177731211)</sup><sup> • </sup><sup>[7](https://doi.org/10.1080/01621459.1957.10501410)</sup> |

## 工作原理

给定来自对称分布的独立同分布连续观测值，将其排序为次序统计量 X\(_{(1)}\) ≤ X\(_{(2)}\) ≤ ⋯ ≤ X\(_{(n)}\)，中程数是两个极端次序统计量的平均数，<sup>[2](https://mail.ripublication.com/gjpam23/gjpamv20n1_13.pdf)</sup><sup> • </sup><sup>[8](https://mathworld.wolfram.com/Midrange.html)</sup>

\[ M = \frac{X_{(1)} + X_{(n)}}{2}. \]

它与样本极差 \( r = X_{(n)} - X_{(1)} \) 密切相关。<sup>[9](https://www.randomservices.org/random/sample/OrderStatistics.html)</sup> 中程数是样本最小值与样本最大值的平均数。<sup>[1](https://www.itl.nist.gov/div898/software/dataplot/refman2/ch2/midrange.pdf)</sup> 由于它仅依赖于 \( X_{(1)} \) 和 \( X_{(n)} \)，其分布理论即为极值理论。N. H. Bingham（宾汉姆）运用极值理论将中程数作为位置估计量加以研究，并推导出所得极限律的性质，他称之为对称化极值律。<sup>[10](https://doi.org/10.1016/0167-7152%2894%2900126-s)</sup>

方差行为强烈依赖于尾部。对于对称有界分布，中程数对中心 \( \theta \) 是无偏的，且 \( \mathrm{Var}(M) = O(n^{-2/r}) \)；当 \( 1 \le r < 2 \) 时，这一衰减速度快于样本均值和样本中位数典型的 \( n^{-1} \) 阶，因此中程数渐近地比两者都更有效。<sup>[5](https://www.aimspress.com/aimspress-data/math/2026/7/PDF/math-11-07-804.pdf)</sup> 对于无界分布，极值随 n 增长，估计量随之退化：在高斯 \( N(\theta, 1) \) 模型下，其误差率仅为 \( 1/\sqrt{\log n} \) 阶。<sup>[3](https://ar5iv.labs.arxiv.org/html/2303.01992)</sup>

## 计算方法

计算只有一步：找出样本的最小值和最大值，求其平均。<sup>[1](https://www.itl.nist.gov/div898/software/dataplot/refman2/ch2/midrange.pdf)</sup> 统计软件将其视为标准的计算位置度量；NIST Dataplot 系统提供 MIDRANGE 命令，与 RANGE、MEDIAN、MEAN、TRIMMED MEAN 和 WINSORIZED MEAN 并列。<sup>[1](https://www.itl.nist.gov/div898/software/dataplot/refman2/ch2/midrange.pdf)</sup>

该估计量的形式性质在均匀位置问题中能得到最好的理解。对于 \( [\theta - 1, \theta + 1] \) 上的均匀观测值，样本中程数是 \( \theta \) 的最大似然估计量，其估计误差为 \( 1/n \) 阶，远小于样本均值的 \( 1/\sqrt{n} \) 速率；Le Cam（勒卡姆）1973 年的一项两点论证表明 \( 1/n \) 速率是最优的。<sup>[3](https://ar5iv.labs.arxiv.org/html/2303.01992)</sup> 对于 \( [a, b] \) 上的均匀分布，方差有精确表达式：\( \mathrm{Var}(M) = (b - a)^2/(2 \cdot (n + 1) \cdot (n + 2)) \)，并且在最小二乘准则下，一旦 \( n \) 超过涉及 \( \sigma \) 的某个阈值，中程数就优于样本均值。<sup>[4](https://www.tntech.edu/cas/pdf/math/techreports/TR-2001-3.pdf)</sup>

Rider（赖德）1957 年的研究考察了来自五个有限范围对称总体的样本中程数的分布，发现中程数对这五个总体都比均值更有效，且效率随标准化四阶矩的减小而增大；这五个总体的 \( \alpha_4 \) 值分别为 2.19、2.14、1.8、1.19 和 1。<sup>[7](https://doi.org/10.1080/01621459.1957.10501410)</sup> 2026 年的蒙特卡洛研究发现，对于 \( r = 1 \) 和 \( r = 3/2 \)，即使在中等样本量下，中程数的均方误差也显著小于样本均值和样本中位数。<sup>[5](https://www.aimspress.com/aimspress-data/math/2026/7/PDF/math-11-07-804.pdf)</sup>

## 起源

中程数的历史远早于其正式的统计学处理。历史学术研究记载，它在九至十一世纪的阿拉伯天文学中被用作算术平均数的前身，在冶金学和航海学中亦有使用。<sup>[11](https://jse.amstat.org/v11n1/bakker.html)</sup> 通过平均两个极端值来估计总量，这种方法现在被称为取中程数；当底层分布至少近似对称或矩形时，对极端值取平均是有道理的。<sup>[11](https://jse.amstat.org/v11n1/bakker.html)</sup> 在十六和十七世纪，天文学家尝试用均值、中程数和中位数来合并重复测量，但未达成共识；“算术平均数”一词指的是中程数而非均值。<sup>[12](https://web.stanford.edu/class/datasci112/readings/mean.pdf)</sup>

正式文献始于 E. J. Gumbel（冈贝尔）的论文《极差与中程数》，发表于《数理统计年鉴》第 15 卷第 4 期，第 414–422 页，1944 年 12 月 14 日在线发表，这是将中程数与极差一并处理的早期文献。<sup>[6](https://doi.org/10.1214/aoms/1177731211)</sup> 随后 Paul R. Rider（保罗·R·赖德）于 1957 年在《美国统计协会杂志》上研究了样本中程数作为总体中程数估计量的性质。<sup>[7](https://doi.org/10.1080/01621459.1957.10501410)</sup>

## 变体

主要的具名稳健变体是最短半中程数，计算为数据中最紧凑一半的中程数，本质上是下四分位数与上四分位数均值的不对称版本。它的效率相当低，低于中位数，但对不对称分布的离群值较不敏感。<sup>[13](https://www.itl.nist.gov/div898/software/dataplot/refman2/auxillar/shmr.htm)</sup> 标准软件还提供截尾均值和温莎化均值作为相关的稳健位置度量。<sup>[1](https://www.itl.nist.gov/div898/software/dataplot/refman2/ch2/midrange.pdf)</sup>

另一条研究路线使用中摘要。2026 年的一篇预印本通过多尺度中摘要发展了实例最优的自适应位置估计。<sup>[14](https://arxiv.org/pdf/2609.20749.pdf)</sup>

## 应用

在计量学中，对均匀总体样本的蒙特卡洛模拟表明，此类样本的中程数比 GUM 指南推荐的均值具有更小的标准差；该研究还计算了类似于学生 t 分布的分布以及基于中程数样本的扩展不确定度。对于来自平坦-高斯总体的样本，随着正态分布占比的增加，中程数的优势减弱。<sup>[15](https://www.imeko.org/publications/tc4-2014/IMEKO-TC4-2014-369.pdf)</sup>

在统计过程控制中，中程数控制图已在非正态条件下得到研究；由于中程数仅涉及两个极端观测值，它是一种总是存在的中心值快速度量，其离群值敏感性决定了此类控制图的应用方式。<sup>[2](https://mail.ripublication.com/gjpam23/gjpamv20n1_13.pdf)</sup>

## 局限与替代方案

中程数的核心局限是离群值敏感性：它是一种敏感度量，仅适用于不含离群值的数据集。<sup>[2](https://mail.ripublication.com/gjpam23/gjpamv20n1_13.pdf)</sup> 作为对比，样本均值和样本中位数的崩溃点分别为 \( 0 \) 和 \( 1/2 \)。<sup>[16](https://ar5iv.labs.arxiv.org/html/1908.00462)</sup> 中位数本身就是一个稳健的锚点：在拉普拉斯分布下它具有 100% 的效率，而 M 估计量类产生的估计量同时具有高效率和稳健性。<sup>[17](https://feb.kuleuven.be/public/u0017833/PDF-FILES/Croux_Dehon5.pdf)</sup> Rousseeuw（鲁索）和 Croux（克鲁）关于稳健替代方案的工作围绕中位数的 50% 崩溃点及其在正态分布下约 64% 的效率展开，而中位数绝对偏差作为尺度估计量在正态分布下仅有约 37% 的效率。<sup>[18](https://doi.org/10.1080/01621459.1993.10476408)</sup>

对于重尾分布，中程数会像均值一样失效，因为在其简单形式中它是极端值的样本均值。对于具有无限方差和均值的柯西分布，样本均值和样本中程数都表现不佳，只剩下对所有分布都存在的中位数作为三种集中趋势估计量中最好的一个。<sup>[4](https://www.tntech.edu/cas/pdf/math/techreports/TR-2001-3.pdf)</sup> 更一般地说，所讨论的分布决定了最佳估计量，认为样本均值总是最好的假设是不正确的。<sup>[4](https://www.tntech.edu/cas/pdf/math/techreports/TR-2001-3.pdf)</sup>

## References

1. [MIDRANGE, NIST/SEMATECH Dataplot Reference Manual](https://www.itl.nist.gov/div898/software/dataplot/refman2/ch2/midrange.pdf)
2. [Midrange Control Chart under Non Normality (GJPAM, 2023)](https://mail.ripublication.com/gjpam23/gjpamv20n1_13.pdf)
3. [Choosing the p in L_p loss: rate adaptivity on the symmetric location problem](https://ar5iv.labs.arxiv.org/html/2303.01992)
4. [Comparison of Centrality Estimators for Several Distributions (TTU Math Technical Report TR-2001-3)](https://www.tntech.edu/cas/pdf/math/techreports/TR-2001-3.pdf)
5. [On convergence of some normalized extreme order statistics (AIMS Mathematics, 2026)](https://www.aimspress.com/aimspress-data/math/2026/7/PDF/math-11-07-804.pdf)
6. [E. J. Gumbel (1944). Ranges and Midranges. The Annals of Mathematical Statistics.](https://doi.org/10.1214/aoms/1177731211)
7. [Paul R. Rider (1957). The Midrange of a Sample as an Estimator of the Population Midrange. Journal of the American Statistical Association.](https://doi.org/10.1080/01621459.1957.10501410)
8. [Midrange -- from Wolfram MathWorld](https://mathworld.wolfram.com/Midrange.html)
9. [Order Statistics (Random Services)](https://www.randomservices.org/random/sample/OrderStatistics.html)
10. [The sample mid-range and symmetrized extremal laws (Statistics & Probability Letters, 1995)](https://doi.org/10.1016/0167-7152%2894%2900126-s)
11. [Journal of Statistics Education, V11N1: Bakker, historical precursors of the midrange](https://jse.amstat.org/v11n1/bakker.html)
12. [The shock of the mean (Stanford Data Science 112 reading)](https://web.stanford.edu/class/datasci112/readings/mean.pdf)
13. [SHORTEST HALF MIDRANGE, NIST/SEMATECH Dataplot Reference Manual](https://www.itl.nist.gov/div898/software/dataplot/refman2/auxillar/shmr.htm)
14. [Instance-Optimal Adaptive Location Estimation via Multiscale Mid-Summaries (arXiv, 2026)](https://arxiv.org/pdf/2609.20749.pdf)
15. [Midrange as estimator of measured value for samples from population of uniform and Flatten-Gaussian distributions (IMEKO TC4, 2014)](https://www.imeko.org/publications/tc4-2014/IMEKO-TC4-2014-369.pdf)
16. [Investigation of finite-sample properties of robust location and scale estimators](https://ar5iv.labs.arxiv.org/html/1908.00462)
17. [Croux & Dehon, Robust estimation of location and scale (KU Leuven course notes)](https://feb.kuleuven.be/public/u0017833/PDF-FILES/Croux_Dehon5.pdf)
18. [Peter J. Rousseeuw, Christophe Croux (1993). Alternatives to the Median Absolute Deviation. Journal of the American Statistical Association.](https://doi.org/10.1080/01621459.1993.10476408)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026*

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

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/midrange

English original: https://www.edgepedia.org/midrange
