Between and Within Subject Design with Stimulus Coding #601
Unanswered
shabnamhossein
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I want to use hierarchical DDM to model an implicit association task (IAT). I have both within (Time: pre and post a drug administration) and between subject (Group: control group vs treatment group) variables. My understanding is that hddm.HDDMRegressor or hddm.HDDM are not the best models for this purpose, especially since I need to use stimulus coding and not accuracy coding. So I am using the HSSM package and this my model (only considering v for the purpose of this question) including group specific intercepts and slopes and group specific intercept for different time point. 1) Is this a correct formulation? Would you recommend formulating it differently?
model = hssm.HSSM(
model="ddm”,
data=data,
include=[
{
"name": "v",
"formula": "v ~ Group + (Group|subject) + (1|Time)”,
“link": "identity",
},
],
)
And 2) How can I incorporate stimulus coding with this formulation (v and -v)?
Beta Was this translation helpful? Give feedback.
All reactions