<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Oui monsieur.
<div class=""><br class="">
</div>
<div class="">JM</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 11 May 2019, at 13:38, BROVELLI Andrea <<a href="mailto:andrea.brovelli@univ-amu.fr" class="">andrea.brovelli@univ-amu.fr</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Last question :<br class="">
Is this procedure you are suggesting equivalent to the sign flipping approach in MNE?<br class="">
It does not seem to me.<br class="">
Cheers,<br class="">
Andrea<br class="">
<hr style="display:inline-block;width:98%" tabindex="-1" class="">
<div id="divRplyFwdMsg" dir="ltr" class=""><font face="Calibri, sans-serif" style="font-size:11pt" class=""><b class="">De :</b> BROVELLI Andrea<br class="">
<b class="">Envoyé :</b> samedi 11 mai 2019 13:29:49<br class="">
<b class="">À :</b> FieldTrip discussion list<br class="">
<b class="">Objet :</b> RE: [FieldTrip] One-sample T-test with cluster-based statistics at the group-level</font>
<div class=""> </div>
</div>
<div class="">JM you are the best! Since 2004 :)<br class="">
<br class="">
Strangely enough I could find this solution on the discussion list. Thanks a lot. We'll try this out.<br class="">
<br class="">
Andrea<br class="">
<hr style="display:inline-block;width:98%" tabindex="-1" class="">
<div id="divRplyFwdMsg" dir="ltr" class=""><font face="Calibri, sans-serif" style="font-size:11pt" class=""><b class="">De :</b> fieldtrip <<a href="mailto:fieldtrip-bounces@science.ru.nl" class="">fieldtrip-bounces@science.ru.nl</a>> de la part de Schoffelen,
J.M. (Jan Mathijs) <<a href="mailto:jan.schoffelen@donders.ru.nl" class="">jan.schoffelen@donders.ru.nl</a>><br class="">
<b class="">Envoyé :</b> samedi 11 mai 2019 12:01:59<br class="">
<b class="">À :</b> FieldTrip discussion list<br class="">
<b class="">Objet :</b> Re: [FieldTrip] One-sample T-test with cluster-based statistics at the group-level</font>
<div class=""> </div>
</div>
<div class="">Caro Andrea,
<div class=""><br class="">
</div>
<div class="">Yes, it can be done.</div>
<div class="">The procedure would be to duplicate your data object, and to replace all functional values with zeros, then do the statistical inference with cfg.statistic = ‘depsamplesT’; This has been possible since 2004 or so, which was before the existence
of MNE-python, as you are probably aware :).</div>
<div class=""><br class="">
</div>
<div class="">Note that it is indeed (as mentioned in your quote) statistically questionable to test a single condition against 0 under the permutation framework, since there are no conditions to permute.</div>
<div class=""><br class="">
</div>
<div class="">Alla prossima,</div>
<div class=""><br class="">
</div>
<div class="">JM</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<div class="">
<blockquote type="cite" class="">
<div class="">On 11 May 2019, at 11:22, Andrea Brovelli <<a href="mailto:andrea.brovelli@univ-amu.fr" class="">andrea.brovelli@univ-amu.fr</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div text="#000000" bgcolor="#FFFFFF" class="">
<p class="">Dear all,</p>
<p class="">I'm sorry to insist on this issue which has largely discussed on the mailing list (<a href="https://mailman.science.ru.nl/pipermail/fieldtrip/2018-October/025301.html" class="">https://mailman.science.ru.nl/pipermail/fieldtrip/2018-October/025301.html</a>)
(<a href="https://mailman.science.ru.nl/pipermail/fieldtrip/2018-August/012314.html" class="">https://mailman.science.ru.nl/pipermail/fieldtrip/2018-August/012314.html</a>), but I cannot find an easy way out to perform a one-sample t-test with cluster-based
statis at the group (or single subject) level using Fieldtrip.</p>
<p class="">As you are probably aware, MNE-python has implemented such test in this
<a moz-do-not-send="true" href="https://martinos.org/mne/stable/generated/mne.stats.permutation_cluster_1samp_test.html" class="">
code</a> starting from the fact that [lines 1182-1186]:</p>
<p class="">"Because a 1-sample t-test on the difference in observations is mathematically equivalent to a paired t-test, internally this function computes a 1-sample t-test (by default) and uses sign flipping (always) to perform permutations. This might not
be suitable for the case where there is truly a single observation under test"</p>
<p class="">Is there a way to "hack" the current version of Fieldtrip to perform such test?</p>
<p class="">Are you planning to implement it in the near future?</p>
<p class="">Thanks a lot.</p>
<p class="">Cheers,<br class="">
</p>
<p class="">Andrea<br class="">
</p>
</div>
_______________________________________________<br class="">
fieldtrip mailing list<br class="">
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br class="">
<a href="https://doi.org/10.1371/journal.pcbi.1002202" class="">https://doi.org/10.1371/journal.pcbi.1002202</a><br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</div>
_______________________________________________<br class="">
fieldtrip mailing list<br class="">
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br class="">
https://doi.org/10.1371/journal.pcbi.1002202<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>