0

Let $T$ be a non-negative, integer valued random variable, and $X_i$ independent Bernoulli s.t. $P(X_i=0)=p$. Of $T$, I know only that it has mean $\mu$ with $1 \lt \mu \lt \infty$. How do I find the distribution of the random sum $\sum_{n=1}^T X_n$? I know it will be a binomial sum, but how explicit can I be when I don't know the distribution of $T$?

Karl
  • 663

1 Answers1

0

Set

$$Y=\sum_{i=1}^T X_i$$

The conditional density $Y|T=t$ is a binomial $Bin(t;q)$ where $q=1-p$.

Thus the pmf of Y (marginal is the following)

$$P(Y=y)=\Sigma_t p_T(t)p_{Y|T}(y|t)$$


If one wanted $E(Y)$ he can use the conditional expectation properties

$$E(Y)=E[E(Y|T)]=E[T(1-p)]=(1-p)E(T)=\mu(1-p)$$

tommik
  • 33,201
  • 4
  • 17
  • 35