Skip to content

tamasflamich/2020_benfords

 
 

Repository files navigation

First digit visualization of in selected counties/cities in the 2020 presidential election.

Jupyter notebooks to analyze various precincts/wards for the 2020 election. Each notebook has either a source URL for the dataset or a link to the spreadsheet that was downloaded and parsed.

Benford's Law, also called the Newcomb–Benford law, the law of anomalous numbers, or the first-digit 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. For example, 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% of the time. 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.

Plots of the first digits of counts in various precincts and wards for selected counties/cities.

Fulton County, GA:

Fulton County

Miami-Dade, FL

Miami-Dade

Milwaukee, WI

Milwaukee

Chicago, IL

Chicago

Allegheny, PA

Allegheny

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 100.0%