Skip to content

A mathematical law that predicts the frequency distribution of leading digits yields incredible results on the Youtube statistics dataset!

Notifications You must be signed in to change notification settings

Marta-Bar/Benfords-law

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Have you ever heard of Benford's law?

Benford's law is an observation about the frequency distribution of leading digits in many real-life sets of numerical data.

The law states that in many naturally occurring collections of numbers, the leading digit is likely to be small. In sets that obey the law, the number 1 appears as the leading significant digit about 30 % of the time, while 9 appears as the leading significant digit less than 5 %. If the digits were distributed uniformly, they would each occur about 11.1 % of the time. Benford's law also makes predictions about the distribution of second digits, third digits, digit combinations, and so on.

In this Jupiter notebook we upload different dasasets to see if the rule applies or not. The first striking result comes with some Youtube statistics... check the Notebook to find out more!

The notebook is also public on Kaggle: https://www.kaggle.com/martaba/benfordness

About

A mathematical law that predicts the frequency distribution of leading digits yields incredible results on the Youtube statistics dataset!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages