regarding interaction calculation

Tzvetan Popov tzvetan.popov at UNI-KONSTANZ.DE
Tue Apr 20 13:19:00 CEST 2010


Dear Users,

I have a question regarding calculation of interaction. One imagine 5
subjects observed in 3 experimental conditions. In this case to test
the differences between those three conditions, one would use
'depsamplesF'  with the following design matrix:

design = [1 2 3 4 5 1 2 3 4 5 1 2 3 4 5
                   1 1 1 1 1 2 2 2 2 3 3 3 3 3 3]; , where uvar=1 and
ivar=2

Now if one imagine 2 sessions of the same 5 subjects and want to
calculate 2x3 ANOVA the design matrix may look like this;

design = [1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5
                   1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 2
2 2 2 2
                   1 1 1 1 1 2 2 2 2 3 3 3 3 3 3 1 1 1 1 1 2 2 2 2 3 3
3 3 3 3];, where uvar=1, ivar=3 and the second row represents the
group affiliation.

If this calculation is possible, which I am also not certain, my
question is, is the design matrix correct and what should be the cfg.
setting for the 'group affiliation' row?

Many many thanks
tzvetan



*******************************************
Tzvetan Popov
Clinical Psychology
University of Konstanz
Box 23
78457 Konstanz, GERMANY
Phone: 0049-7531-883086
Fax:      0049-7531-884601
Email:  tzvetan.popov at uni-konstanz.de
*******************************************

----------------------------------
The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis. See also http://listserv.surfnet.nl/archives/fieldtrip.html and http://www.ru.nl/neuroimaging/fieldtrip.



More information about the fieldtrip mailing list