You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I frequently fit categorical/multinomial families with 5 to 7 categories. This becomes inconvenient when I want to put priors on things like random intercepts. For most model families, I can do something like:
prior(normal(0, .1), class="sd")
and it will be able to apply to all of the "sd" parameters, but with these families, I need to specify for each response category, even though I want to apply the same prior to each category.
It seems like this requirement was a recent change in how these families work, but it makes them very difficult to use. Is there any possibility that global parameters for these families might be re-enabled?
The text was updated successfully, but these errors were encountered:
Yes, I understand that this is inconvenient. Does your issue relate only to the sd class or also to other classes? In the latter case, to which other classes?
I've personally only run into this with "sd" class recently, but I can imagine wanting to do the same with "b" class -- eg, if I want to put a light regularizing prior for predictor X for each outcome option.
I have reconsidered allowing the discussed prior specification options and even tried to implement them. However, the amount of special case coding and resulting maintence issues would not be justified by the advantages of the feature at this point. I may revisit such ideas at a later point when I have a good idea how to make it compatible with brms prior specification framework in a more natural and less awkward manner.
That said, prior specification in brms is vectorized nowadays, so you can do things like:
I frequently fit categorical/multinomial families with 5 to 7 categories. This becomes inconvenient when I want to put priors on things like random intercepts. For most model families, I can do something like:
and it will be able to apply to all of the
"sd"
parameters, but with these families, I need to specify for each response category, even though I want to apply the same prior to each category.It seems like this requirement was a recent change in how these families work, but it makes them very difficult to use. Is there any possibility that global parameters for these families might be re-enabled?
The text was updated successfully, but these errors were encountered: