I'm not sure if I understood you correctly. I will try to put everything together and please correct me if I'm wrong. Thank you!
I have two factors, one covariate that I'm not interested in and just want to control for, another covariate (rating) that I am interested in. And I'd like to have two random effects in the model, one is subject ID, the other is stimulus ID (this one is trial-level). In a behavioral model I would do rating~factor1*factor2+covariate+(1|SID)+(1|stimID)
So I should add both covariates into 3dDeconvolve with the -stim_times_AM2 option. Should the stimulus ID go into the -stim_times_AM2 option as well?
And then on the group level, I should do the below model? Is the covariate here stimulus ID?
-model 'factor1*factor2*covariate+(1+covariate|Subj)'
Edited 3 time(s). Last edit at 12/31/2020 03:53PM by lxykh.