how to set priors when I don't have any for Multiple Parameters are Regression Targets in HSSM #392
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Hi all, `Hierarchical Sequential Sampling Model Response variable: rt,response Parameters: v: Lapse probability: 0.05 |
Beta Was this translation helpful? Give feedback.
-
Hi @XiaoyuZeng, Thank you for using the HSSM package! First, you can simplify the right hand side of all of your formulas to We do have a set of default priors when priors are not provided. We have recently updated the package but these changes have not really made it to the officially released package yet. To incorporate these changes, you can run The default priors when you don't specify Hope this helps. Let me know if this works :) Thanks! |
Beta Was this translation helpful? Give feedback.
-
Many thanks for your help, Paul! The argument After a lot of struggles to install the latest hssm via git, I found this argument in the hssm 0.2.1 worked well. In addition, in this latest version of hssm, I seem to find a bug related to the random slope. I will submit another bug report about this. Thanks again! Best,
|
Beta Was this translation helpful? Give feedback.
Hi @XiaoyuZeng,
Thank you for using the HSSM package! First, you can simplify the right hand side of all of your formulas to
1 + condition * stage + (1+condition * stage|subj_idx)
, because when specifying interactions,a * b
=a + b + a:b
wherea:b
is the interaction term.We do have a set of default priors when priors are not provided. We have recently updated the package but these changes have not really made it to the officially released package yet. To incorporate these changes, you can run
pip install git+https://github.com/lnccbrown/HSSM.git
to install the dev version of HSSM. After that, you can add this argumentprior_settings="safe"
when you callhssm.HSSM()
, and the default prio…