[FieldTrip] Non-parametric statistics for TFR data

Julian Keil julian.keil at gmail.com
Thu Apr 12 15:18:54 CEST 2018


Dear Sanjeev,

take a look at this tutorial:
http://www.fieldtriptoolbox.org/tutorial/cluster_permutation_freq

You need to use the ft_freqstatistics-function for TFR data.

Best,

Julian

________________
Prof. Dr. Julian Keil

Biologische Psychologie
Olshausenstraße 62 - R. 306
24118 Kiel

0431 / 880 - 4872
http://www.biopsych.uni-kiel.de/

Klinik für Psychiatrie und Psychotherapie
der Charité im St. Hedwig-Krankenhaus
Große Hamburger Straße 5-11
10115 Berlin

030 / 2311 - 1879
www.multisensorymind.com

> Am 12.04.2018 um 15:11 schrieb Sanjeev Nara <s.nara at bcbl.eu>:
> 
> Hello,
> 
> I am trying to implement parametric test on TFR data. I have 20 participant's data with 4 different conditions. I am interested in compairing theses conditions. After preprocessing and TFR computation i have one variable with (subjects * channels * freq * time ). The tutorial given on the website is using ERF data. Can i use it for TFR as well.
> 
> 
> 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 = 1000;
> 
> Nsub = 10;
> cfg.design(1,1:2*Nsub)  = [ones(1,Nsub) 2*ones(1,Nsub)];
> cfg.design(2,1:2*Nsub)  = [1:Nsub 1:Nsub];
> cfg.ivar                = 1; % the 1st row in cfg.design contains the independent variable
> cfg.uvar                = 2; % the 2nd row in cfg.design contains the subject number
> 
> stat = ft_timelockstatistics(cfg,allsubjFIC{:},allsubjFC{:})
> 
> % make the plot
> cfg = [];
> cfg.style     = 'blank';
> cfg.layout    = 'CTF151_helmet.mat';
> cfg.highlight = 'on';
> cfg.highlightchannel = find(stat.mask);
> cfg.comment   = 'no';
> figure; ft_topoplotER(cfg, GA_FC)
> title('Nonparametric: significant without multiple comparison correction')
> 
> 
> 
> 
> 
> Best regards
> Sanjeev
> 
> 
> 
> Sanjeev Nara
> Predoctoral Researcher BCBL
> www.bcbl.eu
> https://sites.google.com/view/sanjeev-nara/
> Tel: +34 943 309 300 (ext 314)
> Legal disclaimer/Aviso legal/Lege-oharra: www.bcbl.eu/legal-disclaimer
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20180412/d97143bd/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20180412/d97143bd/attachment-0001.sig>


More information about the fieldtrip mailing list