This is an attempt to re-code the homework from the 2nd edition of Statistical Rethinking by Richard McElreath using R-INLA.

Solutions to the homework exercises using the rethinking package are provided for comparison.

Resources used for this work:

Statistical Rethinking: A Bayesian Course with Examples in R and Stan. Second edition by Richard McElreath

Homework Solutions of Statistical Rethinking by Richard McElreath

Bayesian inference with INLA by Virgilio Gómez-Rubio

https://people.bath.ac.uk/jjf23/brinla/chicago.html

https://haakonbakka.bitbucket.io/btopic112.html

https://rpubs.com/corey_sparks/431920

https://www.flutterbys.com.au/stats/tut/tut12.10.html#h2_16

https://people.bath.ac.uk/jjf23/inla/oneway.html

https://people.bath.ac.uk/jjf23/brinla/reeds.html

https://rpubs.com/corey_sparks/431920

https://groups.google.com/g/r-inla-discussion-group/c/iQELaQF8M9Q

https://becarioprecario.bitbucket.io/inla-gitbook/ch-missing.html#sec:missresp

http://www.biometrische-gesellschaft.de/fileadmin/AG_Daten/BayesMethodik/workshops_etc/2016-12_Mainz/Muff2016-slides.pdf

http://www.r-inla.org/models/tools#TOC-Copying-a-model