[Eeglablist] Problems with statcondfieldtrip

Makoto Miyakoshi mmiyakoshi at ucsd.edu
Wed Oct 29 13:24:27 PDT 2014


Dear Ramon,

Here is the potential error report. Could you take a look?

Makoto

On Thu, Oct 23, 2014 at 8:24 AM, Eric HG <erichg2013 at gmail.com> wrote:

> Dear list,
>
> I've been trying to use the statcondfieldtrip function to calculate Monte
> Carlo correction by first creating a neighbor matrix for all 19 electrodes:
>
> neighbours(1).label = '';
> neighbours(1).neighblabel = {};
>
> Then transforming the power data from structs to cells:
>
>         DataCell{2,1} = PreS(freqb,:,:);
>         DataCell{1,1} = PostS(freqb,:,:);
>
> and then:
>
> [fval{freqb}, dfree{freqb}, pvalue{freqb}]  = statcondfieldtrip(DataCell,
> 'paired', 'on', 'clusterstatistic', 'maxsum', 'neighbours', neighbours,
> 'method', 'montecarlo', 'naccu', [], 'mcorrect', 'cluster', 'alpha', 0.05,
> 'numrandomization', [], 'structoutput', 'on');
>
> But it gives me the following error message:
> Undefined function 'ft_freqstatistics' for input arguments of type
> 'struct'.
>
> Error in statcondfieldtrip (line 175)
>             stat            = ft_freqstatistics(cfg, newdata{:});
>
> Thank you,
>
> Eric
>
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to
> eeglablist-unsubscribe at sccn.ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to
> eeglablist-request at sccn.ucsd.edu
>



-- 
Makoto Miyakoshi
Swartz Center for Computational Neuroscience
Institute for Neural Computation, University of California San Diego
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20141029/9c4e01f7/attachment.html>


More information about the eeglablist mailing list