Course Preparation

R is a crucial skill for success in this short course. Considering reviewing R For Beginners, which gives a nice overview of basic R functionality. Specifically, you should be very comfortable with manipulating matrices and lists and writing and using custom functions.

We strongly recommend purchasing Hobbs & Hooten 2015. The first three chapters provide foundational material that we will cover fairly quickly in the course, so if you have not had a course in mathematical statistics, reading those chapters before the course is crucial. The structure of the course closely follows the organization of the book and it will be a useful reference after the course.


MCMCVis R Package

We will use the MCMCvis package to manipulate and visualize JAGS output. The package vignette nicely outlines its capabilities.


Statistical Notation Help

Here are some conventions for statistical notation that you might find helpful.


Install course R package SESYNCBayes

We have prepared an R package that contains all the data you will need to complete our lab exercises. The package is part of the course materials that you now have on your local machine. You will need to do an initial install of this package and do periodic updates throughout the course. For both the install and update the commands are the same.

  1. Download the R package SESYNCBayes ver. 0.6 to your computer.

  2. Open R or RStudio run the following line of code to install the SESYNCBayes package from source. Remember to change <pathtoSESYNCBayes> to the path to the directory where you cloned the SESYNCBayes course repository.

install.packages("<pathtoSESYNCBayes>/Packages/SESYNCBayes_0.6.0.tar.gz", repos = NULL, type = "source")
  1. When working in RStudio you load the library like any other R library:
library(SESYNCBayes)
  1. It is easy to see the help files for SESYNCBayes type in R:
?SESYNCBayes


Licensing

All material on this website is licensed under GPLv3.