View on GitHub


Port of Statistical Rethinking (2nd edition) code to Julia

Statistical Rethinking (2nd edition) with Julia

Here is the port of code examples from amazing Statistical Rethinking book to Julia programming language.

It uses Turing language for Bayesian modeling and Julia Plots for charts, so, it could be used as hands-on introduction to those packages. I used Julia 1.6.2 to generate those notebooks, full list of dependencies is in Project.toml.

Besides notebooks, I also published my solutions to the practice problems, which could be found here, but please first try to solve them yourself, as it is much more fun (in addition, my solutions might be just wrong).


Besides Julia, second edition examples were also ported to NumPyro.