[FieldTrip] questions about power spectrum analysis and bootstrp

Maité Crespo García maity_winky at yahoo.es
Tue Apr 5 14:13:43 CEST 2016


Dear WanYu Hsu,
For frequency analysis, it seems to be implemented differently. You can first compute power and csd values with ft_freqanalysis and then access the bootstrap option with ft_freqstatistics calling the Montecarlo method. Would that way work for you?
Best,Maite
 

    El Lunes 4 de abril de 2016 20:36, WanYu Hsu <wanyu at gazzaleylab.ucsf.edu> escribió:
 

 Hi community,

I am recently running EEG power spectrum analysis.

For some reason, I wanted to run the analysis with bootstrapped trials.
Is there anyway to apply bootstrap with ft_freqanalysis?
I tried adding bootstrap option in ft_sourceanalysis to ft_freqanalysis, but it doesn't work.

 cfg = [];
cfg.foi         = 2:30;
cfg.method = 'mtmconvol';
cfg.taper     = 'hanning';
cfg.keeptrials = 'no';
cfg.t_ftimwin  = 3.2 ./ cfg.foi; 
cfg.toi            = -0.5:0.01:0.6;
cfg.output      = 'powandcsd';
cfg.bootstrap = 'yes'; 
cfg.numbootstrap  =  25; 
% cfg.trials = 'all';
freq2{s} = ft_freqanalysis(cfg, data_concat_TFR(s));

Any help would be appreciated.

Best,
WanYu Hsu

_______________________________________________
fieldtrip mailing list
fieldtrip at donders.ru.nl
http://mailman.science.ru.nl/mailman/listinfo/fieldtrip

  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20160405/9b926ffc/attachment-0002.html>


More information about the fieldtrip mailing list