PyMC VS stan

Compare PyMC vs stan and see what are their differences.

stan

Stan development repository. The master branch contains the current release. The develop branch contains the latest stable development. See the Developer Process Wiki for details. (by stan-dev)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
PyMC stan
3 44
8,142 2,515
1.0% 0.8%
9.4 9.5
about 10 hours ago 11 days ago
Python C++
GNU General Public License v3.0 or later BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

PyMC

Posts with mentions or reviews of PyMC. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-09-06.
  • PYMC Release: v5.0.0
    1 project | news.ycombinator.com | 12 Dec 2022
  • An Astronomer's Introduction to NumPyro
    1 project | news.ycombinator.com | 17 Aug 2022
    I believe the pymc versions were resolved into developing version 4 of pymc. Development at https://github.com/pymc-devs/pymc

    It still depends on theano now evolved and renamed

  • What is Probabilistic Programming?
    4 projects | /r/learnmachinelearning | 6 Sep 2021
    This tutorial explains what is probabilistic programming & provides a review of 5 frameworks (PPLs) using an example taken from Chapter 4 of Statistical Rethinking by Dr. Richard McElreath. Frameworks (PPLs) reviewed are - Stan (https://mc-stan.org/) PyMC3 (https://docs.pymc.io/) Tensorflow Probability (https://www.tensorflow.org/probability) Pyro/NumPyro (https://pyro.ai/) Turing.jl (https://turing.ml/stable/) I also provide the basic review of a great library called arviz (https://arviz-devs.github.io/arviz/), which can be used for all the above-mentioned PPLs to do Exploratory Data Analysis of Bayesian Models. Here is the link to the notebook in which I have implemented the example model using the above Frameworks/PPLs https://colab.research.google.com/drive/1zgR2b0j2waGi1ppnIe1rw7emkbBXtMqF?usp=sharing

stan

Posts with mentions or reviews of stan. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-14.

What are some alternatives?

When comparing PyMC and stan you can also consider the following projects:

statsmodels - Statsmodels: statistical modeling and econometrics in Python

jax - Composable transformations of Python+NumPy programs: differentiate, vectorize, JIT to GPU/TPU, and more

Dask - Parallel computing with task scheduling

rstan - RStan, the R interface to Stan

Numba - NumPy aware dynamic Python compiler using LLVM

Elo-MMR - Skill estimation systems for multiplayer competitions

SymPy - A computer algebra system written in pure Python

brms - brms R package for Bayesian generalized multivariate non-linear multilevel models using Stan

pyro - Deep universal probabilistic programming with Python and PyTorch

probability - Probabilistic reasoning and statistical analysis in TensorFlow

SciPy - SciPy library main repository