stan-dev/pystan

PyStan, a Python interface to Stan, a platform for statistical modeling. Documentation: https://pystan.readthedocs.io

What it solves

PyStan provides a Python interface to Stan, a platform for high-performance statistical computation and Bayesian inference. It allows users to perform complex statistical modeling, data analysis, and prediction across various scientific and business domains.

How it works

PyStan acts as a bridge to the Stan language. Users define their statistical models in the Stan language (as strings in Python), provide data, and use PyStan to compile the model and sample from the posterior distribution to obtain results.

Who it’s for

It is designed for researchers and practitioners in the social, biological, and physical sciences, engineering, and business who need to perform Bayesian statistical modeling.

Highlights

  • Automatic caching of compiled Stan models.
  • Automatic caching of samples from Stan models.
  • Interface similar to RStan.
  • Open source under the ISC License.

Related

  • Project
  • Project
  • Project
  • Project
  • Project