I recently discovered Benford's Law. I find it very fascinating. I'm wondering what are some of the real life uses of Benford's law. Specific examples would be great.


Solution 1:

Some of the data generated by Math Stack Exchange itself (and, presumably, by similar sites) ought to approximately follow Benford's law. These would include the distribution of first digits of

  1. Frequency of tag use,
  2. Number of votes for questions,
  3. User reputation,
  4. Number of views for questions.

This is because Benford's law applies to exponentially growing quantities, and the total number of all of these quantities ought to be growing exponentially. It's only approximate because of artifacts in the way that some of these quantities are determined and because you need several orders of magnitude in order to see Benford's law really kick in.

Anyway, I decided to test this for the first three. The first digits weren't actually that hard to compile because the site allows you to sort the first three from highest to lowest. (Unfortunately, it does not allow you to sort the fourth that way, and I don't feel like wading through 2200+ questions to collect the data.) Here are the results I got on the first three.

Tag Use

(Data collected October 25, 2010.)

alt text

Not a bad fit, especially when you consider that there are only three orders of magnitude represented in this measure. There are a disproportionately large number of tags that were created but only used once, which explains the larger frequency of 1 as a first digit.

Votes Per Question

(Data collected October 26, 2010.)

alt text

Also not a bad fit, especially since there are currently only two orders of magnitude represented in this measure. Also, I threw out the questions with 0 and negative numbers of votes.

User Reputations

(Data collected October 25 and 26, 2010.)

alt text

This is the worst fit of the three, as the frequency of 1 as a first digit is so much larger than the others. However, there are a very large number of users who have never posted a question or an answer and so have a rep of 1. And, for reasons unknown to me, there are also a large number of users who have a reputation of 101, despite never having asked or answered a question.

If you remove 1 as a possible first digit and then rescale the Benford law probabilities to consider only 2 through 9 as possible first digits then the picture looks like the following, which is a much better Benford fit.

alt text

Admittedly, none of these data sets would pass Pearson's chi-square test for goodness-of-fit with respect to the Benford probabilities at a reasonable level of significance. However, given some of the artifacts in the data and the fact that there are relatively few orders of magnitude represented, the fit with Benford's law is really not that bad.

Solution 2:

Forensic accountancy is a popular use, and is actually admissible as evidence in the USA.

Solution 3:

Here's an article from about a year ago in the German Economic Review, in which the authors use Benford's law to analyze economic data among countries using the euro. They find that Greece's economic data just before joining the euro differed significantly from the Benford's law predictions. The implication is that Greece may have manipulated their numbers in order to comply with the terms of the Maastricht Treaty (which sets criteria for full membership in the European Monetary Union). See, for instance, this blog post. I find this particularly interesting in light of Greece's recent financial troubles.

Here's the abstract from the article: "To detect manipulations or fraud in accounting data, auditors have successfully used Benford's law as part of their fraud detection processes. Benford's law proposes a distribution for first digits of numbers in naturally occurring data. Government accounting and statistics are similar in nature to financial accounting. In the European Union (EU), there is pressure to comply with the Stability and Growth Pact criteria. Therefore, like firms, governments might try to make their economic situation seem better. In this paper, we use a Benford test to investigate the quality of macroeconomic data relevant to the deficit criteria reported to Eurostat by the EU member states. We find that the data reported by Greece shows the greatest deviation from Benford's law among all euro states." (emphasis mine)

See also this question on quant.SE (where I first learned of this).