We are doing a Bernoulli trial unlimited number of times with probability of success $p=0.4$. What is the probability we get $3$ consecutive successes before we get $3$ consecutive failures?
I've used Conditional probability:
- Let $W$ be the event: "we got $3$ consecutive success before $3$ consecutive failures"
- Let $S$ be the event: "we succeed in the first trial".
- Let $F$ be the event: "we failed in the first trial".
Then $$P(W) = P(W\mid S) \cdot P(S)+P(W\mid F) \cdot P(F)=P(W\mid S) \cdot \frac25+P(W\mid F)\cdot\frac35$$ To calculate $P(W\mid S)$, let $E$ be the event: $$=\text{ "at the 2nd and 3rd trials we succeed"}$$Then $$P(W\mid S)= P(W\mid SE) \times P(E\mid S)+P(W\mid SE^{c}) \times P(E^{c}|S)= 1 \times 0.16 + P(W\mid F) \times 0.36$$
Now, we calculate $P(W\mid F)$= $$P(W\mid FE) \cdot P(E\mid F)+P(W\mid FE^c) \cdot P(E^c\mid F)$$
what is $P(W\mid FE)=?$