43

"Live link: https://perthirtysix.com/tool/birthday-paradox

I built a sandbox that lets you simulate and understand the birthday paradox and few related problems. The birthday paradox tells us that in a room of 23 people, there are 50/50 odds that 2 people will have the same birthday (assuming a non-leap year and that birthdays are totally random, which they aren’t exactly).

I’ve always found these types of problems really interesting and counterintuitive. The “aha” moment for me was realizing that any two people sharing a birthday satisfies the problem, and at 23 people there are 253 different combinations of pairs between them.

I hope you enjoy messing around with the tool!

Built using Vue and p5.js, with probability formulas adapted from Wikipedia."

Source: https://old.reddit.com/r/dataisbeautiful/comments/1f80chg/oc_i_built_an_interactive_simulation_of_the/

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here
this post was submitted on 04 Sep 2024
43 points (100.0% liked)

Data is Beautiful

1138 readers
4 users here now

Be respectful

founded 4 months ago
MODERATORS