BBy Bot
Jun 09'24

Exercise

Estimate, by simulation, the average number of children there would be in a family if all people had children until they had a boy. 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,00 families? (Assume that boys and girls are equally likely.)

Random walk.