# A detailed comparison between PyMC and Stan syntax and approaches to modelling

**URL:** <https://discourse.pymc.io/t/a-detailed-comparison-between-pymc-and-stan-syntax-and-approaches-to-modelling/16430>\
**Category:** Sharing\
**Created:** [January 22, 2025, 1:57pm UTC](https://discourse.pymc.io/t/a-detailed-comparison-between-pymc-and-stan-syntax-and-approaches-to-modelling/16430 "2025-01-22T13:57:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ricardoV94](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.pymc.io/ricardov94/32/5775_2.png) [@ricardoV94](https://discourse.pymc.io/u/ricardoV94)\
**Post date:** [January 22, 2025, 1:57pm UTC](https://discourse.pymc.io/t/a-detailed-comparison-between-pymc-and-stan-syntax-and-approaches-to-modelling/16430/1 "2025-01-22T13:57:42Z")

</div>

I wrote a small notebook that tries to distill the similarities/differences between PyMC and Stan.

- [Google colab](https://colab.research.google.com/gist/ricardoV94/c421ddacb3ba7a19ac46efa253ea466c/rosetta_stone_pymc_stan.ipynb)
- [Github gist](https://gist.github.com/ricardoV94/c421ddacb3ba7a19ac46efa253ea466c)

It was motivated some recent discussions. Feedback / questions appreciated!

---

<div class="post-metadata">

**Author:** ![bwengals](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.pymc.io/bwengals/32/1237_2.png) [@bwengals](https://discourse.pymc.io/u/bwengals)\
**Post date:** [January 23, 2025, 6:03pm UTC](https://discourse.pymc.io/t/a-detailed-comparison-between-pymc-and-stan-syntax-and-approaches-to-modelling/16430/2 "2025-01-23T18:03:07Z")

</div>

Thanks so much for writing this up!
