Monte Carlo, Markov Chains, Metropolis Hastings.
or beta(1,1). And posterior distribution is drifted by the data (represented by the orange line) to a different Beta (a,b) distribution. Beta prior is a conjugate prior, it shares the same distribution with the posterior. And the posterior distribution can be obtain through prior distribution and