These textbooks are great resources for some of the topics we will cover. You do not need to buy them, but you may be able to borrow them from Duke library should you need extra reading materials, besides the class slides and main textbooks.
- Bayesian Data Analysis (Third Edition) by Andrew Gelman, John Carlin, Hal Stern, David Dunson, Aki Vehtari, and Donald Rubin.
- Introduction to multilevel modeling using rstanarm: A tutorial for education researchers.
- Doing Bayesian Data Analysis in brms and the tidyverse
- Statistical rethinking with brms, ggplot2, and the tidyverse: Second edition
- Albert, J. (2009), "Bayesian Computation with R (Second Edition)."
R and R Markdown Resources
R Markdown can be used to create high quality reports and presentations with embedded chunks of R code. You are required to use R Markdown to type up your lab reports. R Markdown would also be my personal favorite for typing up your homework assignments for this course, but you are welcome to use any word processor of your choice for those. To learn more about R Markdown and for other resources for programming in R, see the links below.
- R for Data Science (by Hadley Wickham & Garrett Grolemund)
- Introduction to R Markdown (Article by Garrett Grolemund)
- Introduction to R Markdown (Slides by Andrew Cho)
- R Markdown Cheat Sheet
- Data Visualization with ggplot2 Cheat Sheet
- Other Useful Cheat Sheets
- A very (very!) basic R Markdown template
You may also use LaTeX to type up your assignments. You may find it easier to create your TeX and LaTeX documents using online editors such as Overleaf (simply create a free account and you are good to go!). However, that need not be the case. If you prefer to create them locally/offline on your personal computers, you will need to download a TeX distribution (the most popular choices are MiKTeX for Windows and MacTeX for macOS) plus an editor (I personally prefer TeXstudio but feel free to download any editor of your choice). Follow the links below for some options, and to also learn how to use LaTeX.