I am in a bit stuck at the moment.
I’m relatively new to stan, but I want to incorporate it into my teaching.
However, I am not sure which ecosystem should I focus on.
My students are much more familiar with Python, and Python is something that the local work market wants.
On the other hand, a sheer amount of tools available in R is amazing. Are there even packages comparable to brms for python?
What would you recommend? Are advantages of easier interfaces to stan overweight the requirement of learning R?
I’ll be grateful for any suggestions.
right now the Python ecosystem lacks anything like BRMS - we’re working on it!
the Arviz package has some of the Bayesplot functionality for downstream visualization and analysis.
Aki just pointed me to “bambi” - https://github.com/bambinos/bambi which has a syntax similar to lme4 and uses PyMc3 as a backend.
I’ve been working on CmdStanPy which is a lightweight wrapper around Stan - it’s feature complete but still in Beta - https://cmdstanpy.readthedocs.io/en/latest/ - there are corresponding notebooks here: https://github.com/stan-dev/cmdstanpy/tree/master/docs/notebooks
some of the Stan case studies are already written for PyStan - you could probably update these to use CmdStanPy and Arviz, and if you do these, we’ll be happy to add your version to the case studies page.
Thanks for pointing me in a right direction.