Timeline for Expected number of ratio of girls vs boys birth
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 15, 2014 at 19:53 | comment | added | AdamO |
Recognizing the geometric distribution of # of boys in the family is the key step to this problem. Try: mean(rgeom(10000, 0.5))
|
|
Apr 15, 2014 at 16:44 | comment | added | whuber♦ | Simulation results are good in that they can give us some comfort we haven't made a serious mistake in a mathematical derivation, but they are far from the rigorous demonstration requested. In particular, when rare events that contribute a lot to an expectation can occur (such as a family with 20 boys before a girl appears--which is highly unlikely to emerge in a simulation of just 10,000 families), then simulations can be unstable or even just wrong, no matter how long they are iterated. | |
Apr 15, 2014 at 12:38 | review | Low quality posts | |||
Apr 15, 2014 at 12:39 | |||||
S Apr 15, 2014 at 12:34 | history | suggested | sadapple | CC BY-SA 3.0 |
The probability argument in the code to simulate the binomial distribution should be modified from 1 to 0.5.
|
Apr 15, 2014 at 12:15 | review | Suggested edits | |||
S Apr 15, 2014 at 12:34 | |||||
Apr 15, 2014 at 11:13 | review | Low quality posts | |||
Apr 15, 2014 at 12:31 | |||||
Apr 15, 2014 at 10:54 | history | answered | Aghila | CC BY-SA 3.0 |