Dear Nusrat,
I tend to use the "Subjects" options (as you usually end up writing a
script for either option anyway) but your factor matrix looks OK to me.
Could you copy-paste here anything that gets displayed in the MATLAB
window when you press the Run button?
Best regards,
Guillaume.
On 25/02/2020 18:28, Nusrat Rabbee wrote:
> Hello-
>
> I am trying to specify a long list of scans that are separated into two groups and two timepoints.
> 1. I need to use 'Specify All' under the scans and bulk load the scans. They are laid out as:
>
> subject 1_grp1_time 1.nfii
> subject 1_ grp1_ time 2.nfii
> subject 2_ grp1_ time 1.nfii
> subject 2_ grp1_ time 2.nfii
> ...
> subject 101_ grp2_ time 1.nfii
> subject 101_ grp2_ time 2.nfii
> subject 102_ grp2_ time 1.nfii
> subject 102_ grp2_ time 2.nfii
> ...
> 2. I specify Main factor as '1' [subject] and interaction as factors '2 3' [group and time]
>
> 3. I load the scans and then I I entry the factor matrix as:
>
> 1 1 1 1
> 1 1 1 2
> 1 2 1 1
> 1 2 1 2
> ...
> 1 101 2 1
> 1 101 2 2
> 1 102 2 1
> 1 102 2 2
>
> SPM does not run and generates an error - (there is nothing in my MATLAB window).
>
> What am I missing?
>
> Thanks in advance.
>
> NR
>
--
Guillaume Flandin, PhD
Wellcome Centre for Human Neuroimaging
UCL Queen Square Institute of Neurology
London WC1N 3BG
|