In: Statistics and Probability
in R.
Estimate, by simulation, the average number of children there would be in a family if all people had children until they had a girl. Do the same if all people had children until they had at least one boy and at least one girl. How many more children would you expect to find under the second scheme than under the first in 100,000 families? (Assume that girls and boys are equally likely.)
1) The average number of children there would be in a family if all people had children until they had a girl = 1.99722
2) The average number of children there would be in a family if all people had children until they had at least one boy and at least one girl = 3.00191
3) How many more children would you expect to find under the second scheme than under the first in 100,000 families?
100469 more children.