<div dir="ltr"><div><div>Hey Steve,<br><br></div>this might give you a hint:<br><a href="http://mailman.science.ru.nl/pipermail/fieldtrip/2011-January/003447.html">http://mailman.science.ru.nl/pipermail/fieldtrip/2011-January/003447.html</a><br>
<br></div>Best,<br>Marcin<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-06-02 9:39 GMT+02:00 Stephen Politzer-Ahles <span dir="ltr"><<a href="mailto:spa268@nyu.edu" target="_blank">spa268@nyu.edu</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello all,<div><br></div><div>Are there any examples for defining a new statfun to use in ft_timelockstatistics? I thought there were, but can't currently find them on the wiki.</div>
<div><br></div><div>
I am testing a 2x2 interaction (let's call the conditions Ia, Ib, IIa, and IIb), and I an only interested in a certain kind of interaction, one where abs(Ia-Ib) is large and abs(IIa-IIb) is small (i.e., an effect of the second factor at just one level of the first factor, and not the other level). So rather than using F as my test statistic for defining clusters, I would like to use something like abs(ttest(Ia,Ib))-abs(ttest(IIa,IIb)). I just don't know how to define the function to do this; if anyone could point me in the right direction I would greatly appreciate it.</div>

<div><br></div><div>Thanks!</div><div>Steve<span class="HOEnZb"><font color="#888888"><br clear="all"><div><div dir="ltr"><div><br><br></div>Stephen Politzer-Ahles<br>New York University, Abu Dhabi<br>Neuroscience of Language Lab<br>
<a href="http://www.nyu.edu/projects/politzer-ahles/" target="_blank">http://www.nyu.edu/projects/politzer-ahles/</a><br>
</div></div>
</font></span></div></div>
<br>_______________________________________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
<a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br></blockquote></div><br></div>