Benford's Law Digit Analysis
Benford's law digit analysis compares the observed frequencies of leading or trailing digits in a set of amounts with the logarithmic Benford distribution to flag unusual patterns for audit follow-up.
벤포드 법칙 자릿수 분석은 금액 자료의 첫·둘째·첫 두·끝 두 자리 빈도를 로그 형태의 벤포드 분포와 비교해 감사로 더 살펴볼 이상 패턴을 찾는 방법입니다.
Do the invoice amounts in my ledger follow Benford's law, or are there suspicious digit spikes?
장부의 송장 금액이 벤포드 법칙을 따르는지, 의심스러운 자릿수가 튀는 곳이 있는지 확인할 수 있을까요?
The test compares observed first, second, first-two or last-two digit proportions with their expected values and summarises conformity by the mean absolute deviation, which Nigrini classifies as close, acceptable, marginal or nonconforming. Per-digit z statistics then point to the specific digit combinations that are over- or under-represented and deserve review.
When to use Benford's Law Digit Analysis
- You audit naturally occurring amounts such as invoices, expenses or transactions spanning several orders of magnitude.
- You want to rank digit combinations that are unusually frequent for targeted sampling.
- You need a conformity class that does not become significant just because the data set is large.
When to use something else
- Values are assigned numbers, prices with psychological thresholds or amounts with fixed limits; use a duplicate and round-number analysis instead.
- There are fewer than a few hundred amounts; use a first-digit test only or review the records directly.
Assumptions and requirements
- Values span at least three to four orders of magnitude and are not capped.
- Amounts below the minimum (default 10) are excluded because their digits are unreliable.
- Positive and negative amounts are analysed separately.
What the analysis reports
- Observed versus expected digit proportions with per-digit z (continuity corrected)
- Chi-square test, Kolmogorov–Smirnov D with critical value, and MAD with Nigrini conformity class
- Counts of duplicated values and round numbers
- MAD by group when a group column is given
- Bar chart of the largest digit deviations
How to report it
A Benford first-two-digit test on [value] amounts gave MAD = [value] ([value]), χ²([value]) = [value], p = [value]; [value] digit combinations deviated significantly.
Common variants
자주 쓰는 설정
The same analysis with settings already chosen. Each runs Benford's Law Digit Analysis itself, at the same price.
- Benford Second-Digit Test — test set to “second”
Related methods
- Chi-Square Goodness-of-Fit Test
- Kolmogorov-Smirnov Test
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with SciPy.
독립 계산. SciPy 대조 참조 시험 1건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Benford's Law Digit Analysis on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable
- Price
- 250 credits for one analysis up to 10,000 rows (complexity level 2); larger or wider data costs more. Optional methodologist review: 1200 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.