-1
$\begingroup$

Let $$Y\mid \Lambda \sim \operatorname{Poisson}(\Lambda)$$ and $$\Lambda \sim \operatorname{Gamma}(\alpha, \beta)$$ where $f_{Y\mid\Lambda}(y\mid\lambda)=\frac{\lambda^y}{y!} e^{-\lambda}, y = 0, 1, 2, \ldots$ and $f_\Lambda(\lambda)=\frac 1 {\Gamma(\alpha)\beta^\alpha}\lambda^{\alpha-1} e^{-\frac \lambda \beta}$, $\lambda > 0$.

  • 0
    I know I can get $f(y,\lambda)$ by multiplying the two equations above, and then I can get the moment generating function of it. However, I cannot solve the integration and I've stuck here for a few hours. I really need some help, thanks!2017-02-21

2 Answers 2

1

Now $Y\mid\Lambda\sim\mathcal{Poiss}(\Lambda)$ means we know what the conditional expectation and variance are.

And $\Lambda\sim\Gamma(\alpha, beta)$ means we know what its expectation and variance are.

The law of total expectation: $$\begin{align}\mathsf E(Y) &= \mathsf E(\mathsf E(Y\mid \Lambda)) \\ & = \mathsf E(\Lambda) \\ &= \tfrac \alpha\beta\end{align}$$

The law of total variance: $$\begin{align}\mathsf {Var}(Y) &= \mathsf E(\mathsf {Var}(Y\mid\Lambda))+\mathsf E(\mathsf {Var}(Y\mid \Lambda)) \\ & = \mathsf E(\Lambda)+\mathsf{Var}(\Lambda)\\ &= \tfrac \alpha\beta + \tfrac \alpha{\beta^2}\end{align}$$

  • 0
    Thanks! I'm so glad that you replied me so fast. Much appreciated!2017-02-21
2

We have $\mathbb{E}(Y)=\mathbb{E}(\mathbb{E}(Y|\Lambda))=\mathbb{E}(\Lambda)=\frac {\alpha} {\beta}$. On the other hand $Var(Y)=Var(\mathbb{E}(Y|\Lambda))+\mathbb{E}(Var(Y|\Lambda))=Var(\Lambda)+\mathbb{E}(\Lambda)=\frac {\alpha} {\beta^2}+\frac {\alpha} {\beta}$.

  • 0
    I used the law of total expectation, the law of total variance, and the expectation and variance of a Gamma distribution and a Poisson distribution.2017-02-21
  • 0
    Thanks! I appreciate your answer. Now I realize that I thought way too complicated. Thanks again.2017-02-21