Handling multiple cross-cutting (non-nested) groups in hierarchical model

When your model is over-parameterized like this, reducing the number of parameter is a good and straightforward way. You can try setting some mu_* to zero, for example, just do mu_r = 0

Also, you should avoid using pm.Flat as prior, a Normal distribution would be much better.

2 Likes