<div dir="ltr"><div dir="ltr"><div>Dear FieldTrip community,</div><div><br></div><div>I am attempting to compare the frequency values between two groups using freqstatistics, but I am running into this error below in regards to 'could not determine the parametric critical value for clustering'.</div><div><br></div><div>Any help would be greatly appreciated as to how to solve this problem.</div><div><br></div><div>MDD_vs_Controls_sp_lpfc_freq_mcc = ft_freqstatistics(cfg,ControlsSubj_sp_lpfc_freq{:}, MDDSubj_sp_lpfc_freq{:})</div><div>the call to "ft_selectdata" took 2 seconds and required the additional allocation of an estimated 2 MB</div><div>using "ft_statistics_montecarlo" for the statistical testing</div><div>using "ft_statfun_indepsamplesT" for the single-sample statistics</div><div>constructing randomized design</div><div>total number of measurements     = 58</div><div>total number of variables        = 1</div><div>number of independent variables  = 1</div><div>number of unit variables         = 0</div><div>number of within-cell variables  = 0</div><div>number of control variables      = 0</div><div>using a permutation resampling approach</div><div>computing a parametric threshold for clustering</div><div><font color="#ff0000">Index exceeds the number of array elements (0).</font></div><div><font color="#ff0000">Error using ft_statistics_montecarlo (line 247)</font></div><div><font color="#ff0000">could not determine the parametric critical value for clustering</font></div><div><font color="#ff0000"><br></font></div><div><font color="#ff0000">Error in ft_freqstatistics (line 190)</font></div><div><font color="#ff0000">  [stat, cfg] = statmethod(cfg, dat, design);</font></div><div><font color="#ff0000"><br></font></div><div><font color="#000000">Best,</font></div><div><font color="#000000">Paul</font></div></div></div>