Question: Assume our data Y given X is distributed Y | X = x Binomial(n, p = x) and we chose the prior to be
Assume our data Y given X is distributed Y | X = x ∼ Binomial(n, p = x) and we chose the prior to be X ∼ Beta(α,β). Then the PMF for our data is![Pr\x(ya) = (") x(1 x x(1-x)-y, for x = [0, 1], y = {0, 1,...,n},](https://dsd5zvtm8ll6.cloudfront.net/images/question_images/1698/3/8/2/965653b44759b31d1698382963119.jpg)
and the PDF of the prior is given by
Note that,
a. Show that the posterior distribution is Beta(α +y,β +n −y).
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 ).
Pr\x(ya) = (") x(1 x x(1-x)-y, for x = [0, 1], y = {0, 1,...,n},
Step by Step Solution
3.43 Rating (153 Votes )
There are 3 Steps involved in it
To solve the given problem follow these steps a Show that the posterior distribution is Beta y n y S... View full answer
Get step-by-step solutions from verified subject matter experts
