Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jgabry/lander-stan-class-2023

Materials for Bayes/Stan workshop using CmdStanR
https://github.com/jgabry/lander-stan-class-2023

bayesian mcmc stan

Last synced: about 1 month ago
JSON representation

Materials for Bayes/Stan workshop using CmdStanR

Awesome Lists containing this project

README

        

# Lander Analytics Bayes/Stan Class 2023

### Install needed software

```r
# install R packages
install.packages(c("dplyr", "lubridate", "ggplot2", "bayesplot", "posterior", "remotes"))
remotes::install_github("stan-dev/cmdstanr")

# install cmdstan
# please reach out if you run into errors
cmdstanr::install_cmdstan(cores = 2)

# check if cmdstan installation works properly
# please reach out if you run into errors
cmdstanr::cmdstanr_example()

# optionally install rstan
# we won't _need_ this but it has some extra features we can use if you have it installed
# if it fails to install don't worry about it
install.packages("rstan")
```

### Interactive MCMC demo

We'll use this on day 2:

https://chi-feng.github.io/mcmc-demo/app.html