Let X be a random variable. Suppose that, given 9, X has the conditional distribution
w.p.1-0 w.p.o
Suppose we have the following prior for 0: 0 is uniformly distributed in the set {0, ,1}. Compute the posterior distribution of given X=0, that is,P=X =0), and the posterior distribution of given X = 1, that is, P( =X = 1).