APPLIED BAYESIAN MODELING
ICPSR SUMMER PROGRAM, JULY 21-23, 2025
Welcome to the website for my workshop Applied Bayesian Models for Social Scientists: From Theory to Estimation and Inference in the 2025 ICPSR Summer Program. This page contains course materials, a variety of information on how to fit and present Bayesian models using Stan and R. Please email me if you have any questions about the material on this page or if you discover any errors. Additional materials for participants will be distributed during the workshop via Canvas. Instructions on how to prepare and what to install will be sent to all participants before the first day of the workshop.
Workshop materials
- Syllabus
- Installing R, RStudio, and Stan
- Tutorials for lab sessions
- BayesPostEst, an R package with functions from the workshop
Installing R, RStudio, and Stan
- Install the most recent version of R from the CRAN website.
- Download and install the most recent version of RStudio.
- We've set time aside to go over installing Stan during the workshop, since it will likely require a few individual adjustments depending on your computer's operating system.
Lab tutorials
The following tutorials (available on Canvas) accompany the labs offered during the workshop:- Installing software
- First steps in R
- Using Stan via rstanarm
- Using Stan via brms
- A closer look at convergence
- Using MCMC output for postestimation
- Writing customized models in Stan via RStan
- Writing customized models in Stan via CmdStanR
- Constructing and processing multilevel data
- Communicating results from Bayesian analysis