In independent Bernoulli trials with success probability , counts failures before the first success. The event requires failures followed by one success, giving . This is the zero-based geometric distribution, rather than the count of trials including the success.
Let . By the definition of a probability generating function and the geometric series,
The series converges absolutely when , equivalently .
Differentiate the probability generating function inside its radius of convergence:
The first moment and second factorial moment are and . Consequently
Take an independent and identically distributed sequence with , independent of . Conditional on , the random sum has binomial distribution with parameters , including the empty sum at . This construction therefore has exactly the prescribed joint law of and represents as the required random sum.
For a literal representation that retains an already given pair , enlarge the probability space by auxiliary randomness. Conditional on , choose uniformly a size- subset of , put ones at those indices and zeros at the others, and append independent Bernoulli variables of parameter . Given , a specified length- pattern with ones has probability . Thus the entire sequence is independent and identically distributed and independent of , while its first terms sum to the original .
The probability generating function of an independent random sum states that, for a nonnegative integer-valued independent of independent and identically distributed nonnegative integer-valued summands, wherever the expectations converge. Here , so, writing ,
It is valid at least for , and its power series in fact converges for .
Set . The preceding probability generating function becomes , identifying
Equivalently, for , . Since , also . This is the existing geometric count under Bernoulli thinning, with the zero-based convention specified.
The given four probabilities factor into independent Bernoulli indicators for the occurrence of and on each trial, with parameters and . Independent trials make the full sequence of indicators independent of the full sequence of indicators. Let count trials strictly before the first . Then , independently of the indicators, and the desired count is their sum over these trials. Therefore its distribution is , as in part (b).
The word “before” excludes the stopping trial: an on that trial stops the experiment but does not add to the count. Another check is to discard all trials. Among the remaining relevant outcomes, stopping has probability and an additional pre-stopping has the complementary probability, again giving the same zero-based geometric distribution.

Articles by others on the same topic (0)

There are currently no matching articles.