Hi @diogro, I am not sure if you are still working on this topic, and I have a solution at here that runs faster than your code. I much appreciate you providing the stan
code. It is inspiring. Thank you.
4 Likes