Monte Carlo, Markov Chains, Metropolis Hastings.
is: # initial 1. Drew a θ from uniform(0,1) For example: θ = 0.07 2. Compute prior p(θ=0.07) = 1 3. Toss the coin for 10 times: H-heads, T-Tails and count heads For example: [H, H, T, T, T, H, H, T, T, T] Total number of Heads = 4 4. Compute likelihood: Likelihood = Binomial (4, 10, 0.07) = 0.003