Non-parametric Time-Frequency Analysis Stats

Hi Francois,

I know that the use of the Fieldtrip stats toolboxes in Brainstorm are under development, so please accept my apologies if I am running ahead.

While I am able to run the parametric t-test of TFA on the scout level between two groups, when I am trying to run the non-parametric analysis (ft_freqstatistics) I got the following error:
[process_ft_freqstatistics] Test > FieldTrip: ft_freqstatistics

Line 251: ft_statistics_montecarlo (line 251)
could not determine the parametric critical value for clustering

Any ideas?

Thanks,
Christos

Hi Christos,

I never got this error, it works on my end. You can try one of the following:

  1. Update your version of FieldTrip
  2. Send me your data and I’ll try myself: right-click on the subject folder > File > Export subject, then upload the .zip somewhere (eg. dropbox) and send me the link in a separate email (click on my username on this forum)
  3. Ask for help on the FieldTrip mailing list
  4. Try yourself to debug the issue yourself (start with a breakpoint at line 248 in ft_statistics_montecarlo.m

Cheers,
Francois

Hi Francois,
I'm running the ft_freqstatistics to test if the TF of two conditions differed. TF was computed using my scouts. But I got the following error and I don't know why. Can you help me with this?
Reference to non-existent field 'State'.


Thanks in advance!
Duo

Hello

This is a problem with FieldTrip, not with Brainstorm. In function randomseed.m it looks like the appropriate method to use depending on the Matlab version is not selected correctly.

Are you using the compiled version of Brainstorm?
Otherwise, if you are running Brainstorm from Matlab, you can try the following:

Francois