I have had this idea for a while, to go through the examples from the OpenBUGS webpage and port them to PyMC, so that I can be sure I’m not going much slower than I could be, and so that people can compare MCMC samplers “apples-to-apples”. But its easy to have ideas. Acting on them takes more time.

So I’m happy that I finally found a little time to sit with Kyle Foreman and get started. We ported one example over, the “seeds” random effects logistic regression. It is a nice little example, and it also gave me a chance to put something in the ipython notebook, which I continue to think is a great way to share code.

[py] [pdf]

### Like this:

Like Loading...

*Related*

Very nice! Thanks

Pingback: АД по пятницам, кружок 9, итоги « Pokrovka11's Blog

Pingback: MCMC in Python: Bayesian meta-analysis example | Healthy Algorithms