Independent solution

How to solve this Negative Binomial Distribution question

Setup

Setup

A trial produces the event of interest only when both required conditions occur. Multiply their probabilities and denote the complementary probability by q.

p=(0.90)(0.20)=0.18p=(0.90)(0.20)=0.18
q=1p=0.82q=1-p=0.82

Model

Model

Let T be the number of trials observed, stopping at the second success or at the five-trial cap. For stopping times two through four, the final trial is a success and exactly one earlier trial is a success. Reaching the cap means that the first four trials contain at most one success.

Pr(T=k)=(k11)p2qk2,k=2,3,4\Pr(T=k)=\binom{k-1}{1}p^2q^{k-2},\qquad k=2,3,4
Pr(T=5)=q4+4pq3\Pr(T=5)=q^4+4pq^3

Compute

Compute

Evaluate the stopping probabilities and form the finite expectation.

Pr(T=2)=0.0324,Pr(T=3)=0.053136\Pr(T=2)=0.0324,\quad \Pr(T=3)=0.053136
Pr(T=4)=0.06535728,Pr(T=5)=0.84910672\Pr(T=4)=0.06535728,\quad \Pr(T=5)=0.84910672
E[T]=2(0.0324)+3(0.053136)+4(0.06535728)+5(0.84910672)\operatorname{E}[T]=2(0.0324)+3(0.053136)+4(0.06535728)+5(0.84910672)
E[T]=4.73117072\operatorname{E}[T]=4.73117072

Answer

Answer

The expected number observed rounds to 4.73.

4.73(B)\boxed{4.73\quad\text{(B)}}