Stan is a state-of-the-art platform for statistical modeling and high-performance statistical computation.Thousands of users rely on Stan for statistical modeling, data analysis, and prediction in the social, biological, and physical sciences, engineering, and business.
Users specify log density functions in Stan's probabilisticprogramming language and get:
full Bayesian statistical inference with MCMC sampling (NUTS, HMC)
approximate Bayesian inference with variational inference (ADVI, Pathfinder)
penalized maximum likelihood estimation with optimization (L-BFGS)
Stan'smath library provides differentiable probability functions & linear algebra (C++ autodiff).Additional R packages provideeasy formula syntax to specify linear and generalized linear hierarchical models,posterior visualization, andleave-one-out cross-validation.
Stan interfaces with the most popular data analysis languages (R, Python, shell, MATLAB, Julia, Stata) and runs on all major platforms (Linux, Mac, Windows).To get started using Stan begin with theInstallation andDocumentation pages.
Stan is an active and open developer community. Thehelp-wanted andgood-first-issue labels in our repositories try to highlight good places to get started, and we're happy to help more on ourforums or Slack.
We have projects in C++, Python, R, OCaml, and more.If you want to help build future versions of Stan, we want to help you get started.
We appreciate citations for the Stan software because it lets us find out what people have been doing with Stan and motivate further grant funding.SeeHow to Cite Stan for more details.
Stan is freedom-respecting, open-source software (new BSD core, some interfaces GPLv3). Stan is associated with NumFOCUS, a 501(c)(3) nonprofit supporting open code and reproducible science, through which you canhelp support Stan.
Popular repositoriesLoading
Repositories
- cmdstanpy Public
CmdStanPy is a lightweight interface to Stan for Python users which provides the necessary objects and functions to compile a Stan program and fit the model to data using CmdStan.
stan-dev/cmdstanpy’s past year of commit activity - math Public
The Stan Math Library is a C++ template library for automatic differentiation of any order using forward, reverse, and mixed modes. It includes a range of built-in functions for probabilistic modeling, linear algebra, and equation solving.
stan-dev/math’s past year of commit activity Uh oh!
There was an error while loading.Please reload this page.
stan-dev/cmdstanr’s past year of commit activity - loo Public
loo R package for approximate leave-one-out cross-validation (LOO-CV) and Pareto smoothed importance sampling (PSIS)
Uh oh!
There was an error while loading.Please reload this page.
stan-dev/loo’s past year of commit activity
