When the choice of a prior distribution is subjective, it is often advantageous to choose a prior

Question:

When the choice of a prior distribution is subjective, it is often advantageous to choose a prior distribution that will result in a posterior distribution of the same distributional family. When the prior and posterior distributions share the same distributional family, they are called conjugate distributions, and the prior is called a conjugate prior. Conjugate priors are used out of ease because they always result in a closed form posterior distribution. One example of this is to use a gamma prior for Poisson distributed data. Assume our data Y given X is distributed Y | X = x ∼ Poisson(λ = x) and we chose the prior to be X ∼ Gamma(α,β). Then the PMF for our data isPy|x(y|x) = = e-  y! for x > 0,y  {0,1,2,...},

and the PDF of the prior is given byfx(x) = = Baxa-1-Bx T(a) " for x>0, a, > 0.

a. Show that the posterior distribution is Gamma(α +y,β +1). Remove all the terms not containing x by putting them into some normalizing constant, c, and noting that fX|Y (x|y) ∝ PY|X(y|x)fX(x).)

b. Write out the PDF for the posterior distribution, fX|Y (x|y).

c. Find mean and variance of the posterior distribution, E[X|Y] and Var(X|Y).

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: