User experience: Python vs R, PyMC vs Stan, PyTensor vs JAX

It could be force of habits as I was taught C++ and Matlab during my college’s days.
Thanks a lot for providing the background knowledge about Stan (and Bayesian methods). Very good learning materials!

I like the ArviZ library in general. Within the PyMC, there are two functions:

  1. pm.Potential . Handy function to impose constraints. I used this function to weight my data points. I need to do evidence synthesis from multiple sources, so being able to weight data is great.
  2. pm.Truncated. When building model, I need to look at a particular regions of my variables for various reasons (e.g., experimenting with model structures/ functions, sourcing for priors from literature or sometimes, just to get some results because the model is not fitting properly). I do made a point to remove all these Truncated distributions in the final model.