The PyMC documentation is a little slim on the topic of defining a custom sampler, and I had to figure it out for some DisMod work over the years. Here is a minimal example of how I did it, in answer to a CrossValidated question.
Daily Archives: May 15, 2014
MCMC in Python: How to make a custom sampler in PyMC
Comments Off on MCMC in Python: How to make a custom sampler in PyMC
Filed under MCMC