Turing version of StatisticalRethinking models



Project Status Documentation Build Status


This package contains Julia versions of the mcmc models contained in the R package "rethinking" associated with the book Statistical Rethinking by Richard McElreath. It is part of the StatisticalRethinkingJulia Github organization of packages.

This package implements the models using TuringLang/Turing.jl.


  • STABLEdocumentation of the most recently tagged version.
  • DEVELdocumentation of the in-development version.


Richard Torkar has taken the lead in developing the Turing versions of the models in chapter 8 and subsequent chapters.

The TuringLang team and #turing contributors on Slack have been extremely helpful! The Turing examples by Cameron Pfiffer have been a great help and followed closely in several example scripts.

The documentation has been generated using Literate.jl and Documenter.jl based on several ideas demonstrated by Tamas Papp in above mentioned DynamicHMCExamples.jl.

Questions and issues

Question and contributions are very welcome, as are feature requests and suggestions. Please open an issue if you encounter any problems or have a question.

First Commit


Last Touched

6 days ago


378 commits

Used By: