(EX 3.12 gender of newborn child continued) The pmf of the number of births up to and including that of the first boy had
For any positive integer ,
To evaluate this sum, recall that the partial sum of a geometric series is
Using this in Equation (3.4), with and , gives where a positive integer.
Since is constant in between positive integers, F\left( x\right) = \left\{ \begin{matrix} 0 & x < 1 \\ 1 - {\left( 1 - p\right) }^{\left\lbrack x\right\rbrack } & x \geq 1 \end{matrix}\right. \tag{3.5}
where is the largest integer
- e.g.,
Thus if as in the birth example, then the probability of having to examine at most five births to see the first boy is whereas . This cdf is graphed in Figure 3.6.
Figure 3.6 A graph of for Example 3.14