<div dir="ltr"><div>
<div>Dear fieldtrip community,</div><div><br></div><div>(It's been quite
a while since I was active on this list, so I apologize if this has
already been discussed and I just missed it!)</div><div><br></div><div>When
you do a cluster-based permutation test using ft_timelockstatistics
(and I assume also with ft_freqstatistics), one of the fields of the
output, .prob, shows multiple p-values: one for each cluster that was
identified in the initial dataset. </div><div><br></div><div>But a cluster-based permutation test actually has only one test statistic. As described in <a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.sciencedirect.com%2Fscience%2Farticle%2Fpii%2FS0165027007001707&data=05%7C02%7Cfieldtrip%40science.ru.nl%7C8d433a882c9743df032708de72224617%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C639073688694073155%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C60000%7C%7C%7C&sdata=Su4SbItbOoZKfbj25%2FBS0QjmquFMjOWzEQgUpjp6y2U%3D&reserved=0" originalSrc="https://www.sciencedirect.com/science/article/pii/S0165027007001707" target="_blank">Maris & Oostenveld (2007)</a>,
the procedure is to find clusters and then just take the largest
cluster-level test statistic; if the function follows this procedure,
then presumably all the other cluster-level test statistics might as
well just disappear into the aether, because they serve no additional
purpose (as far as I am aware), they're just an intermediate step in the analysis. The <a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.fieldtriptoolbox.org%2Ftutorial%2Fstats%2Fcluster_permutation_timelock%2F&data=05%7C02%7Cfieldtrip%40science.ru.nl%7C8d433a882c9743df032708de72224617%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C639073688694089420%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C60000%7C%7C%7C&sdata=3Q48j7a7BIQwt9HTXV2x0fXJw5Er65bGpp71bLq6z6Y%3D&reserved=0" originalSrc="https://www.fieldtriptoolbox.org/tutorial/stats/cluster_permutation_timelock/" target="_blank">cluster-based permutation test tutorial</a>
on the fieldtrip wiki is also explicit (in two separate places!) in
saying that "for the statistical inferential decision (i.e. reject or
not the null hypothesis), <i>only the p-value of the largest cluster is relevant</i>" (emphasis added).</div><div><br></div><div>I
suspect this may have led to some confusion, at least in my area of
research (neurolinguistics). Over the past 15ish years there have been
many papers reporting findings along the lines of "this contrast yielded
two significant clusters, one here and one there!", and I suspect much
of this came from people seeing multiple <i>p</i>>.05 entries in
their stats.prob array (I did some of this myself back in the day when I
was just beginning to use these tests). Granted, there has been
information out for over a decade saying not to do that (e.g., <a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.fieldtriptoolbox.org%2Ffaq%2Fstats%2Fclusterstats_interpretation%2F&data=05%7C02%7Cfieldtrip%40science.ru.nl%7C8d433a882c9743df032708de72224617%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C639073688694104913%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C60000%7C%7C%7C&sdata=PMHQvT3ajhI36u9Tj8LhaC2SPziGY9peaW8v7ZZaNtk%3D&reserved=0" originalSrc="https://www.fieldtriptoolbox.org/faq/stats/clusterstats_interpretation/" target="_blank">How not to interpret results from a cluster-based permutation test</a> on the fieldtrip wiki, and <a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fonlinelibrary.wiley.com%2Fdoi%2F10.1111%2Fpsyp.13335&data=05%7C02%7Cfieldtrip%40science.ru.nl%7C8d433a882c9743df032708de72224617%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C639073688694120941%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C60000%7C%7C%7C&sdata=5VXt3IBKTthknWD8Xa6eLLuqgA0CXoPve%2Fgu%2B%2B6ZshI%3D&reserved=0" originalSrc="https://onlinelibrary.wiley.com/doi/10.1111/psyp.13335" target="_blank">Sassenhagen et al. [2019]</a>;
these are more focused on a slightly different framing of the issue
[they're more about how we shouldn't use these tests to make claims
about where the significance of the effect begins and ends] but they
also entail this same point [the test doesn't license conclusions about
there being multiple clusters, for the same reasons it doesn't license
conclusions about where a given cluster begins and ends]). But not all
users read all of this before just running the code and seeing p-values
and going with them. And, sure I get that it's a user's responsibility
to RTFM, but the code seems to be really tempting people to look at
those other p-values, whereas all the information telling people they
shouldn't look at those p-values is much harder to find. (Also I
recognize that fieldtrip is not the only software out there that does
these tests, but as far as I know it was the first, and I think a lot of
people using these first learned from fieldtrip.)</div><div><br></div><div>So,
with all that in mind, I'm just wondering why fieldtrip outputs these
extra p-values at all? Do they serve some other purpose that I'm just
missing? (The tutorial's wording "<i>for the statistical inferential decision</i> ... only the p-value of the largest cluster is relevant" seems to imply that there may be some <i>other</i> purpose
for which the other p-values are relevant, but I'm not sure that
reading was intended, or what that other purpose may be.) </div><div><br></div><div>Thank you!</div><div>Steve</div>
<br clear="all"></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><br></div><span><div>---</div><a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpolitzerahles.github.io%2Fe-mail-signature.html&data=05%7C02%7Cfieldtrip%40science.ru.nl%7C8d433a882c9743df032708de72224617%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C639073688694137740%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C60000%7C%7C%7C&sdata=AXooQizvWAFmu%2F6C5dr4K206iR2AucE42Qlf1hSzl8w%3D&reserved=0" originalSrc="https://politzerahles.github.io/e-mail-signature.html" target="_blank">e-mail signature</a></span></div></div></div></div></div></div></div></div></div></div></div></div>