Open AntonioMartini opened 8 years ago
I don't think this is possible with map2stan. There's no obvious way to do it, at least.
With some help I have managed to code this in Stan:
https://groups.google.com/forum/#!category-topic/stan-users/general/sgX2Edo8qiQ
This might help with supporting this feature in the Rethinking package in the future.
For example Is there a way to extend the following example given at page 337 in the book to the multilevel case?
Let's suppose we would like to estimate the 'cutpoints' for different education groups in a multilevel fashion. It would seem that we need to impose a hierarchical structure to 'cutpoints' .How could this be achieved within the Rethinking package? I have tried different options but none compiled for different reasons.
Thanks, Antonio