← Back to the lesson

Probability & Statistics 1 (9709) · Binomial and geometric distributions · Quick revision

Repeated successes and mixed stopping rules

Write the stopping rule before assigning probabilities. A final trial count can include both successful completion and failure at the cap.

Fix the final required success

For independent trials with constant success probability 0<p<10<p<1, put q=1−pq=1-p. The rrth success occurs on trial kk only if exactly r−1r-1 of the first k−1k-1 trials succeed and the last trial succeeds. For positive integers k≥rk\ge r,

P(Tr=k)=(k−1r−1)prqk−r.P(T_r=k)=\binom{k-1}{r-1}p^r q^{k-r}.

Completion by a deadline means at least rr successes in that many trials. Completion on the deadline fixes its final success position.

Fresh waits and changed stages

For independent fresh waits, multiply the probabilities of a specified pair of waits. For a total wait, add all permitted positive-integer pairs; each pair is a disjoint case. Keep each stage’s success probability and its own trial numbering. If entry to a stage depends on earlier success, include that branch probability. If the success chance or dependence changes, reassess the model instead of applying memorylessness across that change.

A first-success cap collects the remaining mass

Stop at the first success or at a positive-integer cap NN. For 0<p<10<p<1, the actual trial count TT has

P(T=t)=qt−1p (1≤t<N),P(T=N)=qN−1.P(T=t)=q^{t-1}p\ (1\le t<N),\qquad P(T=N)=q^{N-1}.

The last row splits into final success, qN−1pq^{N-1}p, and no success, qNq^N. Keep these separate if they pay different rewards. At p=0p=0, T=NT=N; at p=1p=1, T=1T=1. These endpoint statements use the rule directly.

Build the full terminal table before taking moments

Remove paths that would already have stopped. Track completion separately from trial count, and combine paths only when they produce the same recorded value. For a finite variable ZZ,

E(Z)=∑zzP(Z=z),E(Z2)=∑zz2P(Z=z).E(Z)=\sum_z zP(Z=z),\qquad E(Z^2)=\sum_z z^2P(Z=z).Var⁡(Z)=E(Z2)−[E(Z)]2.\operatorname{Var}(Z)=E(Z^2)-[E(Z)]^2.

Check that the full table sums to one. For a conditional question, retain only the conditioning event and divide by its positive probability. Reaching the cap does not itself prove completion.