ways to run Stan

Stan Interfaces

The Stan modeling language and statistical algorithms are exposed through interfaces into many popular computing environments.

Programs written in the Stan modeling language are portable across interfaces.

Higher-Level Interfaces

RStanArm provides an R formula interface for Bayesian regression modeling.

Lower-Level Interfaces

The Stan Math Library provides differentiable special functions, probability densities, and linear algebra in C++.

The Stan Core Library includes the language source-to-source compiler, I/O, inference algorithms, and posterior analysis algorithms, all in C++.

Useful Tools

ShinyStan provides interactive visual summaries and advanced posterior analysis of MCMC output.

The bayesplot package is a ggplot2-based plotting library for graphing parameter estimates, MCMC diagnostics, and posterior predictive checks.

The rstantools package provides various tools for developers of R packages interfacing with Stan.

The loo package provides efficient leave-one-out cross-validation and WAIC calculations.