This implements the metropolis algorithm given an initial parameter vector, the unnormalised log-posterior and a symmetric proposal distribution

metropolis_helper(theta, log_posterior, proposal, m)

Arguments

m

Value