How to most efficiently reduce_sum in a hierarchical logistic model

You might also take a look here as I suspect you might have a lot of redundant computations in this model that could be eliminated for performance gains in addition to using reduce_sum.

1 Like