Thankful for the work by MICHAEL D. LEE AND ERIC-JAN WAGENMAKERS.
Exercises in R and Stan of the Bayesian Cognitive Modeling book by Lee and Wagenmakers
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0)
Once inside the exercises folder, the easiest way to look at the solution is to open the pdf version of the relevant exercise file in the pdf_files folder.
While if you want an interactive experience where you can copy and paste the code directly from the browser, please download the relevant (exercise) html file from the html_files folder and use any modern browser to render it. Definitely better visuals.
In the exercises folder of this repository you will also find individual .Rmd files (for all exercises). These files are used to render the output files in the '.html' and '.pdf' format using the 'render_files.R' script. For solution of the exercises please directly go to the relevant files in either the 'html_files' or 'pdf_files' folder. To generate these files yourself on your own machine '.Rmd' files are your friend.
--> Software and toolbox versions
-
R version.string R version 3.6.1 (2019-07-05) ++ nickname Action of the Toes
-
Stan: Version: 2.21.2 ++ Depends: R (≥ 3.4.0), StanHeaders (≥ 2.21.0), ggplot2 (≥ 3.0.0)
author: Saurabh Steixner-Kumar
email: s.steixner-kumar@uke.de
twitter: @SteixnerKumar