# Expected value of the sum

Let $$S = \sum_{i=1}^{N} X_i.$$

$$\mathbb EX = 1, \mathbb DX = 2.$$

$$N$$ has a negative binomial distribution with parameters $$k=80$$ and $$p=0.4.$$

$$\mathbb P(N=l)=\begin{pmatrix} k+l-1 \\ l \\ \end{pmatrix} p^kq^l, l=0,1,2,.. .$$ Find $$\mathbb ES = (\mathbb EN)( \mathbb EX).$$

(The answer is 120.)

How to find $$(\mathbb EN)$$?

• You could simply recall the formula for the expected value of a Negative Binomial random variable, which is $\color{blue}{kq/p}$ here. This gives $80\times 0.6/0.4 = 120$. Or are you asking for a proof of the formula? – Minus One-Twelfth Apr 5 at 19:34
• What does $\Bbb D$ denote? – J.G. Apr 5 at 19:34
• Oh, I forgot you used $N$ for the Negative Binomial random variable. You can replace the $X$ above with $N$ if you want. – Minus One-Twelfth Apr 5 at 19:47