Stan User’s Guide
The Stan user’s guide provides example models and programming techniques for coding statistical models in Stan. It also serves as an example-driven introduction to Bayesian modeling and inference. For version 2.18, this is titled Stan User’s Guide. For versions 2.17 and earlier, this is part of the Stan Reference Manual.
Stan Language Reference Manual
The manual for Stan’s programming language for coding probability models, inference algorithms for fitting models and making predictions, and posterior analysis tools for evaluating the results. This manual applies to all Stan interfaces.
Stan Language Reference Manual 2.18 pdf (GitHub pdf, CC-BY 4.0 license)
Stan Reference Manual 2.17 pdf (GitHub pdf, CC-BY 4.0 license)
combines the Stan Language Reference Manual, Stan Language Functions Reference, and the Stan User’s Guide.
Stan Language Functions Reference
The reference for the functions defined in the Stan math library and available in the Stan programming language. For versions 2.17 and earlier, this is part of the Stan Reference Manual.
Stan Language Functions Reference 2.18 pdf (GitHub pdf, CC-BY 4.0 license)
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:
StanCon Materials (GitHub, with video links)
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.
Education research using Stan (GitHub)
The Stan Forums
The most up to date discussion of modeling techniques and computational issues if often found in the Stan Forums before it ends up in a case study or a paper.
Stan Forums (Discourse)
Discussions prior to June 2017 are archived and public on the now deprecated Stan Users Google Group.
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.
Stan Wiki (GitHub)
Two particularly recommended pages are
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