To obtain the st head on toss , the first tosses must contain exactly heads, and the last toss must be a head. There are choices of the first head positions. By independence, each such arrangement followed by a head has probability . The arrangements are disjoint, so
This is the negative binomial stopping argument, with counting all tosses up to and including the st success. It is not merely the probability of heads somewhere among tosses: the last toss is prescribed to be a head.
Put . By the law of total probability,
For , termwise differentiation of the geometric series, valid inside its radius of convergence, gives
Taking therefore yields
Since , this is the zero-based geometric distribution with parameter
This illustrates Bernoulli thinning of a geometric count. Here , as .
For the reverse conditional distribution, Bayes' theorem gives, for ,
Thus
For the conditional probability is zero. The conditional distribution of is the failure-count form of a negative binomial distribution, with successes and success parameter : the geometric-binomial posterior is shifted negative binomial.

Articles by others on the same topic (0)

There are currently no matching articles.