# 极差（统计学）

极差是一种离散程度的度量，定义为一组数据中最大值与最小值之差：极差 = 最大值 − 最小值。<sup>[1](https://online.stat.psu.edu/stat500/Lesson01)</sup><sup> • </sup><sup>[2](https://proofwiki.org/wiki/Definition%3ARange_%28Statistics%29)</sup> 它是最简单的离散程度度量，除了找出两个极端观测值之外无需任何计算，并且与数据采用相同的单位表示。<sup>[3](https://www.itl.nist.gov/div898/handbook/pmc/section3/pmc311.htm)</sup>

| 关键事实 | 详情 |
|---|---|
| 定义 | 极差 = 最大值 − 最小值；一组观测值的离散程度度量<sup>[1](https://online.stat.psu.edu/stat500/Lesson01)</sup><sup> • </sup><sup>[2](https://proofwiki.org/wiki/Definition%3ARange_%28Statistics%29)</sup> |
| 所用信息 | 仅使用两个最极端的值；数据中心附近的离散情况完全未被捕捉<sup>[4](https://www.itl.nist.gov/div898/handbook/eda/section3/eda356.htm)</sup> |
| 敏感性 | 对离群值高度敏感；在一个11个数据点的数据集中加入一个极端值75，使其极差从43升至69<sup>[5](https://www150.statcan.gc.ca/n1/edu/power-pouvoir/ch12/5214890-eng.htm)</sup> |
| 样本量行为 | 从同一总体中抽取随机样本时，极差往往随样本量增大而增大<sup>[6](https://statisticsbyjim.com/basics/variability-range-interquartile-variance-standard-deviation/)</sup> |
| 与σ的关系 | 对于正态分布，样本极差的均值为d<sub>2</sub>s，因此s可估计为R/d<sub>2</sub>（Patnaik，1946）<sup>[3](https://www.itl.nist.gov/div898/handbook/pmc/section3/pmc311.htm)</sup> |
| 主要实际用途 | 质量控制：R控制图监测过程变异，通常用于子组大小为10或更小的情况<sup>[3](https://www.itl.nist.gov/div898/handbook/pmc/section3/pmc311.htm)</sup> |

## 定义与计算

要计算极差，找出变量的最大观测值（最大值）并减去最小观测值（最小值）。<sup>[5](https://www150.statcan.gc.ca/n1/edu/power-pouvoir/ch12/5214890-eng.htm)</sup> 澳大利亚统计局（Australian Bureau of Statistics）用两个均值、中位数和众数均为6的数据集来说明这一计算：数据集A（4, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 8）的极差为4，而数据集B（1, 2, 3, 4, 5, 6, 6, 7, 8, 9, 10, 11）的极差为10，表明尽管集中趋势度量相同，B的离散程度更大。<sup>[7](https://www.abs.gov.au/statistics/understanding-statistics/statistical-terms-and-concepts/measures-spread)</sup>

极差是标准的离散程度度量之一，与四分位距、方差和标准差并列。<sup>[8](https://www150.statcan.gc.ca/n1/edu/power-pouvoir/ch12/5214876-eng.htm)</sup> 它仅适用于数值型变量，因为它需要一个具有低端值和高端值的排序。<sup>[7](https://www.abs.gov.au/statistics/understanding-statistics/statistical-terms-and-concepts/measures-spread)</sup>

## 局限性

**依赖两个点。** 极差仅考虑最大值和最小值，忽略了分布两端之间的数据点。<sup>[5](https://www150.statcan.gc.ca/n1/edu/power-pouvoir/ch12/5214890-eng.htm)</sup> 美国国家标准与技术研究院（NIST）的《工程统计手册》（Engineering Statistics Handbook）在其尺度度量目录中提出了同样的观点：极差仅基于最低和最高极端值，因此数据中心附近的离散情况完全未被捕捉。<sup>[4](https://www.itl.nist.gov/div898/handbook/eda/section3/eda356.htm)</sup>

**离群值。** 由于极差完全依赖于极端值，它会捕捉到数据中存在的任何离群值。<sup>[9](https://faculty.washington.edu/otoomet/machineLearning.pdf)</sup> 加拿大统计局（Statistics Canada）的一个教学示例定量地展示了这一效应。对于有序数据集6, 7, 15, 36, 39, 41, 41, 43, 43, 47, 49，极差为43，四分位距为28。加入一个极端值75后，极差升至69，增加了26，而更稳健的四分位距仅从28变为19.5。<sup>[5](https://www150.statcan.gc.ca/n1/edu/power-pouvoir/ch12/5214890-eng.htm)</sup> 因此，极差被用作其他度量的补充，很少作为唯一的离散程度度量。<sup>[5](https://www150.statcan.gc.ca/n1/edu/power-pouvoir/ch12/5214890-eng.htm)</sup>

**极差相同，形状不同。** 两个差异很大的分布可以具有相同的极差。一个教学示例展示了三个数据集，取值范围均为−15到15，均值为0：集合1将大多数值集中在中心附近，仅有少数极端点；集合2集中程度较低；集合3将值更均匀地分布在整个范围内。<sup>[10](https://treese41528.github.io/STAT350/Website/chapter3/lectures/3-3-measures-of-variability-range-variance-and-SD.html)</sup> 同样的观点出现在ScienceDirect的一个示例中，其中分数集（71, 88, 89, 90, 91, 92, 93, 98）和一个更紧密聚集的集合共享27的极差，因为最小值和最大值没有变化。<sup>[11](https://www.sciencedirect.com/topics/mathematics/interquartile-range)</sup>

**样本量。** 当从同一总体中抽取随机样本时，极差往往随样本量增大而增大，因为较大的样本更可能包含极端值。<sup>[6](https://statisticsbyjim.com/basics/variability-range-interquartile-variance-standard-deviation/)</sup> NIST因此建议对极差用于大N值的情况保持谨慎。<sup>[4](https://www.itl.nist.gov/div898/handbook/eda/section3/eda356.htm)</sup>

## 与其他离散程度度量的比较

不同的尺度度量对分布的中心和尾部赋予不同的权重。方差和标准差使用每一个观测值并概括围绕均值的离散程度，但由于偏差经过平方，对远离均值的值赋予更大权重；四分位距（第75百分位数减去第25百分位数）度量中心附近点的变异性；而极差仅反映尾部。<sup>[4](https://www.itl.nist.gov/div898/handbook/eda/section3/eda356.htm)</sup><sup> • </sup><sup>[7](https://www.abs.gov.au/statistics/understanding-statistics/statistical-terms-and-concepts/measures-spread)</sup>

NIST用来自四个分布的10,000点样本说明了这一对比。对于正态样本，标准差为0.997，中位数绝对偏差为0.681，极差为7.87，意味着极端值落在距均值约4个标准差的范围内。对于尾部更重的双指数样本，17.556的极差显示极端值距均值约6个标准差。对于柯西样本，少数非常极端的值将标准差推至998.389，极差推至118,953.6，而中位数绝对偏差保持在1.16；在这种情况下，极差和标准差被扭曲，基于秩的度量是更好的选择。<sup>[4](https://www.itl.nist.gov/div898/handbook/eda/section3/eda356.htm)</sup> 将极差与标准差进行比较本身就是一种诊断：它指示数据的尾部延伸了多远。<sup>[4](https://www.itl.nist.gov/div898/handbook/eda/section3/eda356.htm)</sup>

极差也作为描述性实践的一个端点出现：由最小值、三个四分位数和最大值构成的五值序列被称为五数概括，最小值和最大值锚定箱线图的须。<sup>[5](https://www150.statcan.gc.ca/n1/edu/power-pouvoir/ch12/5214890-eng.htm)</sup>

## 在质量控制中的应用

极差的简单性使其在统计过程控制中具有实用价值，沃尔特·休哈特（Walter Shewhart）的控制图通过随时间采样的数据来跟踪质量指标。<sup>[12](https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=912260)</sup> 在休哈特的均值和R控制图中，当样本量相对较小（例如等于或小于10）时，极差替代子组标准差。<sup>[3](https://www.itl.nist.gov/div898/handbook/pmc/section3/pmc311.htm)</sup>

这一替代基于Patnaik于1946年提出的正态分布随机样本极差R与该分布标准差s之间的统计关系。该关系取决于样本量n：R的均值为d<sub>2</sub>s，其中d<sub>2</sub>是n的函数，其数值可查表得到，因此s的估计量为R/d<sub>2</sub>。<sup>[3](https://www.itl.nist.gov/div898/handbook/pmc/section3/pmc311.htm)</sup> R控制图绘制子组极差，以平均极差为中心线；其控制限使用W = R/s的标准差，即d<sub>3</sub>，另一个n的函数，给出系数D<sub>3</sub> = 1 − 3d<sub>3</sub>/d<sub>2</sub>和D<sub>4</sub> = 1 + 3d<sub>3</sub>/d<sub>2</sub>。<sup>[3](https://www.itl.nist.gov/div898/handbook/pmc/section3/pmc311.htm)</sup> NIST指出，极差方法是从计算机问世前沿用至今的方法，比子组标准差更容易计算，对于小样本量仍然不太差。<sup>[3](https://www.itl.nist.gov/div898/handbook/pmc/section3/pmc311.htm)</sup>

一个相关的构造处理单个测量值。个体观测值的控制图，即样本量为1的情况，使用两个连续观测值的移动极差来度量过程变异，同时绘制个体值和移动极差。<sup>[13](https://www.itl.nist.gov/div898/handbook/pmc/section3/pmc322.htm)</sup>

## 极差的适用情形

极差最适合用于没有极端值的数据。一个送货时间的例子使实际差异具体化：知道包裹将在上午10点到中午之间到达有助于规划，而上午8点到晚上8点的范围几乎不提供有用的信息。<sup>[6](https://statisticsbyjim.com/basics/variability-range-interquartile-variance-standard-deviation/)</sup> 对于偏斜或易出现离群值的数据，首选中间50%的四分位距；对于近似正态的数据，标准差是自然的离散程度估计量；极差提供总的端点跨度。<sup>[4](https://www.itl.nist.gov/div898/handbook/eda/section3/eda356.htm)</sup><sup> • </sup><sup>[6](https://statisticsbyjim.com/basics/variability-range-interquartile-variance-standard-deviation/)</sup>

## References

1. [Lesson 1: Collecting and Summarizing Data, STAT 500, Penn State Eberly College of Science](https://online.stat.psu.edu/stat500/Lesson01)
2. [Definition: Range (Statistics), ProofWiki](https://proofwiki.org/wiki/Definition%3ARange_%28Statistics%29)
3. [6.3.1.1. Shewhart X-bar and R and S Control Charts, NIST/SEMATECH e-Handbook of Statistical Methods](https://www.itl.nist.gov/div898/handbook/pmc/section3/pmc311.htm)
4. [1.3.5.6. Measures of Scale, NIST/SEMATECH e-Handbook of Statistical Methods](https://www.itl.nist.gov/div898/handbook/eda/section3/eda356.htm)
5. [4.5.1 Calculating the range and interquartile range, Statistics Canada](https://www150.statcan.gc.ca/n1/edu/power-pouvoir/ch12/5214890-eng.htm)
6. [Measures of Variability: Range, Interquartile Range, Variance, and Standard Deviation, Statistics By Jim (Jim Frost)](https://statisticsbyjim.com/basics/variability-range-interquartile-variance-standard-deviation/)
7. [Measures of spread, Australian Bureau of Statistics](https://www.abs.gov.au/statistics/understanding-statistics/statistical-terms-and-concepts/measures-spread)
8. [4.5 Measures of dispersion, Statistics Canada](https://www150.statcan.gc.ca/n1/edu/power-pouvoir/ch12/5214876-eng.htm)
9. [Introduction to Statistics, Chapter 1 (O. Toomet), University of Washington course text](https://faculty.washington.edu/otoomet/machineLearning.pdf)
10. [3.3. Measures of Variability: Range, Variance, and Standard Deviation, STAT 350 course notes](https://treese41528.github.io/STAT350/Website/chapter3/lectures/3-3-measures-of-variability-range-variance-and-SD.html)
11. [Interquartile Range: Overview, ScienceDirect Topics](https://www.sciencedirect.com/topics/mathematics/interquartile-range)
12. [Variability: Human nature and its impact on measurement and statistical analysis, NIST](https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=912260)
13. [6.3.2.2. Individuals Control Charts, NIST/SEMATECH e-Handbook of Statistical Methods](https://www.itl.nist.gov/div898/handbook/pmc/section3/pmc322.htm)

---
*Initially written Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论

Copyright 2026 Edgepedia

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

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

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