Monte Carlo, Markov Chains, Metropolis Hastings.
quantile, then accept null hypothesis, else, accept alternative hypothesis There are three probabilities in Metropolis Hasting — Prior, Likelihood, Posterior. Prior Prior is the probability of p(Head) is a certain value, written as p(p(Head)=θ) or p(θ). It is determined by the prior distribution.