[FieldTrip] 2x3 ANOVA depsamplesHotTsqr

Julian Keil julian.keil at gmail.com
Wed Dec 21 17:17:00 CET 2016

Dear Lin, Aykut and Alex,

I wrote a fieldtrip-compatibe wrapper function to the ANOVA-Functions by Trujillo-Ortiz (the originals can be found on the Matlab File Exchange) which can handle n-way repeated ANOVAs.
These functions can handle timlock, TFR or source-level FT structures.
The code can be found on by Github: https://github.com/juliankeil/VirtualTools
Please be aware, that these ANOVA-functions in DO NOT use a permutation approach or provide any correction based on clusters. All correction for multiple comparisons has to be done after running the ANOVA.

Some recent examples in which these functions were used are:
Keil, J., Pomper, U., Senkowski, D., 2016. Distinct patterns of local oscillatory activity and functional connectivity underlie intersensory attention and temporal prediction. … Cortex 74, 277–288. doi:10.1016/j.cortex.2015.10.023
Roa Romero, Y., Keil, J., Balz, J., Gallinat, J., Senkowski, D., 2016a. Reduced frontal theta oscillations indicate altered crossmodal prediction error processing in schizophrenia. J Neurophysiol 116, 1396–1407. doi:10.1152/jn.00096.2016
Roa Romero, Y., Keil, J., Balz, J., Niedeggen, M., Gallinat, J., Senkowski, D., 2016b. Alpha-Band Oscillations Reflect Altered Multisensory Processing of the McGurk Illusion in Schizophrenia. Frontiers in Human Neuroscience 10, 41. doi:10.3389/fnhum.2016.00041

Maybe these reference suggested by an anonymous reviewer could be helpful in the implementation of a permutation approach:
Anderson, M., Braak, C., 2002. Permutation tests for multi-factorial analysis of variance. Journal of Statistical Computation and Simulation 73, 85–113.
Anderson, M.J., 2001. Permutation tests for univariate or multivariate analysis of variance and regression. Can. J. Fish. Aquat. Sci. 58, 626–639. doi:10.1139/cjfas-58-3-626

Good luck,


Am 21.12.2016 um 14:34 schrieb 蔡林:

> Me too, fieldtrip probably cannot investigate the interactions using cluster-based permutation test.
> Who can provide alternative methods to solve this kind of problem?
> lin
> -----原始邮件-----
> 发件人:"Aykut Eken" <ekenaykut at gmail.com>
> 发送时间:2016-12-21 20:41:11 (星期三)
> 收件人: "FieldTrip discussion list" <fieldtrip at science.ru.nl>
> 抄送:
> 主题: Re: [FieldTrip] 2x3 ANOVA depsamplesHotTsqr
> I also have the same problem. Does fieldtrip have a statistical analysis function for N- way ANOVA?
> Aykut
> El 21 dic 2016, a las 15:09, Alex Sel <alex.sel at psy.ox.ac.uk> escribió:
>> Dear list,
>> I have an 2x3 ANOVA design and I would like to test the interactions using the cluster-based permutation test. I would like to use the statfun depsamplesHotTsqr. However, it seems that it has not been implemented yet.
>> Has anyone used the depsamplesHotTsqr and knows how to implement it?
>> Any insights on this would be much appreciated.
>> Thank you.
>> Best wishes,
>> Alex Sel, PhD
>> Postdoctoral Researcher
>> Department of Experimental Psychology,
>> University of Oxford,
>> 9 South Parks Road,
>> OX1 3UD
>> Tel: 01865 277 229
>> Email: Alex.sel at psy.ox.ac.uk
>> _______________________________________________
>> fieldtrip mailing list
>> fieldtrip at donders.ru.nl
>> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20161221/b361ab68/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20161221/b361ab68/attachment-0002.sig>

More information about the fieldtrip mailing list