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:

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.

Installing R stan

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

Background and Examples

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


HMC Background

Stan article

Example 1

Example 2

Example 3