Birthday Paradox states that in a group of 23 people there is a 50% chance that two people will share the same birthday date. This appears counterintuitive at first glance but perhaps less so after you compare all 23 birthday dates to each other and realize just how many comparisons you had to make. As a group of 23 people gives you a total of 253 possible pairs. 

This application allows you to test out the math behind this paradox in practice. It can generate a group of people and assign everyone a random birthday date. Afterwards it checks if some dates in the group are matching and stores the results. Results are then used to calculate statistics which can be compared to the math. 

*Note: This simulation generates birth dates in an idealistic, unbiased way. In reality, birthdays are not uniformly distributed. There are biases towards some seasons of the year.

Shortcuts

Esc (Double Tap on phone) - Brings on menu with explanations

Keyboard shortcut: Q - Disables limitation of group size. Application is not really built for this but this way you can check numbers of pairs or chance with larger groups of people then 100. 

Note: Simulation does not work with larger group than 100.


Keyboard shortcut: W - Unlocks the possibility to sample the sample. On click it will run through all the possible sample sizes chosen amount of time.


In Android version, sampling function is limited to just 10 samples per run. (Larger samples were overheating my phone way to much) 

StatusReleased
CategoryTool
PlatformsHTML5, Windows, macOS, Android
Rating
Rated 5.0 out of 5 stars
(1 total ratings)
AuthorBrain Feast
GenreSimulation
Made withUnity
TagsGenerator, Math, Unity

Download

Download NowName your own price

Click download now to get access to the following files:

Birthday Paradox Simulator - Windows 32x 19 MB
Birthday Paradox Simulator - Windows 64x 22 MB
Birthday Paradox Simulator - Android 20 MB
Birthday Paradox Simulator - MacOs 22 MB

Comments

Log in with itch.io to leave a comment.

(+1)(-1)

really cool to mess around with this! good effort!