sambrilleman / 2018-StanCon-Notebook

Notebook submission for StanCon 2018

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This repository contains the source files required to compile the following RMarkdown notebook, which was submitted to StanCon 2018:

  • Joint longitudinal and time-to-event models via Stan by Sam Brilleman, Michael Crowther, Margarita Moreno-Betancur, Jacqueline Buros Novik, and Rory Wolfe

A compiled PDF version of the notebook is included in the repository's root directory. To compile the notebook yourself, you will need to run the RMarkdown file in the root directory, and have the following R packages installed (including their dependencies): knitr, ggplot2, survival, data.table, rstanarm.

Note: At the time of writing this, the version of rstanarm that is required is the development version available here since this contains the stan_jm modelling function, however, this will be uploaded to CRAN in the near future, so it may be worth checking here whether rstanarm version >=2.17.0 has been released on CRAN. If it has, then it would be easier to install the package directly from within R by calling install.packages("rstanarm") instead of downloading the development version from GitHub.

About

Notebook submission for StanCon 2018

License:GNU General Public License v3.0


Languages

Language:Stan 88.7%Language:R 11.3%