Bayesian estimation

For the last problem, see
[Can't obtain the posterior distribution)