<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text/enriched --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
I am currently sick & out of the office until 21.10. 2022. <br>
<br>
<br>
Evelyn Muschter<br>
<br>
On 20. Oct 2022, at 10:23, zhipeng li via fieldtrip <fieldtrip@science.ru.nl> wrote:<br>
<br>
<div class="EmailQuote"><font color="black">Dear community,<br>
<br>
1. When I make multiple comparisons based on cluster, does cfg.statistic = 'ft_statfun_depsamplesT' refer to the test of each sample in the first step using paired t-test? And cfg.method = 'montecarlo' refers to the second cluster test using a permutation
test?<br>
<br>
2. If that's the case, and we didn't adjust for multiple comparisons in example 2 (cfg.correctm = 'no'), then cfg.statistic = 'ft_statfun_depsamplesT' is a paired t-test, and what is cfg.method = 'montecarlo'?<br>
<br>
3. If this is the case, I would like to use non-parametric tests such as the Wilcoxon test and Kruskal-Wallis test in the first step of each sample test, which parameter in the cfg should be modified?<br>
<br>
Example 1:Cluster-based permutation in FieldTrip<br>
<br>
cfg = [];<br>
cfg.channel = 'MEG';<br>
cfg.neighbours = neighbours; % defined as above<br>
cfg.latency = [0.3 0.7];<br>
cfg.avgovertime = 'yes';<br>
cfg.parameter = 'avg';<br>
cfg.method = 'montecarlo';<br>
cfg.statistic = 'ft_statfun_depsamplesT';<br>
cfg.alpha = 0.05;<br>
cfg.correctm = 'cluster';<br>
cfg.correcttail = 'prob';<br>
cfg.numrandomization = 'all'; <br>
<br>
Example 2:Permutation test based on t statistics in FieldTrip<br>
<br>
cfg = [];<br>
cfg.channel = 'MEG';<br>
cfg.latency = [0.3 0.7];<br>
cfg.avgovertime = 'yes';<br>
cfg.parameter = 'avg';<br>
cfg.method = 'montecarlo';<br>
cfg.statistic = 'ft_statfun_depsamplesT';<br>
cfg.alpha = 0.05;<br>
cfg.correctm = 'no';<br>
cfg.correcttail = 'prob';<br>
cfg.numrandomization = 'all'; <br>
<br>
Best,<br>
Zhipeng<br>
<br>
_______________________________________________<br>
fieldtrip mailing list<br>
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
<a href="https://doi.org/10.1371/journal.pcbi.1002202">https://doi.org/10.1371/journal.pcbi.1002202</a><br>
</font></div>
</body>
</html>