[FieldTrip] fieldtrip Digest, Vol 57, Issue 21

Maris, E.G.G. (Eric) e.maris at donders.ru.nl
Wed Aug 26 12:17:13 CEST 2015

Hi Guillaume,

Following Maris et al. 2007 paper about "Nonparametric testing of coherence difference" I was hesitating regarding the number of degrees of freedom to use in the Z-coherence transform when coherence is calculated over N trials by averaging across M non-overlapping windows in each of them. Is the df equals to N or N*M then?

I am a little confused since in Fieldtrip, this is even 2*N that appears to be used: http://fieldtrip.googlecode.com/svn/trunk/statfun/ft_statfun_indepsamplesZcoh.m

The degrees of freedom is equal to the number of tapers, and because you effectively use non-overlapping tapers (every window corresponds to one taper), your degrees of freedom is N*M.

Eric Maris

Thanks for your time.



fieldtrip mailing list
fieldtrip at donders.ru.nl<mailto:fieldtrip at donders.ru.nl>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20150826/8ab5e209/attachment-0001.html>

More information about the fieldtrip mailing list