Cannot set priors for hierarchical ddm #365
-
Dear HSSM team, I am trying to fit a hierarchical ddm to my data, where I start with the model:
Here I specified the priors, however, when I print the model with
This does not match what I have supplied in the Could you let me know what else should be done here? Thanks a lot for your help! Best, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @TeaforTwo1011, Could you provide a bit more details about what model are you trying to build? From the code that you have shared, you have specified regressions for each parameter, therefore, you need to specify priors for each regression term. Let's say that you are specifying a regression on v:
Because you did not specify priors for regression terms, HSSM used default priors for all the regression terms in your model. That's why you are seeing priors that you did not specify. For more details on how to specify priors for hierarchical models, please see our tutorial here. Hope this is helpful! Please let me know if you have any other questions. Thanks! |
Beta Was this translation helpful? Give feedback.
Hi @TeaforTwo1011,
Could you provide a bit more details about what model are you trying to build?
From the code that you have shared, you have specified regressions for each parameter, therefore, you need to specify priors for each regression term. Let's say that you are specifying a regression on v:
v ~ 1 + (1|subj_id)
, then in the corresponding dictionary ininclude
, you need to specify priors like this: