Before the Workshop

The following pieces of software/packages should be installed before the start of the workshop.

Installing R

If you have not done so already you will need to download and install R:

https://cran.r-project.org/mirrors.html

Installing R studio

While not strickly necessary to get the examples running the following program can be used to compile the R markdown files that accompany the examples.

https://www.rstudio.com/products/rstudio/download/

Installing R stan

You will need to install rstan by following the instuctions in one of the following links:

https://github.com/stan-dev/rstan/wiki/Installing-RStan-on-Mac-or-Linux

https://github.com/stan-dev/rstan/wiki/Installing-RStan-on-Windows

Background and Examples

The following assumes that you have already installed R, rstan and optionally Rstudio by following the above instructions.

Background

HMC Background

Stan article

Example 1

Example 2

Example 3