[Eeglablist] Problems with statcondfieldtrip
Eric HG
erichg2013 at gmail.com
Wed Oct 29 15:14:52 PDT 2014
Hi,
Thank you for the response. I've done that and the function seems to be
working now.
I just have a problem with the masking part. It assigns 0 to values even
though the p-value is below 0.05 and a high F-value (for example p-value =
0.0277 and F-value = 3.0990). I have also tried to change the alpha value
from NaN to 0.05 but it doesn't help.
Am I missing something?
Best,
Eric
On Wed, Oct 29, 2014 at 9:59 PM, Ramón Martinez <nucleuscub at gmail.com>
wrote:
> Hi guys,
>
> % Undefined function 'ft_freqstatistics' for input arguments of type
> 'struct'.
>
> Check if you have installed the Fieldtrip plugin .
>
> Ramon
>
>
> On Wed, Oct 29, 2014 at 9:24 PM, Makoto Miyakoshi <mmiyakoshi at ucsd.edu>
> wrote:
>
>> 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
>>
>
>
>
> --
> _____________________________________________________
> Ramon Martinez-Cancino
> 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/4b816d61/attachment.html>
More information about the eeglablist
mailing list