<div dir="ltr">Dear Mark,<div><br></div><div>I actually do not have an answer to your question, but I do have a thing to tell you. If you want to run ANOVA to perform so-called post-hoc multiple comparisons later to determine simple effect, actually you don't need to run ANOVA. If you are interested in the paper that describes this issue, please let me know.</div><div><br></div><div>Makoto</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 30, 2016 at 2:20 AM, Noordenbos, M.W. (Mark) <span dir="ltr"><<a href="mailto:m.noordenbos@let.ru.nl" target="_blank">m.noordenbos@let.ru.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi EEGlablist,<br>
<br>
I have a 2x2 design (2 groups x 2 conditions) for which I would like to calculate the interaction effect, so I can test whether the effect in each group is also significantly different. In the code of statcondfieldtrip function I found an option to perform a two-way ANOVA using the function ‘anovan’ for the ‘X1*X2’ effect. But it seems that this part of the code is not (yet) implemented/working.<br>
<br>
I tried the following test code, but ft_freqstatistics (Fieldtrip function) cannot handle the input for the anovan function.<br>
<br>
n = 1000;<br>
nchan = 61;<br>
<br>
dat = { rand(n,nchan) rand(n,nchan); rand(n,nchan) rand(n,nchan) };<br>
<br>
[ori_vals, df, pvals] = statcondfieldtrip(dat, ‘paired’, ‘on’)<br>
<br>
Does anyone know how to perform this two-way anova using the anovan function in combination with the multiple comparison correction of Fieldtrip? Or whether there is a workaround to make the statcondfieldtrip function work for a two-way anova?<br>
<br>
Thanks,<br>
Mark<br>
_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Makoto Miyakoshi<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br></div></div>
</div>