(42S) Probability of Same Birthday Day
|
12-06-2018, 08:49 AM
Post: #7
|
|||
|
|||
RE: (42S) Probability of Same Birthday Day
(12-06-2018 04:32 AM)Valentin Albillo Wrote:(12-05-2018 11:46 PM)ijabbott Wrote: The generalised birthday problem (probability of at least n people in a group sharing a birthday) is a lot harder. Probably intractable on a HP-42S. (Now there's a challenge!) Specifically, the Multiple Birthday Problem. You may be able to get approximate results (up to about 3 decimal places) using Levin's approach mentioned in that paper, but a combinatorial approach blows up too quickly as n increases, rendering it unsuitable for computation on a HP 42S. I did knock up a program in C++ (but really C style but using C++ for convenence) using the GNU Multiple Precision library (which is a PITA to use in C, hence the use of C++ for convenience) to generate exact probabilities a while ago, although I'm not proud of it as the calculations are far from optimal (too many repeated sub calculations). Anyway, here is is: ian-abbott/birthdays.cpp (raw). (12-06-2018 05:54 AM)Joe Horn Wrote: The probability of being born on February 29th is NOT zero. The above document seems to utterly ignore leap year babies. Assume a spherical cow. — Ian Abbott |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(42S) Probability of Same Birthday Day - morex - 12-05-2018, 06:09 PM
RE: (42S) Probability of Same Birthday Day - Dieter - 12-05-2018, 08:36 PM
RE: (42S) Probability of Same Birthday Day - morex - 12-05-2018, 09:02 PM
RE: (42S) Probability of Same Birthday Day - ijabbott - 12-05-2018, 11:46 PM
RE: (42S) Probability of Same Birthday Day - Valentin Albillo - 12-06-2018, 04:32 AM
RE: (42S) Probability of Same Birthday Day - Joe Horn - 12-06-2018, 05:54 AM
RE: (42S) Probability of Same Birthday Day - Valentin Albillo - 12-06-2018, 03:59 PM
RE: (42S) Probability of Same Birthday Day - Joe Horn - 12-10-2018, 05:10 PM
RE: (42S) Probability of Same Birthday Day - ijabbott - 12-06-2018 08:49 AM
RE: (42S) Probability of Same Birthday Day - morex - 12-06-2018, 07:49 PM
RE: (42S) Probability of Same Birthday Day - Albert Chan - 08-16-2019, 01:55 PM
|
User(s) browsing this thread: 1 Guest(s)