I'm struggling with this one:
If $\theta $ is a Gamma$(p,\lambda)$ random variable with $p>1$ and $\lambda>0$.
We give the density of the gamma distribution: $ f(x) = \frac {\lambda^p}{\phi(p)} x^{p-1} \exp(-\lambda x) 1_{t>0}$
$\phi (p)$ is referring to the function $\phi$, for which we give: $\phi(z+1)=z\phi (z) $ for $z>0$, and $\phi (n+1)=n!$.
If $N$ is a random variable such that, given $\theta=t $, $N$ is a Poisson distribution of parameter $t$.
What is the distribution of $N$, $P(N=n)$?.
What is $E(N)$ ? What is $\operatorname{Var}(N)$?
If I apply the formula of conditional probability, I will have something like this:
$$P(N=n\mid\theta =t)=\frac {\frac {e^{-t} t^n}{n!} \times \frac{\lambda^p}{\phi (p)} t^{p-1} \exp(-\lambda t) 1_{t>0}}{\frac{\lambda^p}{\phi(p)} t^{p-1} \exp(-\lambda t) 1_{t>0}} =\frac {e^{-t} t^n}{n!} $$
It looks rather strange to me. It is as if, $\theta $ will cancels itself out on the numerator and denominator and therefore has no influence on the Poisson distribution.
Thanks in advance.
Regards,
\Gammato get the Gamma function symbol. – Dilip Sarwate Jul 13 '14 at 14:13