R is a free software environment for statistical
computing and graphics. We use R to implement MCMC for posterior estimate for MPT models with Metroplis (or Metroplis-Hasting) algorithm that can deal with arbitrary prior distributions. Brief introduction to Metropolis and Metropolis Hasting algorithm: Sample code |