I need help for this particular question because there's this particular step where I am unable to grasp! I've marked it in bold with the word "WHY??". I can understand every other part but this step annoys me. Please do help if you are to do so! It'll be greatly appreciated!
Let X and Y be i.i.d Poisson random variables with parameter λ.
Compute the expectation of $(1 + X + Y )^{-1}$
SOLUTION:
X ~ Poi($\lambda_1$)
Y ~ Poi($\lambda_2$)
X + Y ~ Poi($\lambda_1+\lambda_2$)
X + Y ~ Poi(2$\lambda$) (i.i.d)
Hence,
E[$\frac{1}{1+X+Y}$ ]
= E[$\frac{1}{1+W}$], where W ~ Poi(2$\lambda$)
= $\sum_{k=0}^{infinite}\frac{1}{1+k}$ * $e^{-2\lambda}$ * $\frac{{2\lambda}^k}{k!}$ ** WHY??
...
the rest are just simple manipulations
I thought that only E[X] applies for this definition. How is it that E[$\frac{1}{1+W}$] applies for this too?
Thank you so very much!
*edited power 2 to -1, my bad, apologies!
The Law of the Unconscious Statistician, as applied to the discrete integer-valued random variable $W$:
$$\mathsf E(f(W)) ~=~ \sum_{w=0}^\infty f(w)\,\mathsf P(W=w)$$
So $$\mathsf E\left(\tfrac 1{1+W}\right) ~=~\sum_{w=0}^\infty \frac{\mathsf P(W=w)}{1+w}$$