Suppose you have a sequence of independent Bernoulli random variables each of which has…
Private research annotation
Sign in to add a private research label or note.
- User
Suppose you have a sequence of independent Bernoulli random variables each of which has an associated probability p_i. What is the probability that the k'th such variable is the first variable in the sequence to have a value of 1?
Assistant
To find the probability that the ( k )-th Bernoulli random variable is the first one in the sequence to have a value of 1, we need to consider the following:
- The first ( k-1 ) variables must all be 0.
- The ( k )-th variable must be 1.
Given that each Bernoulli random variable ( X_i ) has an associated probability ( p_i ) of being 1, the probability that ( X_i ) is 0 is ( 1 - p_i ).
Let's denote the probability that the ( k )-th variable is the first one to be 1 as ( P(k) ).
-
The probability that the first ( k-1 ) variables are all 0 is: [ (1 - p_1) \times (1 - p_2) \times \cdots \times (1 - p_{k-1}) ]
-
The probability that the ( k )-th variable is 1 is: [ p_k ]
Combining these two events, the probability that the ( k )-th variable is the first one to be 1 is: [ P(k) = (1 - p_1) \times (1 - p_2) \times \cdots \times (1 - p_{k-1}) \times p_k ]
Thus, the probability that the ( k )-th Bernoulli random variable is the first one in the sequence to have a value of 1 is: [ P(k) = \prod_{i=1}^{k-1} (1 - p_i) \times p_k ]
This formula captures the condition that the first ( k-1 ) variables must all be 0, and the ( k )-th variable must be 1.