[FieldTrip] Averaging over frequencies in ft_freqstatistics

Sebastian Sauppe sauppe.s at gmail.com
Thu Jul 19 09:01:59 CEST 2018

Dear FieldTrip list,

I am testing different frequency bands with cluster-based permutation tests using ft_freqstatistics. For this, I use cfg.avgoverfreq = ‚yes‘ when setting up the test. However, I am unsure about how FieldTrip actually handles the frequency averaging. Does it take the mean power of the specified frequencies or does it take the power of the mean frequency?

This is the relevant code I use:

cfg.frequency        = [3 8];
cfg.avgoverfreq      = 'yes‘;

[stat] = ft_freqstatistics(cfg, data_A, data_B);

In my data, I have the following frequencies: [3.9062 4.8828 6.1035 7.0801 8.0566 9.0332 10.0098]. In the statistics output, after averaging over frequencies stat.freq returns only 6.0059. This is the mean of the frequencies between 3 and 8. But I can’t see whether somehow the power of that frequency was assessed in the test or whether the power of all frequencies in that band was first averaged and then tested.


Dr. Sebastian Sauppe
Department of Comparative Linguistics, University of Zurich
Homepage: https://sites.google.com/site/sauppes/ <https://sites.google.com/site/sauppes/>
Twitter: @SebastianSauppe <https://twitter.com/SebastianSauppe>
Google Scholar Citations: https://scholar.google.de/citations?user=wEtciKQAAAAJ <https://scholar.google.de/citations?user=wEtciKQAAAAJ> 
ResearchGate: http://www.researchgate.net/profile/Sebastian_Sauppe <http://www.researchgate.net/profile/Sebastian_Sauppe>
ORCID ID: http://orcid.org/0000-0001-8670-8197 <http://orcid.org/0000-0001-8670-8197>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20180719/608cabdb/attachment.html>

More information about the fieldtrip mailing list