Jonah Sol Gabry

Software and papers

Jump to:


Stan

Stan is a statistical modeling language along with inference algorithms for full Bayesian inference, approximate Bayesian inference, and penalized maximum likelihood estimation. Stan is implemented in C++ but we provide interfaces for the command line, R and Python (and more).

R packages

rstan

CRAN_Status_BadgeRStudio_CRAN_mirror_downloads_badge

The rstan package is the R interface to Stan.
website | CRAN | source code on GitHub


rstanarm

CRAN_Status_Badge RStudio_CRAN_mirror_downloads_badge

The rstanarm package is for Bayesian applied regression modeling (ARM) via Stan. It is an appendage to the rstan package that enables some of the most common applied regression models to be estimated using Markov Chain Monte Carlo, variational approximations to the posterior distribution, or optimization. The rstanarm package allows these models to be specified using the customary R modeling syntax (e.g., like that of glm with a formula and a data.frame).
website | CRAN | source code on GitHub


shinystan

CRAN_Status_Badge RStudio_CRAN_mirror_downloads_badge

The shinystan R package provides a graphical user interface providing interactive visual and numerical summaries of model parameters and convergence diagnostics for Bayesian models estimated using MCMC.
website | CRAN | source code on GitHub


bayesplot

CRAN_Status_BadgeRStudio_CRAN_mirror_downloads_badge

The bayesplot R package provides a library of plotting functions for use after fitting Bayesian models (typically with MCMC).
website | CRAN | source code on GitHub

A paper about bayesplot and visualization in the Bayesian workflow more generally:


loo

CRAN_Status_Badge RStudio_CRAN_mirror_downloads_badge

The loo R package is for efficient approximate leave-one-out cross-validation for Bayesian models.
website | CRAN | source code on GitHub

The package implements the methods described in these papers with Aki and Andrew:


rstantools

CRAN_Status_BadgeRStudio_CRAN_mirror_downloads_badge

The rstantools R package provides tools for developing R packages interfacing with Stan.
website | CRAN | source code on GitHub


posterior

CRAN_Status_BadgeRStudio_CRAN_mirror_downloads_badge

The posterior R package provides efficient conversion between many different useful formats of draws (samples) from posterior or prior distributions, consistent methods for operations commonly performed on draws, various summaries of draws in convenient formats, and lightweight implementations of state of the art posterior inference diagnostics.
website | CRAN | source code on GitHub


cmdstanr

The cmdstanr R package provides an R interface to CmdStan.
website | source code on GitHub


Papers

Preprints:

Tutorials and educational materials

A selection of tutorial vignettes on practical topics in Bayesian data analysis.

Visualization

Bayesian regression modeling with rstanarm

Predictive performance and model comparison

Developing R packages with pre-compiled Stan programs