Dear Laura,
SPM.xX.name contains the name of each regressor in the design matrix
using the format: 'Sn(s) trial(u)*bf(i)'. So you could use this
information to find the indices of the conditions you are interested in
over sessions. Otherwise the SPM.Sess structure also contains all of the
required information (this is what the batch system uses when
replicating contrasts over sessions).
Best regards,
Guillaume.
On 27/11/2018 20:48, Laura Blevins wrote:
> Dear SPMers,
>
> We are currently conducting a study with participants that come back to complete a task over 3 sessions (separated by a week). We are interested in modeling all three sessions in one first level model. We would also like to include the outliers from each session as regressors in our model.
>
> I know that contrasts can be created or replicated over conditions (across multiple sessions), however I'm interested in creating contrasts that compare sessions. I want to avoid doing this manually because of the differing number of outliers in each session. Is there an easy way to do this in SPM12?
>
> Best,
>
> Laura
>
--
Guillaume Flandin, PhD
Wellcome Centre for Human Neuroimaging
UCL Queen Square Institute of Neurology
London WC1N 3BG
|