100xOdds
100xOdds
  • Threads: 663
  • Posts: 4559
Joined: Feb 5, 2012
November 19th, 2024 at 5:19:29 PM permalink
https://en.wikipedia.org/wiki/Birthday_problem

With 23 individuals, there are ⁠
(23 × 22)/2⁠ = 253 pairs to consider, far more than half the number of days in a year.

If that's the case, why 23?
365 days in a year.

20 individuals:
(20x19)/2 = 190, which is still more than half the number of days in a year.

Why not 20 people?
Craps is paradise (Pair of dice). Lets hear it for the SpeedCount Mathletes :)
AutomaticMonkey
AutomaticMonkey
  • Threads: 5
  • Posts: 170
Joined: Sep 30, 2024
November 19th, 2024 at 6:17:35 PM permalink
Because there will be some sets with more than one shared birthday. So if you repeated the experiment 1,000,000 times with sets of 183 pairs to test, there will be 500,000 total shared birthdays, but because some sets have more than one there has to be more than 50% with zero, and we are looking for a probability per test of 50%.
unJon
unJon
  • Threads: 16
  • Posts: 4806
Joined: Jul 1, 2018
November 19th, 2024 at 9:41:47 PM permalink
Quote: 100xOdds

https://en.wikipedia.org/wiki/Birthday_problem

With 23 individuals, there are ⁠
(23 × 22)/2⁠ = 253 pairs to consider, far more than half the number of days in a year.

If that's the case, why 23?
365 days in a year.

20 individuals:
(20x19)/2 = 190, which is still more than half the number of days in a year.

Why not 20 people?
link to original post



(364/365)^X = 50%

Solve for X
The race is not always to the swift, nor the battle to the strong; but that is the way to bet.
camapl
camapl
  • Threads: 8
  • Posts: 534
Joined: Jun 22, 2010
November 20th, 2024 at 1:19:36 PM permalink
Not exactly Another way to state the math in OPs link:

Pr(# of matching birthdays >= 2) = 1 - (365/365 * 364/365 * 363/365 * ),

where the number of terms in the parentheses equals the number of people in the room.

With 20 people, the probability is only 41.14%, and with 23, its 50.73%.

By the time you get to 83 people, the probability is essentially 100% (actually 99.9959%, which rounds to 100.00%).
Last edited by: camapl on Nov 20, 2024
Its a dog eat dog world. Or maybe its the other way around!
100xOdds
100xOdds
  • Threads: 663
  • Posts: 4559
Joined: Feb 5, 2012
November 20th, 2024 at 3:52:27 PM permalink
Quote: camapl

By the time you get to 83 people, the probability is essentially 100% (actually 99.9959%, which rounds to 100.00%).
link to original post


With 83 random people in a room, it's almost guaranteed that 2 people have the same bday?!

83/365day = 22.7%
22.7% get's you effectively 100%?!? Wished this applied to lotto tix.
and Apparently i failed probability/statistics class.
Craps is paradise (Pair of dice). Lets hear it for the SpeedCount Mathletes :)
Deucekies
Deucekies
  • Threads: 58
  • Posts: 1486
Joined: Jan 20, 2014
November 20th, 2024 at 4:20:51 PM permalink
Quote: 100xOdds

Quote: camapl

By the time you get to 83 people, the probability is essentially 100% (actually 99.9959%, which rounds to 100.00%).
link to original post


With 83 random people in a room, it's almost guaranteed that 2 people have the same bday?!

83/365day = 22.7%
22.7% get's you effectively 100%?!? Wished this applied to lotto tix.
and Apparently i failed probability/statistics class.
link to original post



That 22.7% is the odds that one of the 83 people shares one particular birthday, like *your* birthday. You need to consider that the shared birthday could be any day.
Casinos are not your friends, they want your money. But so does Disneyland. And there is no chance in hell that you will go to Disneyland and come back with more money than you went with. - AxelWolf and Mickeycrimm
unJon
unJon
  • Threads: 16
  • Posts: 4806
Joined: Jul 1, 2018
November 20th, 2024 at 8:02:10 PM permalink
Quote: 100xOdds

Quote: camapl

By the time you get to 83 people, the probability is essentially 100% (actually 99.9959%, which rounds to 100.00%).
link to original post


With 83 random people in a room, it's almost guaranteed that 2 people have the same bday?!

83/365day = 22.7%
22.7% get's you effectively 100%?!? Wished this applied to lotto tix.
and Apparently i failed probability/statistics class.
link to original post



I gave the equation to you.

(364/365)^X = 50%. Solve for X

You find that the answer is very close to (23 x 22)/2. Which is why 23 people is the breakeven(ish) number of people.
The race is not always to the swift, nor the battle to the strong; but that is the way to bet.
unJon
unJon
  • Threads: 16
  • Posts: 4806
Joined: Jul 1, 2018
November 20th, 2024 at 8:03:08 PM permalink
Quote: camapl

Not exactly Another way to state the math in OPs link:

Pr(# of matching birthdays >= 2) = 1 - (365/365 * 364/365 * 363/365 * ),

where the number of terms in the parentheses equals the number of people in the room.

With 20 people, the probability is only 41.14%, and with 23, its 50.73%.

By the time you get to 83 people, the probability is essentially 100% (actually 99.9959%, which rounds to 100.00%).
link to original post



No my formula is exactly.
The race is not always to the swift, nor the battle to the strong; but that is the way to bet.
  • Jump to: