Dear Frank,
The design matrix you show can be created using the flexible factorial
design option (defining three factors: subject, condition and group then
specifying main effect of subject, and condition-by-group interaction).
That said, the recommended approach for such data is described here:
https://en.wikibooks.org/wiki/SPM/Group_Analysis
Best regards,
Guillaume.
On 16/01/2020 10:42, Frank VAN OVERWALLE wrote:
> Hi all,
>
>
>
> I would like to apply an extension of an ANOVA within, combined with a
> test of differences between groups.
>
>
>
> The design then should look like in the picture below (where the upper
> left block with red border reflects the typical one-group ANOVA within –
> when excluding rows 4-6):
>
>
>
> How can I realize this in a batch file? Or is there a (batch) script
> available to do this?
>
>
>
> Thanks in advance for any help.
>
>
>
> Best, Frank Van Overwalle
>
>
>
>
>
>
>
>
>
>
>
--
Guillaume Flandin, PhD
Wellcome Centre for Human Neuroimaging
UCL Queen Square Institute of Neurology
London WC1N 3BG
|