[FieldTrip] Cluster-based permutation tests

zhipeng li lizhipeng3924 at gmail.com
Thu Oct 20 10:23:56 CEST 2022


Dear community,

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?

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'?

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?

Example 1:Cluster-based permutation in FieldTrip

cfg = [];
cfg.channel     = 'MEG';
cfg.neighbours  = neighbours; % defined as above
cfg.latency     = [0.3 0.7];
cfg.avgovertime = 'yes';
cfg.parameter   = 'avg';
cfg.method      = 'montecarlo';
cfg.statistic   = 'ft_statfun_depsamplesT';
cfg.alpha       = 0.05;
cfg.correctm    = 'cluster';
cfg.correcttail = 'prob';
cfg.numrandomization = 'all';

Example 2:Permutation test based on t statistics in FieldTrip

cfg = [];
cfg.channel     = 'MEG';
cfg.latency     = [0.3 0.7];
cfg.avgovertime = 'yes';
cfg.parameter   = 'avg';
cfg.method      = 'montecarlo';
cfg.statistic   = 'ft_statfun_depsamplesT';
cfg.alpha       = 0.05;
cfg.correctm    = 'no';
cfg.correcttail = 'prob';
cfg.numrandomization = 'all';

Best,
Zhipeng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20221020/abf9ddf9/attachment.htm>


More information about the fieldtrip mailing list