I am flipping a coin $12$ times in a row. The probability of getting $HEADS \ (PILE)$ on each flip is $ p = 0.2 $. Let $X$ be the number of $HEADS \ (PILE)$ that appear, and $Y$ be the position of the last $HEADS \ (PILE)$ that appears. If no $HEADS$ appear, we define $Y = 0$.
Note: These variables are not independent!
- I know how to calculate $Pr(X = 3)$.
- I am having trouble calculating $Pr(Y = 7)$.
Specifically, for $Y = 7$, the $7$th flip must be $HEADS$ and the flips from $8$ to $12$ must be $TAILS \ (FACE)$. How do I correctly account for the possible combinations of the first $6$ flips in my calculation?
Here’s what I have so far:
- The probability that the $7$th flip is HEADS is $0.2$.
- The probability that the flips from $8$ to $12$ are all $TAILS$ is $0.8^{5}$.
But I'm unsure how to properly incorporate the probability of the first $6$ flips.
Could someone explain the correct method to find $Pr(Y = 7)$?