# 德国坦克问题

德国坦克问题是一个统计学问题：当总体规模 N 未知、而只观测到由 k 个序列号组成的随机样本时，如何估计这批以 1 到 N 连续编号的物品的总体数量。该问题得名于第二次世界大战期间盟军利用缴获装备上的序列号估计德国坦克产量的做法；此后它成为统计估计教学中的标准案例，因为频率学派方法与贝叶斯方法会给出不同但各有解释力的答案。

| 要点 | 详情 |
|---|---|
| 问题 | 从无放回抽取的 k 个值组成的样本中，估计离散均匀分布的最大值 N；观测到的最大值 m 是 N 的充分统计量<sup>[1](https://www.bayesianstatistics.com/German_Tank_Problem)</sup> |
| 频率学派估计量 | 最小方差无偏估计量为 \( \hat{N} = m + m/k - 1 \)，由利奥·古德曼（Leo Goodman）导出；它等于样本最大值加上各观测值之间的平均间隔<sup>[2](https://link.springer.com/article/10.1007/s00283-023-10274-6)</sup> |
| 历史起源 | 1943 年初，美国驻伦敦大使馆经济战部开始分析缴获德国装备上的标记与序列号，起初是轮胎，后来扩展到坦克、卡车、火炮、飞行炸弹和火箭<sup>[3](https://www.tandfonline.com/doi/abs/10.1080/01621459.1947.10501915)</sup> |
| 精度示例 | 1940 年 6 月，按序列号估计的月产量为 169 辆，情报估计为 1000 辆，德国档案记载为 122 辆；1942 年 8 月，三个数字分别为 327、1550 和 342<sup>[4](https://cms.dm.uba.ar/academico/materias/2docuat2018/probabilidades_y_estadistica_C/GTP.pdf)</sup> |
| 贝叶斯形式 | 贝叶斯解法为每个可能的总体规模赋予一个后验概率，把 N 的先验与观测序列号的似然结合起来<sup>[2](https://link.springer.com/article/10.1007/s00283-023-10274-6)</sup> |
| 扩展 | 各类变体涵盖起始序列号未知（由样本的跨度来估计）的情形，以及多家工厂各自使用互不重叠的序列号区间的情形<sup>[5](https://arxiv.org/abs/2101.08162)</sup><sup> • </sup><sup>[6](https://arxiv.org/abs/2403.14881)</sup> |

## 历史背景

第二次世界大战期间，盟军需要估计德国坦克及其他军事装备的产量，以便制定战略和轰炸计划。常规方法——包括外推战前的制造能力、秘密来源的情报以及审讯战俘——所得出的估计要么不可靠，要么自相矛盾<sup>[2](https://link.springer.com/article/10.1007/s00283-023-10274-6)</sup>。

德国在其军事装备上标注序列号，以及表明制造日期和地点的代码，本意是服务于质量控制和备件管理。盟军从缴获坦克的底盘、发动机、变速箱和负重轮上收集序列号，也从缴获的记录——如坦克日志和修理厂文件——中收集<sup>[2](https://link.springer.com/article/10.1007/s00283-023-10274-6)</sup>。变速箱编号尤其有用，因为每种坦克型号使用的是一到两条连续递增的编号序列；而底盘编号是按区块发放、为不同型号预留的，因此底盘序列中的空缺反映的是归档惯例，而非产量<sup>[4](https://cms.dm.uba.ar/academico/materias/2docuat2018/probabilidades_y_estadistica_C/GTP.pdf)</sup>。

这项分析并不止于给出一个点估计。德国生产当局按每 100 个序列号为一个区块分配给各制造商，而这些区块往往并未全部生产完，因此分析人员考察每个区块内观测到的编号分布，以估计该区块被用到了什么程度<sup>[4](https://cms.dm.uba.ar/academico/materias/2docuat2018/probabilidades_y_estadistica_C/GTP.pdf)</sup><sup> • </sup><sup>[7](https://doi.org/10.1007/s44199-025-00125-y)</sup>。序列号分析还揭示了生产厂家的数量与相对重要性、供应链的长度，以及产量随时间的变化<sup>[4](https://cms.dm.uba.ar/academico/materias/2docuat2018/probabilidades_y_estadistica_C/GTP.pdf)</sup>。

一项早期结果显示了常规情报对德国实力的高估程度：当时公认的德国坦克累计产量估计约为 40,000 辆，而序列号分析表明不超过 14,000 辆；公认的 1942 年年产量约为 18,000 辆，序列号估计则为 3,400 辆<sup>[4](https://cms.dm.uba.ar/academico/materias/2docuat2018/probabilidades_y_estadistica_C/GTP.pdf)</sup>。

## 估计量

在教科书式的表述中：N 辆坦克的序列号为 1 到 N，缴获其中 k 辆作为样本，m 是观测到的最大序列号。样本最大值是 N 的最大似然估计量，但它存在向下的偏差，因为 m 永远不可能超过 N<sup>[2](https://link.springer.com/article/10.1007/s00283-023-10274-6)</sup>。

最小方差无偏估计量由统计学家利奥·古德曼（Leo Goodman）导出——他后来以分类数据分析方面的工作闻名——其形式为

\[ \hat{N} = m + \frac{m}{k} - 1. \]

直观的解释是：k 个观测值把 1 到 N 的范围分成 k + 1 个间隔（包括最大值之上的那个间隔），平均而言这些间隔大小相等；m/k − 1 就是平均间隔，加上它是为了补偿样本最大值的负偏差<sup>[2](https://link.springer.com/article/10.1007/s00283-023-10274-6)</sup><sup> • </sup><sup>[1](https://www.bayesianstatistics.com/German_Tank_Problem)</sup>。根据莱曼–谢费定理（Lehmann–Scheffé theorem），该估计量是最小方差无偏估计量；最大值 m 是 N 的充分统计量，因此样本的其他任何特征都不会增加关于总体规模的信息<sup>[7](https://doi.org/10.1007/s44199-025-00125-y)</sup><sup> • </sup><sup>[1](https://www.bayesianstatistics.com/German_Tank_Problem)</sup>。

古德曼还基于样本最大值的分布，导出了 N 的双侧置信区间<sup>[2](https://link.springer.com/article/10.1007/s00283-023-10274-6)</sup>。

## 贝叶斯方法

贝叶斯处理把 N 视为具有先验概率质量函数的随机变量，用观测序列号的似然对它进行更新，从而得到关于各种可能总体规模的后验分布。在无放回均匀抽样下，似然正比于一个下降阶乘 \( 1/(n)_k \)，后验则在似然与先验之间取得平衡<sup>[2](https://link.springer.com/article/10.1007/s00283-023-10274-6)</sup>。采用弥散先验时，数据占主导；随着缴获坦克数量增加，先验的影响逐渐缩小。后验的离散程度量化了残余的不确定性，可信集或 N 超过某一给定阈值的概率可直接由此得出<sup>[2](https://link.springer.com/article/10.1007/s00283-023-10274-6)</sup>。

对同一组数据，频率学派的点估计与贝叶斯的点估计可能不同，因为二者优化的标准不同：频率学派估计量是最小方差无偏估计量，其最优性是在无偏估计量的范围内、而非在全部估计量中成立的；而贝叶斯后验均值最小化的是后验下的期望平方误差<sup>[1](https://www.bayesianstatistics.com/German_Tank_Problem)</sup><sup> • </sup><sup>[9](https://mathworld.wolfram.com/GermanTankProblem.html)</sup>。

## 与德国档案的对照精度

战后，德国官方生产统计数据得以公开，使战时的估计可以核验。就月度坦克产量而言，序列号估计与后来从施佩尔部（Speer Ministry）档案中查得的数字相当接近，而常规情报估计则高出数倍<sup>[4](https://cms.dm.uba.ar/academico/materias/2docuat2018/probabilidades_y_estadistica_C/GTP.pdf)</sup>：

| 月份 | 序列号估计 | 情报估计 | 德国档案 |
|---|---|---|---|
| 1940 年 6 月 | 169 | 1000 | 122 |
| 1941 年 6 月 | 244 | 1550 | 271 |
| 1942 年 8 月 | 327 | 1550 | 342 |

被广泛引用的“估计 246 辆、实际 245 辆”的月产量对比，指的是 1940 年 6 月至 1942 年 9 月的月平均产量，且出自 2006 年《卫报》的一篇专栏文章，而非拉格尔斯与布罗迪（Ruggles and Brodie）的原始论文<sup>[8](https://www.mora-munoz.com/gathering-financial-intelligence-with-simple-math)</sup>。

就豹式（五号）坦克而言，对负重轮序列号的分析表明，到 1944 年 2 月其装配速度为每月 270 辆；德国档案后来显示该月实际产量为 276 辆<sup>[4](https://cms.dm.uba.ar/academico/materias/2docuat2018/probabilidades_y_estadistica_C/GTP.pdf)</sup>。在七类军事装备中，超过 90% 的单项估计误差小到不足以妨碍分析，而错得离谱的估计往往偏低<sup>[4](https://cms.dm.uba.ar/academico/materias/2docuat2018/probabilidades_y_estadistica_C/GTP.pdf)</sup>。

## 假设与扩展

该方法假定观测到的序列号是从总体中均匀随机抽取的样本，即每辆坦克被缴获的可能性相同。在历史情境中这一假设是脆弱的，因为能否缴获取决于坦克的部署地点；然而该估计量与德国档案对照表现良好，说明它对适度偏离均匀抽样的情形具有一定稳健性<sup>[7](https://doi.org/10.1007/s44199-025-00125-y)</sup>。古德曼提出了针对给定样本检验均匀抽样假设的方法<sup>[2](https://link.springer.com/article/10.1007/s00283-023-10274-6)</sup>。

该问题存在若干扩展。当最小序列号未知时，用观测到的最小值与最大值之间的跨度取代最大值，估计量改为除以 k − 1 而非 k，因为估计跨度至少需要两个观测值<sup>[5](https://arxiv.org/abs/2101.08162)</sup>。当生产分布在多家工厂、各自使用互不重叠的序列号区间时，可以把样本归属到各工厂，分别估计每个区间，再把各区间的大小相加；当工厂数量相对于样本量较小时，该方法已被证明有效<sup>[6](https://arxiv.org/abs/2403.14881)</sup>。该问题的一个相关特点是，样本量无法事先规划，因为可观测的样本受未知总体本身的限制；观测值是随时间零散到来的<sup>[7](https://doi.org/10.1007/s44199-025-00125-y)</sup>。

## 相关问题与后续应用

该问题在其他情境中有不少近亲。1942 年，阿兰·图灵（Alan Turing）与安德鲁·格里森（Andrew Gleason）讨论过如何从随机抽取的一批车牌号估计一座城镇里出租车的总数<sup>[2](https://link.springer.com/article/10.1007/s00283-023-10274-6)</sup>。同一框架适用于从顺序标识符估计任何有限隐藏集合的规模，包括银行的账户、机场的飞机起降架次、泄露的机密通信的范围、历史洪水记录所覆盖的时间跨度，以及社交网络的规模；生态学中的标志重捕法在数学上与之相关<sup>[2](https://link.springer.com/article/10.1007/s00283-023-10274-6)</sup><sup> • </sup><sup>[1](https://www.bayesianstatistics.com/German_Tank_Problem)</sup>。

在金融领域，可以用部分文件中诸如发票号或贷款编号之类的顺序标识符，以同样的方式估计某个交易对手已发行的总量；即使样本按金额被筛选过，数量估计仍能保持准确<sup>[8](https://www.mora-munoz.com/gathering-financial-intelligence-with-simple-math)</sup>。

## References

1. [German Tank Problem, BayesianStatistics.com](https://www.bayesianstatistics.com/German_Tank_Problem)
2. [Cory M. Simon (2023). A Bayesian Treatment of the German Tank Problem. The Mathematical Intelligencer 46:117–127.](https://link.springer.com/article/10.1007/s00283-023-10274-6)
3. [Richard Ruggles and Henry Brodie (1947). An Empirical Approach to Economic Intelligence in World War II. Journal of the American Statistical Association 42(237):72–91.](https://www.tandfonline.com/doi/abs/10.1080/01621459.1947.10501915)
4. [Ruggles and Brodie (1947), full text PDF.](https://cms.dm.uba.ar/academico/materias/2docuat2018/probabilidades_y_estadistica_C/GTP.pdf)
5. [George Clark, Alex Gonye, and Steven J. Miller (2021). Lessons from the German Tank Problem. arXiv:2101.08162.](https://arxiv.org/abs/2101.08162)
6. [Steven J. Miller, Kishan Sharma, and Andrew K. Yang (2024). The German Tank Problem with Multiple Factories. arXiv:2403.14881.](https://arxiv.org/abs/2403.14881)
7. [B. O'Neill (2025). The Distribution of Order Statistics Under Sampling Without Replacement. Journal of Statistical Theory and Applications 24:663–698.](https://doi.org/10.1007/s44199-025-00125-y)
8. [Carlos E. Mora (2026). Gathering Financial Intelligence With Simple Math. All on the Line.](https://www.mora-munoz.com/gathering-financial-intelligence-with-simple-math)
9. [German Tank Problem -- from Wolfram MathWorld](https://mathworld.wolfram.com/GermanTankProblem.html)

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

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

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/german-tank-problem

English original: https://www.edgepedia.org/german-tank-problem
