<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear Lin, Aykut and Alex,<div><br></div><div>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.</div><div>These functions can handle timlock, TFR or source-level FT structures.</div><div>The code can be found on by Github: <a href="https://github.com/juliankeil/VirtualTools">https://github.com/juliankeil/VirtualTools</a></div><div>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.</div><div><br></div><div>Some recent examples in which these functions were used are:</div><div>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<br>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<br>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</div><div><br></div><div>Maybe these reference suggested by an anonymous reviewer could be helpful in the implementation of a permutation approach:</div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 20px; text-indent: -20px; font: normal normal normal 12px/normal Helvetica; ">Anderson, M., Braak, C., 2002. Permutation tests for multi-factorial analysis of variance. Journal of Statistical Computation and Simulation 73, 85–113.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 20px; text-indent: -20px; font: normal normal normal 12px/normal Helvetica; ">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</div></div><div><br></div><div>Good luck,</div><div><br></div><div>Julian</div><div><br><div><div>Am 21.12.2016 um 14:34 schrieb 蔡林:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Me too, fieldtrip probably cannot investigate the interactions using cluster-based permutation test.</div><div>Who can provide alternative methods to solve this kind of problem?</div><div><br></div><div><br>lin<br></div><blockquote class="ReferenceQuote" style="padding-left:5px;margin-left:5px;border-left:#b6b6b6 2px solid;margin-right:0" name="replyContent">-----原始邮件-----<br>
<b>发件人:</b><span id="rc_from">"Aykut Eken" <<a href="mailto:ekenaykut@gmail.com">ekenaykut@gmail.com</a>></span><br>
<b>发送时间:</b><span id="rc_senttime">2016-12-21 20:41:11 (星期三)</span><br>
<b>收件人:</b> "FieldTrip discussion list" <<a href="mailto:fieldtrip@science.ru.nl">fieldtrip@science.ru.nl</a>><br>
<b>抄送:</b> <br>
<b>主题:</b> Re: [FieldTrip] 2x3 ANOVA depsamplesHotTsqr<br><br><div>I also have the same problem. Does fieldtrip have a statistical analysis function for N- way ANOVA?<br><br>Aykut</div><div><br>El 21 dic 2016, a las 15:09, Alex Sel <<a href="mailto:alex.sel@psy.ox.ac.uk" target="_blank">alex.sel@psy.ox.ac.uk</a>> escribió:<br><br></div><blockquote type="cite"><div>



<style><!--

_font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
_font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}

p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        mso-fareast-language:EN-US;}
_page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style>


<div class="WordSection1"><p class="MsoNormal">Dear list,<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">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.
<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">Has anyone used the depsamplesHotTsqr and knows how to implement it?<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">Any insights on this would be much appreciated.<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">Thank you.<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">Best wishes, <o:p></o:p></p><p class="MsoNormal"><span style="mso-fareast-language:EN-GB">Alex Sel, PhD<o:p></o:p></span></p><p class="MsoNormal"><span style="mso-fareast-language:EN-GB">Postdoctoral Researcher<o:p></o:p></span></p><p class="MsoNormal"><span style="mso-fareast-language:EN-GB">Department of Experimental Psychology,<o:p></o:p></span></p><p class="MsoNormal"><span style="mso-fareast-language:EN-GB">University of Oxford,<o:p></o:p></span></p><p class="MsoNormal"><span style="mso-fareast-language:EN-GB">9 South Parks Road,<o:p></o:p></span></p><p class="MsoNormal"><span style="mso-fareast-language:EN-GB">OX1 3UD<o:p></o:p></span></p><p class="MsoNormal"><span style="mso-fareast-language:EN-GB">Tel: 01865 277 229<o:p></o:p></span></p><p class="MsoNormal"><span style="mso-fareast-language:EN-GB">Email: <a href="mailto:Alex.sel@psy.ox.ac.uk" target="_blank">Alex.sel@psy.ox.ac.uk</a><o:p></o:p></span></p><p class="MsoNormal"><o:p> </o:p></p>
</div>


</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>fieldtrip mailing list</span><br><span><a href="mailto:fieldtrip@donders.ru.nl" target="_blank">fieldtrip@donders.ru.nl</a></span><br><span><a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a></span></div></blockquote></blockquote>_______________________________________________<br>fieldtrip mailing list<br><a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</blockquote></div><br></div></body></html>