A prior's par1/par2 are recycled across every element of the
parameter it indexes. Recycling is silent, so a hyperparameter vector that
is neither scalar nor the same length as the parameter quietly assigns the
wrong hyperparameter to some elements. Call this after get_priors (and
after any hand-editing of the returned list) to catch that.
Arguments
- priors
A
listof prior specifications, typically fromget_priors.- parameters
A
listcontaining the model parameters.
