Interfaces

Interfaces

ways to run Stan

Stan Language Interfaces

To perform inference and posterior analysis for Stan language programs, choose an interface:

Stan programs 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 functions, and linear algebra.

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

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.