A little Flash application provides a compelling example of Benford's Law, making it possible to see intuitively something that is otherwise quite abstract.
Yesterday, I blogged about Benford's Law, which predicts that in a set of numbers, numbers that begin with the numeral 1 will appear more often than other numbers. This can be used to catch cheats by checking to see if the data they give in their tax-returns, research data-sets or homework have more numbers that start with 1 than other numerals.
William Fawcett, who made the Flash app, sez, "A couple of years ago I attended an excellent lecture by Simon Singh - he writes popular science and maths books like Fermat's Last Theorem and Big Bang - and this was one of the mathematical curiosities he mentioned. I was intrigued but sceptical, so built a quick Flash app to test it."
Update: Gary sez, " If you use a close approximation of PI (say 3.14159265) as a factor, you can avoid getting numbers that start with 1 at all. Using a factor of 3.14159265 and a start number of 3, you get no numbers starting with 1. Change the start number to 6, you get only numbers starting with 1, 4, or 5. I don't know how the modeler is coded, so I wonder whether this is a quirk in the modeler or an exception to the rule."
Update 2: Bob solves the mystery (also thanks to Bernardo for his explanation):
This result comes not because he used pi, but because pi is an approximation of the square root of 10. (3.16 is closer than 3.14.) If you use 3.16 as the multiplying factor (31.6 and 316 also work), the signifigant digit will always be one of two numbers (this works best if you use a single-digit number for the start number).
If you use 1 or 10 or 100 as the multiplying factor, of course all numbers will start with the same digit (the starting digit of the start number).
If you use the cube root of a power of 10 such as 2.154 (21.54, 215.4, and 2154 also work), all results will start with one of 3 digits. And so on.
The results using decimal approximations depend on the Flash app stopping when the 25th occurence is reached. Since an exact square or cube root of ten can't be expressed as a decimal, the distribution would eventually comply with Benford's Law if the 25th occurence limitation was removed.
This gadget does exactly as promised: it looks like a thumbdrive (sort of) and fries the circuitry of any computer it’s plugged into. It’s made from camera flash parts, is charged with a standard AA battery, and delivers a 300V zap of DC destruction to the port for all your USB-murdering needs. Note that this […]
The Cobham catalog, exposed by The Intercept, features countless pages of surveillance gadgets sold to U.S. police to spy on American citizens: tiny black boxes with a big interest in you. In the creepily bland feature lists and nerdy product names is a whisper of a dark future; perhaps darker than anyone can imagine.
This image depicts the most commonly-found stylesheet colors on the web’s top sites—Paul Hebert did an amazing amount of analysis and this is just one of the intriguing visualizations he came up with. Most of these are obvious staples, especially HTML red and blue, though it’s interesting how far the blue “cluster” is from the […]
The Boing Boing Store’s Gift Guide is full of ideas for pretty much anyone in your life like hipster ice cub trays, Xbox controllers, Halo Boards, and even diamond necklaces. As always, all products in the Boing Boing Store come at great discounts, too. Shop by price bucket starting at under $20. Under $20:Bloxx Jumbo Ice Trays […]
Unlike traditional lighters, the SaberLight features an electronic plasma beam that’s both rechargeable and butane-free. This sleek lighter is even approved by TSA, so you’ll never be stuck buying lighters you’ll just have to throw away partially used. For some people, like me, this is a pretty big game-changer. The SaberLight’s beam is actually both hotter and cleaner […]
Holiday shopping is in full swing, and the Striiv Touch is one of the best gift ideas I’ve landed on. Its simple design works for females and males, and its wide range of features makes it suitable for even the non-fitness enthusiasts in your life.Unlike traditional fitness trackers, the Striiv Touch also acts as a smartwatch. It […]