Non parametric test on coherence
Matteo Demuru
suforraxi at GMAIL.COM
Tue Apr 27 16:21:08 CEST 2010
Dear all,
I have a problem using freqstatistics to calculate significance for
coherence.
Specifically I have a subject and I am performing a within-trials experiment
using 'indepsamplesZcoh' as statistic.
I calculate the TFR of my data with the cfg.output='powandcsd' and
cfg.keeptrials='yes' parameters. Then I call freqstatistics to compare my
different experimental conditions (baseline vs activation).
The function crashes with this output:
??? Reference to non-existent field 'label'.
Error in ==> statfun_indepsamplesZcoh at 76
nchan = length(cfg.label);
I have tried to add this field to the cfg struct assigning the cell that
contains the interested channels. However this time I have another error:
??? Error using ==> reshape
To RESHAPE the number of elements must not change.
Error in ==> clusterstat at 178
posclusobs = findcluster(reshape(postailobs,
[cfg.dim,1]),channeighbstructmat,cfg.minnbchan);
Any suggestions?
Thanks in advance
Matteo Demuru
----------------------------------
The aim of this list is to facilitate the discussion between users of the FieldTrip toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis. See also http://listserv.surfnet.nl/archives/fieldtrip.html and http://www.ru.nl/neuroimaging/fieldtrip.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20100427/cac5763a/attachment-0001.html>
More information about the fieldtrip
mailing list