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
stan-dev/rstanRStan is the R interface to Stan, a probabilistic programming language for Bayesian inference. It lets R users write Stan models, compile them, and run state‑of‑the‑art MCMC or variational inference, returning results as R objects that integrate with standard diagnostic and plotting tools.
- Project
stan-dev/rstanarmAn R package for Bayesian applied regression modeling that emulates frequentist model-fitting functions using Stan for back-end estimation.
- Project
bambinos/bambiA high-level Bayesian model-building interface for Python that simplifies fitting mixed-effects and linear models using PyMC.
- Project
stan-dev/stanA C++ package for Bayesian inference and statistical modeling using Hamiltonian Monte Carlo and variational inference.
- Project
paul-buerkner/brmsbrms is an R package that provides a high‑level, lme4‑style interface for fitting Bayesian generalized (non‑linear) multilevel models using Stan. It supports many response families, flexible priors, and a suite of post‑fit diagnostics and visualizations, enabling users to perform sophisticated Bayesian regression without writing Stan code directly.