[FieldTrip] Cluster statistics

Stephen Politzer-Ahles politzerahless at gmail.com
Tue Nov 13 16:25:19 CET 2012


Hi Caroline,

That all looks good to me, as far as I can tell from a quick glance (but
I've only ever tried cluster statistics on ERPs, not on time-frequency
data, so there might be differences I don't know about).

But 2^6 (64) seems like a very small number of randomizations. The rule of
thumb I follow (based on the recommendation in the tutorial) is to use 500
the first time, and if I get some marginal or borderline results then re-do
it with something like 1000 or even 5000 randomizations just to be sure. 64
randomizations might not be enough to converge on a reliable result (i.e.,
if you run the same test several times with only 64 randomizations, you
might get different results each time, whereas if you run it several times
with 1000 or more randomizations your results probably will be stable)

Best,
Steve



> Message: 2
> Date: Tue, 13 Nov 2012 13:40:51 +0000
> From: Lustenberger Caroline <Caroline.Lustenberger at kispi.uzh.ch>
> To: FieldTrip discussion list <fieldtrip at science.ru.nl>
> Subject: Re: [FieldTrip] fieldtrip Digest, Vol 24, Issue 16
> Message-ID:
>         <7C66D90E0C18014E85B44B560D4D5BC81488F538 at EXZH1VM.kispi.int>
> Content-Type: text/plain; charset="us-ascii"
>
> Dear Steve
>
> Thank you so much for your advice. My script looks now as follows:
>
>
> cfg = [];
>
> cfg.elec = elec;
>
> cfg.computeprob = 'yes'
>
> cfg.neighbours = neighbours;
>
> %cfg.latency = 'all';
>
> cfg.frequency = 'all';
>
> cfg.channel = 'all'%'all';%eleselection % see CHANNELSELECTION
>
> %cfg.avgovertime = 'no';
>
> %cfg.avgoverfreq = 'no';
>
> cfg.avgoverchan = 'no';
>
> cfg.statistic = 'depsamplesT';
>
> cfg.numrandomization = 2^6;% 2^number subjects
>
> cfg.correctm = 'cluster';
>
> cfg.method = 'montecarlo';
>
> cfg.clusteralpha = 0.05;
>
> cfg.alpha = 0.05;
>
> cfg.tail = 0;
>
> cfg.clustertail = 0;
>
> cfg.correcttail = 'alpha'
>
> cfg.feedback = 'gui';
>
> cfg.parameter = 'powspctrm';
>
> % cfg.design = [
>
> % 1 2 3 4 1 2 3 4 % subject number
>
> % 1 1 1 1 2 2 2 2 ]; % condition number
>
> cfg.design(1,:)=[1:6,1:6]
>
> cfg.design(2,:)=[ones(1,6),ones(1,6)+1]
>
> cfg.uvar = 1; % "subject" is unit of observation
>
> cfg.ivar = 2;
>
> % "condition" is the independent variable
>
> stat = ft_freqstatistics(cfg,sd, ld);
>
>
> Do you think this is now correct? We perform statistics on high-density
> EEG Power values and want to see whether differences that we see doing
> simple t-test also remain when we correct for multiple comparison.
>
> Again many thanks and all the best
> Caroline
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20121113/487d6ee4/attachment-0002.html>


More information about the fieldtrip mailing list