Back to the main page.
Bug 3461 - problem with ft_sourcestatistics when using output of ft_sourcegrandaverage
| Status | CLOSED FIXED |
| Reported | 2018-10-22 15:27:00 +0200 |
| Modified | 2019-08-10 12:37:23 +0200 |
| Product: | FieldTrip |
| Component: | core |
| Version: | unspecified |
| Hardware: | PC |
| Operating System: | Windows |
| Importance: | P5 minor |
| Assigned to: | |
| URL: | |
| Tags: | |
| Depends on: | |
| Blocks: | |
| See also: |
Mariya Manahova - 2018-10-22 15:27:33 +0200
Created attachment 879 Script that produces the error When I try to run ft_sourcestatistics on output of ft_sourcegrandaverage (cfg.keepindividual = 'yes'), I get the following error: Error using ft_statistics_montecarlo (line 244) could not determine the parametric critical value for clustering Error in ft_sourcestatistics (line 211) [stat, cfg] = statmethod(cfg, dat, design); Instead, when I run ft_sourcestatistics on the source structures in a cell array (not grand averaged), I don't encounter a problem.
Robert Oostenveld - 2018-10-23 11:52:25 +0200
*** Bug 3462 has been marked as a duplicate of this bug. ***
Robert Oostenveld - 2018-10-23 13:35:30 +0200
I solved this with https://github.com/fieldtrip/fieldtrip/pull/857
Robert Oostenveld - 2018-10-23 13:36:38 +0200
the problem had to do with the detection of the data dimensions (i.e. dimord). I fixed ft_sourvcegrandaverage so that it better uses the modern dimord handling.