If I have an X such that f(x|q) = q x (q -1) , q> 0, 0 < x <1 and assume that the prior distribution of q is exponential with mean 2, how do I go abotu finding the posterior distribution of q? I know that
posterior pdf= (pdf(x given q) * pdf(q) )/ integral(numerator)dp ..... But in this case, I can't seem to get the denominator of the posterior distribution pdf to work out nicely. Help would be appreciated...