this post was submitted on 16 Aug 2023
101 points (87.4% liked)

Today I Learned

17785 readers
1463 users here now

What did you learn today? Share it with us!

We learn something new every day. This is a community dedicated to informing each other and helping to spread knowledge.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules (interactive)


Rule 1- All posts must begin with TIL. Linking to a source of info is optional, but highly recommended as it helps to spark discussion.

** Posts must be about an actual fact that you have learned, but it doesn't matter if you learned it today. See Rule 6 for all exceptions.**



Rule 2- Your post subject cannot be illegal or NSFW material.

Your post subject cannot be illegal or NSFW material. You will be warned first, banned second.



Rule 3- Do not seek mental, medical and professional help here.

Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.



Rule 4- No self promotion or upvote-farming of any kind.

That's it.



Rule 5- No baiting or sealioning or promoting an agenda.

Posts and comments which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.



Rule 6- Regarding non-TIL posts.

Provided it is about the community itself, you may post non-TIL posts using the [META] tag on your post title.



Rule 7- You can't harass or disturb other members.

If you vocally harass or discriminate against any individual member, you will be removed.

Likewise, if you are a member, sympathiser or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people, and you were provably vocal about your hate, then you will be banned on sight.

For further explanation, clarification and feedback about this rule, you may follow this link.



Rule 8- All comments should try to stay relevant to their parent content.



Rule 9- Reposts from other platforms are not allowed.

Let everyone have their own content.



Rule 10- Majority of bots aren't allowed to participate here.

Unless included in our Whitelist for Bots, your bot will not be allowed to participate in this community. To have your bot whitelisted, please contact the moderators for a short review.



Partnered Communities

You can view our partnered communities list by following this link. To partner with our community and be included, you are free to message the moderators or comment on a pinned post.

Community Moderation

For inquiry on becoming a moderator of this community, you may comment on the pinned post of the time, or simply shoot a message to the current moderators.

founded 1 year ago
MODERATORS
 
all 41 comments
sorted by: hot top controversial new old
[–] funnystuff97@lemmy.world 30 points 1 year ago (2 children)

Great video on Benford's Law here. Matt goes into a good amount of detail outlining why this occurs, why it doesn't always apply, and what it means if data does/doesn't follow the Law.

[–] PipedLinkBot@feddit.rocks 9 points 1 year ago

Here is an alternative Piped link(s): https://piped.video/etx0k1nLn78

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source, check me out at GitHub.

Neat. Thanks for the share.

[–] blazera@kbin.social 30 points 1 year ago (2 children)

What the heck is real life number

[–] agamemnonymous@sh.itjust.works 21 points 1 year ago

An actual measured data point, as opposed to a randomly generated number. Also this principle applies specifically to the first digit. Overall the title is a complete mess.

Basically, when you gather a bunch of data points about real world quantitative phenomena (e.g. town population, lake surface area, etc), you find this distribution curve of leading digits where 1 is something like 30% most frequent, gradually decreasing down to 9 being least frequent.

This is called Benford's Law, it's basically an emergent property about how orders of magnitude work. It's useful because you can use it to detect fake data, since if your data faker doesn't know about it they'll generate fake data that looks random but doesn't follow this distribution.

[–] affiliate@lemmy.world 3 points 1 year ago

something that isn’t an imaginary life number

This is used to catch tax fraud. People who forge reciepts tend to use random numbers, so they stand out as outliers, and they get caught that way.

[–] Akasazh@feddit.nl 12 points 1 year ago

Title needs some work. I would suggest:

TIL about Benfords law: In many real life data-sets the leading number is '1' 30% of the time.

Also you could've included the wiki link in the post, so people could read up on what you just wrote:

https://en.wikipedia.org/wiki/Benford%27s_law

[–] JCSpark@lemmy.ca 10 points 1 year ago (2 children)

This is a bit weird. I was just listening to Infinity 2 today (great book. Totally recommend), and there's a section where the characters use Benford's Law to prove reality. I then had to look it up myself.

Just a super weird coincidence...unless Lemmy is listening to me...

[–] Ddhuud@lemmynsfw.com 8 points 1 year ago* (last edited 1 year ago) (1 children)

We are not listening to you Travis.

That had a 1 in a million chance, but I had to try.

[–] Siegfried@lemmy.world 5 points 1 year ago

It was worth the shot if you ask me, Michael

[–] Amaltheamannen@lemmy.ml 6 points 1 year ago

This is called the Baader–Meinhof phenomenon, or frequency illusion.

[–] spaduf@lemmy.blahaj.zone 5 points 1 year ago (4 children)

Does anybody know if this is a feature of a decimal system?

[–] Bolt@lemmy.world 13 points 1 year ago

I think it's a feature of all positional notation systems.

[–] lunarul@lemmy.world 3 points 1 year ago

The distribution shown in this post is for base 10, but Benford's Law includes distributions for other bases too. The wiki article linked in another comment goes into detail on that too.

[–] davidgro@lemmy.world 2 points 1 year ago

The percentages change. At the lower end, in binary every number that isn't 0 itself starts with a 1.

This fact is actually used to save one bit in the format that computers usually use to store floating point (fractional instead of integer) numbers.

