Jump to content

Birthday distribution: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m cat
Redirected page to Birthday problem
 
(8 intermediate revisions by 7 users not shown)
Line 1: Line 1:
#REDIRECT [[birthday problem]]
Assume N people are in a room. What is the smallest N such that there
is at least probability 0.5 that M people have the same birthday? Assume
the birthday distribution is uniform over 365 days.

Assume X~Mult(N;P) on k=365 categories, with P=(1/365,...,1/365) and
calculate Prob(M;N) = P[max X[i] is at least M] using the exact method of
B. Levin, "A representation for multinomial cumulative distribution functions",
Annals of Statistics, 9:1123-1126 (1981).

M N Prob(M;N)
----- ----- ---------
1 1 1
1 0 0

2 23 0.507297234324
2 22 0.475695307663

3 88 0.511065110625
3 87 0.499454850632

4 187 0.502685373189
4 186 0.495825706383

5 313 0.501070475849
5 312 0.496195571644

6 460 0.50244941037
6 459 0.498637523705

7 623 0.502948948663
7 622 0.499795687887

8 798 0.500320275207
8 797 0.497616714463

9 985 0.500948416378
9 984 0.498568067031

10 1181 0.500931161057
10 1180 0.498796176416

11 1385 0.501001958747
11 1384 0.499059528126

12 1596 0.501166734721
12 1595 0.499379622274

13 1813 0.501104224633
13 1812 0.499445407288

14 2035 0.500348626509
14 2034 0.498798065243

15 2263 0.501295448239
15 2262 0.499836197505

I am grateful to Professor Bruce Levin for providing this table.


Postscript (October, 1998)
Haikin Fedor has returned to this problem and calculated N up to M=18. The required computation times on his Sparc20 are also indicated. Are more efficient exact algorithms possible?

*** M= 2 implies N= 23 *** Thu Sep 17 16:03:09 1998
*** M= 3 implies N= 88 *** Thu Sep 17 16:03:15 1998
*** M= 4 implies N= 187 *** Thu Sep 17 16:03:24 1998
*** M= 5 implies N= 313 *** Thu Sep 17 16:03:50 1998
*** M= 6 implies N= 460 *** Thu Sep 17 16:05:51 1998
*** M= 7 implies N= 623 *** Thu Sep 17 16:10:26 1998
*** M= 8 implies N= 798 *** Thu Sep 17 16:19:15 1998
*** M= 9 implies N= 985 *** Thu Sep 17 16:34:01 1998
*** M= 10 implies N= 1181 *** Thu Sep 17 16:57:08 1998
*** M= 11 implies N= 1385 *** Thu Sep 17 17:29:46 1998
*** M= 12 implies N= 1596 *** Thu Sep 17 18:13:54 1998
*** M= 13 implies N= 1813 *** Thu Sep 17 19:11:39 1998
*** M= 14 implies N= 2035 *** Thu Sep 17 20:27:26 1998
*** M= 15 implies N= 2263 *** Thu Sep 17 22:11:58 1998
*** M= 16 implies N= 2494 *** Fri Sep 18 01:52:27 1998
*** M= 17 implies N= 2731 *** Fri Sep 18 07:30:00 1998
*** M= 18 implies N= 3015 *** Fri Sep 18 16:22:11 1998

[[Category:Probability distributions]]

Latest revision as of 02:05, 21 October 2007

Redirect to: