# 多峰分布

多峰分布是指概率密度函数或概率质量函数具有一个以上众数，即密度中存在一个以上局部峰值的概率分布。<sup>[1](https://mathworld.wolfram.com/MultimodalDistribution.html)</sup> 恰好具有两个众数的分布称为双峰分布。<sup>[1](https://mathworld.wolfram.com/MultimodalDistribution.html)</sup> 多峰性往往表明观测值由若干子总体混合而成，但峰值与子总体之间的联系比初看之下更为松散：若干分布的混合可以产生单峰密度，而多峰密度也未必具有唯一的混合分解。<sup>[1](https://mathworld.wolfram.com/MultimodalDistribution.html)</sup>

| 关键事实 | 详情 |
|---|---|
| 定义 | 概率密度函数或概率质量函数具有一个以上众数（局部极大值）。<sup>[1](https://mathworld.wolfram.com/MultimodalDistribution.html)</sup> |
| 术语 | 一个众数：单峰；两个众数：双峰；两个或更多：多峰。<sup>[2](https://encyclopediaofmath.org/wiki/Mode)</sup> |
| 众数的形式条件 | 若对 \( x^{*} \) 某邻域内所有 \( x \) 均有 \( f(x^{*}) \geq f(x) \)，则点 \( x^{*} \) 是密度 \( f \) 的众数；对于可微的 \( f \)，需 \( \nabla f(x^{*}) = 0 \) 且 Hessian 矩阵负半定。<sup>[3](https://beta.fermi.ai/math/multimodal)</sup> |
| 混合形式 | 含 \( k \) 个分量的有限混合的密度为 \( f(x) = \sum_{i=1}^{k} \pi_{i} \cdot g_{i}(x) \)，权重 \( \pi_{i} \geq 0 \) 且总和为 1。<sup>[3](https://beta.fermi.ai/math/multimodal)</sup> |
| 标准检验 | Hartigan 浸入检验与 Silverman 临界带宽检验，检验单峰性的原假设是否成立，备择假设为多峰。<sup>[4](https://pmc.ncbi.nlm.nih.gov/articles/PMC10064666/)</sup> |
| 实践警示 | 表观众数可能是抽样波动的虚假产物，而非潜在分布的特征。<sup>[5](https://www.sciencedirect.com/science/article/pii/0167947394900809/pdf?md5=97c4a908dab5714a3fe0d3b32d6c1305&pid=1-s2.0-0167947394900809-main.pdf)</sup> |

## 众数的定义与计数

对于连续分布，众数是出现概率最大的变量取值；在总体层面，它对应于概率密度函数的一个峰，而在数据层面，样本众数是直方图的峰。<sup>[6](https://www.itl.nist.gov/div898/handbook/eda/section3/eda33a5.htm)</sup> 当密度具有两个或更多这样的峰时，分布就是多峰的。对于连续密度，不同的局部极大值通常计为众数，但对于平台以及支撑集边界上的极大值，需要约定处理方式。<sup>[1](https://mathworld.wolfram.com/MultimodalDistribution.html)</sup> 一些参考著作仅将众数一词限于全局极大值，按此定义，一个具有若干局部峰但只有一个全局极大值的密度就不会被称为多峰，因此在计数峰值时，所采用的定义至关重要。<sup>[7](https://www.ar-php.org/stats/al-kashi/doc/Al-Kashi_Background_Statistics.pdf)</sup>

经典的单峰基准是正态（高斯）分布，其密度聚集在单一中心峰周围，并向尾部衰减。<sup>[6](https://www.itl.nist.gov/div898/handbook/eda/section3/eda33a5.htm)</sup>

## 众数与混合模型

**混合是标准解释，但需注意附加条件。** 有限混合分布为每个分量密度 \( g_{i} \) 赋予权重 \( \pi_{i} \)，得到 \( f(x) = \sum_{i=1}^{k} \pi_{i} \cdot g_{i}(x) \)。<sup>[3](https://beta.fermi.ai/math/multimodal)</sup> 多个众数强烈提示潜在分布可建模为混合分布，通常是高斯分量的混合；一种实用的拟合策略是将每个分量中心置于观测到的众数处，并根据该众数的相对大小设定其权重。<sup>[8](https://www.stat.yale.edu/~jtc5/312_612/readings/modern-multivariate_Izenman.pdf)</sup>

这种对应并非一一对应。单峰密度的混合未必产生众数数目与分量数目相同的多峰密度，而且当分量组合时，各个众数的位置可能发生移动。<sup>[8](https://www.stat.yale.edu/~jtc5/312_612/readings/modern-multivariate_Izenman.pdf)</sup> 对于单变量高斯混合，众数数目从不超过分量数目，但在多维情形下，相互作用的分量可以产生比分量数目更多的众数。<sup>[9](https://citeseerx.ist.psu.edu/document?doi=217e0bc4390ab255956f3ca212ee242d3ac526a7&repid=rep1&type=pdf)</sup><sup> • </sup><sup>[21](https://www.cs.toronto.edu/~miguel/research/GMmodes.html)</sup> 对于 \( d \) 变量 \( k \) 分量高斯混合，一个猜想的一般上界是 \( \binom{d+k-1}{d} \)，在二维三分量情形下等于六。<sup>[10](https://arxiv.org/abs/2608.01776)</sup> 均值有界的单变量混合仍可相当丰富：方差为 1、均值位于 \( [-A, A] \) 的高斯混合可以具有 \( \Omega(A^{2}) \) 个众数。<sup>[11](https://arxiv.org/abs/2005.01580)</sup>

并非所有双峰模式都来自混合。美国国家标准与技术研究院（NIST）《工程统计手册》对比了两种成因：一种是由中心分别位于约 9.17 和 9.26 的两个正态分布混合产生的双峰直方图；另一种是由数据中的正弦性导致的对称双峰直方图，对此推荐的诊断工具是运行序列图、滞后图和谱图。<sup>[12](https://www.itl.nist.gov/div898/handbook/toolaids/pff/E-Handbook.pdf)</sup><sup> • </sup><sup>[13](https://itl.nist.gov/div898/handbook/eda/section3/histogr4.htm)</sup>

## 检测数据中的多峰性

**目视检查是第一步，但依赖于尺度。** 直方图可以提示众数，而核密度估计——用带宽为 \( h \) 的平滑核（如正态密度）替代每个数据点——给出一种平滑视图，可以在不同平滑程度下计数众数。<sup>[14](https://www.sciencedirect.com/topics/mathematics/kernel-density-estimation)</sup> 计数依赖于 \( h \)：平滑不足会因抽样噪声产生虚假凸起，而平滑过度则会合并真实峰值。将观测到的众数数目对 \( h \) 作图，可以揭示众数计数稳定的带宽范围；在一项有记载的能力验证分析中，双众数模型显示出良好的稳定范围。<sup>[14](https://www.sciencedirect.com/topics/mathematics/kernel-density-estimation)</sup> 默认带宽规则在此存在已知偏差：Silverman 经验法则是在高斯假设下推导的，已知当真实密度为多峰时会过度平滑。<sup>[15](https://cswr.nrhstat.org/density)</sup>

**形式检验为众数计数赋予显著性。** 巴斯大学统计学教授 B. W. Silverman（Silverman）于 1981 年提出一种利用核密度估计研究总体众数数目的技术，平滑量自动选取，显著性通过自助法评估。<sup>[16](https://doi.org/10.1111/j.2517-6161.1981.tb01155.x)</sup> 后来的假设检验程序修改了这一提议，使用核密度估计并通过自助法计算临界值，以判定表观众数是否显著。<sup>[5](https://www.sciencedirect.com/science/article/pii/0167947394900809/pdf?md5=97c4a908dab5714a3fe0d3b32d6c1305&pid=1-s2.0-0167947394900809-main.pdf)</sup>

两种检验在实践中占主导地位。Hartigan 浸入检验度量经验分布函数与最佳拟合单峰分布函数之间的最大距离；Hartigan 与 Hartigan 将原假设设为单峰性，并以均匀分布作为最不利参考分布进行校准，因为它在所有单峰分布中使浸入值渐近随机最大。<sup>[4](https://pmc.ncbi.nlm.nih.gov/articles/PMC10064666/)</sup><sup> • </sup><sup>[17](https://www.aeaweb.org/conference/2011/retrieve.php?pdfid=403)</sup><sup> • </sup><sup>[22](https://web.mit.edu/~r/current/arch/i386_linux26/lib/R/library/diptest/html/dip.test.html)</sup> Silverman 临界带宽检验使用 \( h_{\text{crit}} \)，即核密度估计至多具有一个众数时的最小带宽。<sup>[4](https://pmc.ncbi.nlm.nih.gov/articles/PMC10064666/)</sup> 两种检验均以单峰性为原假设、多峰性为备择假设。<sup>[4](https://pmc.ncbi.nlm.nih.gov/articles/PMC10064666/)</sup> 浸入检验有一个有记载的弱点：它过于保守，而且截至记载该问题的论文写作之时，一种推荐的校准方法尚未在标准软件中实现。<sup>[4](https://pmc.ncbi.nlm.nih.gov/articles/PMC10064666/)</sup>

## 解释与建模后果

众数数目可以揭示数据中的子总体或混合。<sup>[18](https://romainpascual.fr/teaching/dsaidams/Session11/11_analysistocommunication.pdf)</sup> 一个著名例子是 1970 年国家收入分布，其直方图显示两个众数，一个约在每天 2 美元处，另一个约在每天 32 美元处，反映的是穷国与富国两个不同群体，而非以平均收入为中心的单一总体。<sup>[19](https://rafalab.dfci.harvard.edu/dsbook/gapminder.html)</sup>

**建模选择随诊断而定。** 若混合模型可信，正态混合模型可用最小二乘法或最大似然法拟合。<sup>[12](https://www.itl.nist.gov/div898/handbook/toolaids/pff/E-Handbook.pdf)</sup> 一种非参数替代方法是众数聚类，它将簇定义为密度众数的吸引域：最陡上升路径通向同一众数的点被归为一簇，而无需显式建模每个簇的密度。<sup>[20](https://www.jmlr.org/papers/volume8/li07a/li07a.pdf)</sup> 以这种方式处理多峰性，而非用单一均值概括数据，可以保留峰值所代表的结构。

## References

1. [Weisstein, Eric W. "Multimodal Distribution." Wolfram MathWorld](https://mathworld.wolfram.com/MultimodalDistribution.html)
2. [Mode, Encyclopedia of Mathematics](https://encyclopediaofmath.org/wiki/Mode)
3. [Multimodal, Mathematics, Fermi](https://beta.fermi.ai/math/multimodal)
4. [Sparse clusterability: testing for cluster structure in high dimensions, PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC10064666/)
5. [Testing for multimodality, Computational Statistics & Data Analysis 18(5):499-512 (1994)](https://www.sciencedirect.com/science/article/pii/0167947394900809/pdf?md5=97c4a908dab5714a3fe0d3b32d6c1305&pid=1-s2.0-0167947394900809-main.pdf)
6. [Histogram Interpretation: Bimodal Mixture of 2 Normals, NIST/SEMATECH Engineering Statistics Handbook](https://www.itl.nist.gov/div898/handbook/eda/section3/eda33a5.htm)
7. [Mode (statistics), Al-Kashi statistical background](https://www.ar-php.org/stats/al-kashi/doc/Al-Kashi_Background_Statistics.pdf)
8. [Izenman, Modern Multivariate Statistical Techniques (Springer)](https://www.stat.yale.edu/~jtc5/312_612/readings/modern-multivariate_Izenman.pdf)
9. [Mode-finding for mixtures of Gaussian distributions](https://citeseerx.ist.psu.edu/document?doi=217e0bc4390ab255956f3ca212ee242d3ac526a7&repid=rep1&type=pdf)
10. [At least seven modes in a heteroscedastic three-component bivariate Gaussian mixture, arXiv](https://arxiv.org/abs/2608.01776)
11. [How Many Modes Can a Mixture of Gaussians with Uniformly Bounded Means Have?, arXiv](https://arxiv.org/abs/2005.01580)
12. [NIST/SEMATECH e-Handbook of Statistical Methods, Exploratory Data Analysis](https://www.itl.nist.gov/div898/handbook/toolaids/pff/E-Handbook.pdf)
13. [Histogram Interpretation: Symmetric and Bimodal, NIST Engineering Statistics Handbook](https://itl.nist.gov/div898/handbook/eda/section3/histogr4.htm)
14. [Kernel Density Estimation, ScienceDirect Topics overview](https://www.sciencedirect.com/topics/mathematics/kernel-density-estimation)
15. [Density estimation, Computational Statistics with R](https://cswr.nrhstat.org/density)
16. [Silverman, B. W. (1981). Using Kernel Density Estimates to Investigate Multimodality. JRSS Series B 43(1):97-99](https://doi.org/10.1111/j.2517-6161.1981.tb01155.x)
17. [Hartigan & Hartigan (1985), The dip test of unimodality, as discussed in an AEA conference paper](https://www.aeaweb.org/conference/2011/retrieve.php?pdfid=403)
18. [Data analysis lecture notes, unimodal vs multimodal distributions](https://romainpascual.fr/teaching/dsaidams/Session11/11_analysistocommunication.pdf)
19. [Data visualization in practice, Introduction to Data Science (Gapminder income distributions)](https://rafalab.dfci.harvard.edu/dsbook/gapminder.html)
20. [Li, J. et al. Nonparametric Modal Clustering, Journal of Machine Learning Research](https://www.jmlr.org/papers/volume8/li07a/li07a.pdf)
21. [MACP: How many modes can a Gaussian mixture have?](https://www.cs.toronto.edu/~miguel/research/GMmodes.html)
22. [R: Hartigans' Dip Test for Unimodality](https://web.mit.edu/~r/current/arch/i386_linux26/lib/R/library/diptest/html/dip.test.html)

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

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Probability theory › Probability distributions › Distribution families and classification › Support types and shape classification

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/multimodal-distribution

English original: https://www.edgepedia.org/multimodal-distribution
