Documentation

Documentation

General Documentation

The official Stan documentation website https://mc-stan.org/docs/ contains

CmdStan, CmdStanR, CmdStanPy Documentation

CmdStan is the command-line interface to Stan. New versions are released several times a year. CmdStanR and CmdStanPy provide access to CmdStan from R and Python, respectively. They use minimal memory beyond what is used by CmdStan itself to run and record an analysis, therefore they can be used to fit complex models and/or large datasets. They are highly recommended for users on Windows machines.

RStan Documentation

PyStan Documentation

The Stan Forums

Discussion of modeling techniques and computational issues.

Discussions prior to June 2017 are archived and public on the now deprecated Stan Users Google Group.

Case Studies and Notebooks

Case studies provide longer, more-detailed discussion of various applications, models, and methodologies. Each case study is written in knitr or Jupyter notebooks so that the discussion is accompanied with working code. Case studies written or validated by the Stan development team can be found at

The proceedings of each Stan Conference also take the form of self-contained notebooks. StanCon notebooks are hosted on GitHub along with other materials from the conferences:

Tutorials

The Stan development team and many users have contributed tutorials aimed at introducing users to various aspects of statistical modeling with Stan, both in written and visual formats. These tutorials can be found at

Specialized Field Guides

Tutorials, case studies, software packages, and publications related to specific fields. These pages are maintained by volunteers from the Stan community. If you would like to contribute one for your field please reach out on the Stan forums.

GitHub Stan Developer Wiki

The Stan Wiki is largely focused on development documentation but it also includes a few pages with helpful information for users.

One particularly recommended page is

which specifies the functions built into the Stan programming language.

Stan Software Development Lifecycle

The software development practices underlying the code managed by the Stan project is hosted at

Further References

Finally, there are many works that elaborate on aspects of Stan from algorithms to applications. Some of the more relevant references can be found at