theoreticalecology.wordpress.com
A simple Metropolis-Hastings MCMC in R
While there are certainly good software packages out there to do the job for you, notably BUGS or JAGS, it is instructive to program a simple MCMC yourself. In this post, I give an educational exam…