Skip to content

how to set priors when I don't have any for Multiple Parameters are Regression Targets in HSSM #392

Answered by digicosmos86
XiaoyuZeng asked this question in Q&A
Discussion options

You must be logged in to vote

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 where a: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 argument prior_settings="safe" when you call hssm.HSSM(), and the default prio…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@XiaoyuZeng
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by XiaoyuZeng
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants