model confound condition in single-trial estimates #146
-
Hello, I'm dealing with the following block design (x 18 trials within each run) and would like to compute single trial estimates for the second condition only (the yellow one), while modelling the first one as a confound. Which would be the best way to deal with this design using GLMSingle? The condition durations are 5 and 15 sec, respectively. Many thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
If you don't care about the response to the first one at all (e.g., don't even want the beta weight associated with that one), then you could use the extraregressors input argument to specify how exactly you want to model that variance. For example, you could include a single regressor covering all instances/trials of the first one, or maybe you want to include a separate regressor for each trial associated with the first one. Then, you could specify the second condition (15 s) as the experimental condition of interest, and use a stimdur of 15. |
Beta Was this translation helpful? Give feedback.
Yeah, the easiest thing is to do what you said (just assume the canonical HRF, e.g. getcanonicalhrf.{m,py}). I think it's probably good enough...
(Alternatively, you'd have to do something like, first run GLMsingle to try to estimate the HRF for each voxel, and then use that to generate the extragressor, and then run it a second time... But this seems like a lot of work for unknown benefits. I guess, you can see how things look...)