Back to the main page.

Bug 1847 - clusterstat gives error for one sided test (cfg.tail = -1) using nonparametric clusterthreshold

Reported 2012-11-25 15:40:00 +0100
Modified 2014-01-15 14:43:04 +0100
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Linux
Importance: P3 normal
Assigned to: Jan-Mathijs Schoffelen
Depends on:
See also:

Lilla Magyari - 2012-11-25 15:40:38 +0100

Hi, I couldn't run a one-sided cluster randomization statistics using ft_sourcestatistics when a nonparametric clusterthreshold is specified. I think the problem is pretty clear (only a typo), in private/clusterstat.m line 139 and line 157 should be cfg.tail = -1 instead of cfg.tail = 1 (it doesn't assign a critical value when cfg.tail = -1). But I do not want to change it because I do not fully understand what the function does... Lilla

Jan-Mathijs Schoffelen - 2013-12-01 20:50:56 +0100

I don't find a trace of this anymore. Likely the current version of the code does not have this issue anymore. Closing for now, but feel free to re-open if it resurfaces.