Do Thai Revenue Totals Follow Benford's Law? 2026 Test
In short
Yes, mostly. Across 1,196 five-digit industry codes with revenue, 28.3 percent of totals start with the digit 1, against 30.1 percent that Benford's law predicts, as of 17 July 2026. The chi-square statistic is 7.18, well under the 15.51 pass line. The 77 provinces pass the same test with 11.79, though a sample that small is a weak judge. The registry totals look like naturally generated numbers.
Do Thai revenue totals follow Benford's law?
They do, and the industry-code result is surprisingly clean. Benford's law says the leading digit of naturally growing numbers is 1 about 30.1 percent of the time and 9 only 4.6 percent of the time (Hill, 1995). Among 1,196 five-digit industry codes, revenue totals begin with 1 in 339 cases, or 28.3 percent. The digit 9 leads 56 totals, or 4.7 percent. Summed across all nine digits, the chi-square statistic is 7.18. The pass threshold for eight degrees of freedom is 15.51. A mean absolute deviation of 0.0073 sits in the range most practitioners call acceptable conformity. The provinces tell a looser story, which the next sections unpack.
Leading digit of revenue totals across 1,196 industry codes
- Digit 128
- Digit 218
- Digit 314
- Digit 49
- Digit 59
- Digit 67
- Digit 75
- Digit 84
- Digit 95
Figures in percent of codes.
Benford expects 30.1, 17.6, 12.5, 9.7, 7.9, 6.7, 5.8, 5.1 and 4.6 percent for digits 1 to 9. The observed bars hug that staircase.
Observed against expected leading digits
| Digit | Benford share | Provinces observed | Provinces share | Provinces expected | Codes observed | Codes share | Codes expected |
|---|---|---|---|---|---|---|---|
| 1 | 30.1% | 20 | 26.0% | 23 | 339 | 28.3% | 360 |
| 2 | 17.6% | 11 | 14.3% | 14 | 213 | 17.8% | 211 |
| 3 | 12.5% | 11 | 14.3% | 10 | 167 | 14.0% | 149 |
| 4 | 9.7% | 8 | 10.4% | 8 | 112 | 9.4% | 116 |
| 5 | 7.9% | 13 | 16.9% | 6 | 104 | 8.7% | 95 |
| 6 | 6.7% | 4 | 5.2% | 5 | 89 | 7.4% | 80 |
| 7 | 5.8% | 6 | 7.8% | 5 | 64 | 5.4% | 69 |
| 8 | 5.1% | 3 | 3.9% | 4 | 52 | 4.3% | 61 |
| 9 | 4.6% | 1 | 1.3% | 4 | 56 | 4.7% | 55 |
Counts and shares of revenue totals by first digit for 77 provinces and 1,196 industry codes, with Benford expected counts, as of 17 Jul 2026.
Why the provinces look rougher
Seventy-seven numbers cannot fill nine bins evenly. The province chi-square is 11.79, under the 15.51 line, so the pattern passes. The mean absolute deviation is 0.0299, which the same rule of thumb would flag as nonconforming. The two verdicts disagree because small samples swing the deviation measure hard. The visible bump is the digit 5, which leads 13 provinces against about 6.1 expected. The digit 1 leads 20 provinces against about 23.2 expected. Province totals do span roughly 3.9 orders of magnitude, from 6.06 billion baht in Mae Hong Son to 50.5 trillion baht in Bangkok, and that wide spread is what lets Benford's law work at all. The 21 industry sections are too few to test, with a chi-square of 2.55 on 21 totals, so this page does not lean on them.
Why this matters
Leading-digit tests are a cheap smoke alarm for a dataset. If registry aggregates had been rounded by hand, capped, or stitched from mismatched sources, the digits would bunch up in the wrong places. They do not. That gives analysts one more reason to trust the totals behind every Max Data page, from province rankings to industry shares. It does not prove every filed statement is accurate, because a clean aggregate can hide individual errors that cancel out. It does say the machinery that turns millions of filings into province and industry totals is not distorting the numbers it hands back. Treat a future failure of this test as a prompt to inspect the pipeline, not as a verdict on any company.
Definitions
- Benford's law
- The observation that the first digit d of many natural datasets appears with probability log10 of 1 plus 1 over d, so 1 leads about 30.1 percent of the time.
- Chi-square statistic
- A measure of how far observed counts sit from expected counts. With nine digits the pass line at the 5 percent level is 15.51.
- Mean absolute deviation
- The average gap between observed and expected digit shares. By a common rule of thumb, under 0.006 is close conformity, 0.006 to 0.012 is acceptable, 0.012 to 0.015 is marginal, and over 0.015 is nonconforming.
- Aggregate
- A total built by adding the values of many individual companies, such as all revenue in a province.
- TSIC
- The Thailand Standard Industrial Classification, which assigns each company a five-digit industry code.
Assumptions
- Only companies with filed financial statements contribute to revenue totals.
- One unnamed province bucket and codes with zero revenue are excluded.
- A pass on aggregates does not validate individual filings.
- Mean absolute deviation is unreliable for samples as small as 77.
- The 21 industry sections are too few for a meaningful test.
Methodology
Revenue totals come from the Department of Business Development registry aggregates for each of 77 named provinces and each five-digit TSIC industry code with positive revenue, computed on 17 July 2026. One unnamed province bucket and codes with zero revenue were excluded. For each total, the first significant digit was taken and counted. Observed counts were compared with Benford's expected counts using a chi-square statistic with eight degrees of freedom and a mean absolute deviation of shares. Totals are aggregates of filed financial statements, not individual company values, so this tests aggregate behaviour only.
How we verified this
- Industry-code digit counts 339, 213, 167, 112, 104, 89, 64, 52 and 56 sum to 1,196, the number of codes with positive revenue.
- Province digit counts 20, 11, 11, 8, 13, 4, 6, 3 and 1 sum to 77, which is 78 positive rows minus one unnamed bucket whose total starts with 2.
- Share of digit 1 among codes recomputed as 339 divided by 1,196 equals 28.3 percent. Benford expects log10 of 2, or 30.1 percent.
- Chi-square recomputed as the sum of squared observed minus expected over expected: 7.18 for codes and 11.79 for provinces, both under the 5 percent critical value of 15.51 for 8 degrees of freedom.
- Mean absolute deviation recomputed as 0.0073 for codes and 0.0299 for provinces.
- Industry-code revenue sums to 80,081,498,171,717 baht. The 77 named provinces sum to 80,057,095,437,018 baht, and adding the unnamed bucket of 24,402,734,699 baht gives the same total, which is 99.92 percent of the national total of 80,146,498,562,464 baht.
- Revenue spread recomputed as 50,545,042,342,775 divided by 6,058,057,941 equals about 8,343, or 3.9 orders of magnitude.
References
- Department of Business Development. (2026). Registered juristic persons and financial statement aggregates. Ministry of Commerce, Thailand. https://www.dbd.go.th/
- Hill, T. P. (1995). A statistical derivation of the significant-digit law. Statistical Science, 10(4), 354-363. https://doi.org/10.1214/ss/1177009869
- Benford, F. (1938). The law of anomalous numbers. Proceedings of the American Philosophical Society, 78(4), 551-572. https://www.jstor.org/stable/984802
Frequently asked questions
What is Benford's law?
It is the pattern that in many naturally occurring number sets the digit 1 leads about 30.1 percent of values and the digit 9 leads about 4.6 percent (Hill, 1995).
Do Thai industry-code revenue totals pass the test?
Yes. The chi-square is 7.18 against a 15.51 threshold, and 28.3 percent of the 1,196 totals start with 1.
Do province totals pass?
On chi-square, yes at 11.79. On mean absolute deviation they look rough at 0.0299, which is expected with only 77 values.
Does passing prove the data is correct?
No. It shows the aggregates behave like naturally generated numbers, not that every filing is accurate.
Cite this page
Chatpong L. (2026). Do Thai Revenue Totals Follow Benford's Law? 2026 Test. Max Data Insights. https://maxdatathailand.com/insights/do-thai-revenue-figures-obey-benfords-law-across-provinces-and-industry-codes-2026
Data & corrections
Download the data (CSV)Spot something off, or want to ask about the data? Email insights@maxsolutions.co.th. We publish corrections.
Written by
Chatpong L.Founder, Max Data, Max Solutions Co., Ltd.
Chatpong L. leads Max Data, a company-intelligence platform built on Thailand's official business registry. He writes about the structure of the Thai economy using primary registry data. His work covers company formation, industry concentration, and regional business activity.
Related insights
This page reports company-level and aggregate statistics only. It names no individuals and makes no claims about any person. Figures are provided for information and may be revised as source data updates.