[–] Mouselemming@sh.itjust.works 2 points 1 year ago

If you were in Base 12 or something it would still lean towards 1 but the percentage would be a little different.

[–] J12@lemmy.world 5 points 1 year ago (3 children)

So if I rolled a 10 sided dice 1000 times 30% of those rolls would be a 1?

[–] bane_killgrind@lemmy.ml 22 points 1 year ago (1 children)
[–] J12@lemmy.world 24 points 1 year ago (1 children)
[–] ssboomman@lemm.ee 7 points 1 year ago (2 children)

From what I understand it works like this.

Let’s say you have a series of numbers that represent real life data. In general the first number of all of these numbers will be a 1, 30% of the time.

[–] J12@lemmy.world 3 points 1 year ago

Thanks, that makes sense. I must be missing a link or article on my client otherwise I would’ve read it lol

[–] halvo317@sh.itjust.works -1 points 1 year ago (2 children)
[–] idiomaddict@feddit.de 4 points 1 year ago (1 children)

It applies to situations with more than one order of magnitude being counted, such as d20 rolls, 55% of which will start with a 1.

[–] halvo317@sh.itjust.works 1 points 1 year ago

The "1" of the "1000" is the real life number. He didn't pick "785" or "462".

[–] NotSpez@lemm.ee 1 points 1 year ago

I don’t know why you’re being downvoted.

[–] GenderNeutralBro@lemmy.sdf.org 6 points 1 year ago* (last edited 1 year ago) (1 children)

It works on things that operate on a logarithmic scale. It's odd how many real-world things fit that mold that don't intuitively seem like they would.

Another factor promoting it in real-world data sets is that they often have restricted ranges that favor lower numbers. Days of the month, for example, only go from 1 to 31. There's only one way for the leading digit to be 4, but there are eleven ways for the leading digit to be 1.

Another type of data includes values of varying ranges, which also favors lower leading numbers. Street numbers start at 1 and go up, ending at some point within a fairly large range in the real world. All of these ranges will have their fair share of leading 1s. They will NOT all have a fair share of leading 2s (what if it ended before 20?), and as you go up it gets progressively less likely. So if you took all street addresses, you'd expect to see more leading 1s than 9s.

Your theoretical dice roll is not such a case. You would expect a uniform distribution of leading numbers. This would hold true with a 99-sided die as well.

[–] GigglyBobble@kbin.social 3 points 1 year ago (1 children)

While that's true with a 10-sided die 20% of your rolls will start with a one and all other digits only have a 10% chance.

Oh, yes. Thanks for the correction!

[–] ooli@lemmy.world 1 points 1 year ago

No it is a property of real life thing. It come from the fact that most thing in real world, dont go over 30 or 300 so often. Like number of houses in a street.

[–] chickenhuggit@sh.itjust.works 5 points 1 year ago (1 children)
[–] bane_killgrind@lemmy.ml 17 points 1 year ago (1 children)

https://en.m.wikipedia.org/wiki/Benford%27s_law

Look at the logarithmic scale. This law has to do with number sets in the wild, so apparently the scaling is flat over the set of data they examined. If you look at the distribution of the number sets over the logarithmic scale, they are evenly distributed. If you looked at the same numbers on a linear scale, they would become more and more sparse as they grow in size.

[–] Pogbom@lemmy.world 20 points 1 year ago (4 children)

Cool! Now imagine I've got severe brain damage... can you explain that again?

[–] reverendsteveii@lemm.ee 24 points 1 year ago (2 children)

The further left you are in a number, the more likely it is that the digit will be small

[–] Sharpiemarker@feddit.de 10 points 1 year ago

What a great explanation! Thanks for dumbing it down.

Ahhhh yes. That's what my smooth brain needed. Dank ah.

[–] ShakeThatYam@lemmy.world 8 points 1 year ago (1 children)

In real life distributions you are always going to have situations where you fill up the bigger digits last, so it becomes less likely they show up. The best example of this is the population of cities. For cities between 100k and 999k you'll have a larger number of cities with 100k-300k because cities of those sizes are smaller and more common.

[–] lunarul@lemmy.world 1 points 1 year ago

Benford's law is about the leading digit, so it doesn't matter if the numbers are rounded or not.

[–] bane_killgrind@lemmy.ml 3 points 1 year ago

No problem!

So if you have a small amount of something, you'll have maybe 2, maybe 3, or 4, or 5, or 6, 7, 8, 9, 10, 11, 12, 13, 14 or so. If you have a medium amount of something, the numbers might be 20, or 30 ish, or 40 ish, 50s, 60s, 70s, 80s, 90s, 100ish, 110ish, 120 or so, around 130. Larger amounts of stuff end up being 200ish, 300, 400, 500, 600, 700, 800, 900, 1000ish, around 1100, 1200 something, 1300

All the numbers I've mentioned are about evenly spaced on this logarithmic scale. You can see that a bunch of them start with 1 just because of how big we think they are! It turns out there is a math reason for this, instead of just being about the weird way humans think.

[–] monk@lemmy.unboiled.info 3 points 1 year ago

Digits, not numbers.