Artusartos
- 236
- 0
Let Y|X be a Poisson(X), and X be Gamma(\alpha, \beta). Find E(X|Y)...
Since Y|X is Poisson(X), we have f(Y|X)= \frac{m^x e^{-m}}{x!}...
Since X is Gamma(\alpha, \beta), we have f(x)= \frac{x^{\alpha-1} e^{-x/B}}{\Gamma(\alpha) \beta^{\alpha}}...
Since f(Y|X) = \frac{f(x,y)}{f(x)} ====> f(x,y) = \frac{f(Y|X)}{f(x)}...
So now we have...
f(x,y) = \frac{(\frac{m^x e^{-m}}{x!})}{\frac{x^{\alpha-1} e^{-x/B}}{\Gamma(\alpha) \beta^{\alpha}}}
So now I have to find f(y), but I'm sort of confused...because the poisson distribution is discrete while the gamma distribution is continuous...so do I need to handle them separately?
Thanks in advance.
Since Y|X is Poisson(X), we have f(Y|X)= \frac{m^x e^{-m}}{x!}...
Since X is Gamma(\alpha, \beta), we have f(x)= \frac{x^{\alpha-1} e^{-x/B}}{\Gamma(\alpha) \beta^{\alpha}}...
Since f(Y|X) = \frac{f(x,y)}{f(x)} ====> f(x,y) = \frac{f(Y|X)}{f(x)}...
So now we have...
f(x,y) = \frac{(\frac{m^x e^{-m}}{x!})}{\frac{x^{\alpha-1} e^{-x/B}}{\Gamma(\alpha) \beta^{\alpha}}}
So now I have to find f(y), but I'm sort of confused...because the poisson distribution is discrete while the gamma distribution is continuous...so do I need to handle them separately?
Thanks in advance.