r/datascience • • 16d ago

Statistics What would a fully Bayesian programming environment look like?

https://statmodeling.stat.columbia.edu/2026/11/11/the-challenge-of-truly-probabilistic-programming/
97 Upvotes

15 comments sorted by

View all comments

7

u/hendrik0806 16d ago

I can kind of relate - although I have in generell mixed feelings about vectorisation beside from its efficiency. Thinking about the model and parameters in iterations gives me a feeling for the data flow - especially when the model contains multiple modules with measurement and structural parts. This is why I kind of dislike when indexes falls away using vectorisation in stan. In R parameters as vectors are pretty simple to handle especially with tidyverse functions and storing them as lists in tibbles through nest. I don’t really see any necessity for packages that abstract away important details when handling those samples.

3

u/StephenSRMMartin 15d ago

I tend to start building out a model in terms of single logical units at a time (row, or group, or whatever makes sense), to get the structure. Then change it to matrix notation for brevity (with superscripts denoting matrix dimensions), then it's a pretty direct translation to Stan.