Monte Carlo, Markov Chains, Metropolis Hastings.
0.43557259, 0.8074565 , 0.50941352, 0.26218544, 0.14406795, 0.32712108, 0.6867593 , 0.54402593, 0.52818101, 0.4457688 ]) Plot the histogram of θ and this will be posterior distribution: plt.hist(theta_accept) plt.show() Posterior distribution of θ given data Now going back to our hypothesis, set