Priors on beta matrix rows

Thanks for the inputs, @Bob_Carpenter!

So, what you meant here is that this way I’m doing is probably the best one we have so far and that, besides it consumes a lot of computational effort, the use of multi_normal_cholesky distribution is the best choice as well, right?

Do you think I can reduce this computational time/cost by using reduce_sum functions?

I tried this approach here with a simpler example, but it seems the code didn’t get faster.
I’d appreciate your opinion in this topic if you can, as well.

Thanks a lot!