本福特定律
本福特定律预测首位数字并非均匀分布:1 出现约 30%。比较真实数据集与理论曲线。
6 分钟难度 2/3交互演示区域不展示广告。
Samples400Most common1Max digit 130.0%Total deviation0.5%
Cyan bars are the observed leading-digit frequencies; amber outlines are Benford’s prediction. In data spanning many orders of magnitude, 1 is expected about 30% of the time and 9 under 5%. Small samples fluctuate more, but they converge as the sample grows.
你看到的是什么
1
对许多自然数据集,首位数字为 d 的概率是 log₁₀(1 + 1/d)。
2
因此 1 约为 30.1%,2 约为 17.6%,而 9 只有约 4.6%。
3
该定律出现在跨越多个数量级的数据中,例如人口、收入和物理常数。
为什么重要
本福特定律用于法务会计、欺诈检测和数据质量检查。明显偏离可能提示数据被人为编造。
复杂度与细节
统计 N 个值的首位数字为 O(N),理论分布为 O(1)。
常见问题
所有数据都服从本福特定律吗?+
不是。它最适合跨越多个数量级的数据。均匀随机数或范围很窄的数值不服从该定律。
本福特定律能证明欺诈吗?+
不能。它只能提示异常,值得进一步调查。合法数据也可能偏离,造假者也可能刻意拟合。