Dear Fieldtripers, <div><br></div><div>i tried to modify one of my script that was doing a permutation test in order to do the same test but within trials.</div><div>I had the following error and couldnt find where it could comes from:</div>
<div><br></div><div><div>using "statfun_depsamplesT" for the single-sample statistics</div><div>constructing randomized design</div><div>total number of measurements = 79</div><div>total number of variables = 2</div>
<div>number of independent variables = 1</div><div>number of unit variables = 1</div><div>number of within-cell variables = 0</div><div>number of control variables = 0</div><div>using a permutation resampling approach</div>
<div>repeated measurement in variable 2 over 51 levels</div><div>number of repeated measurements in each level is 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 </div>
<div>computing a parametric threshold for clustering</div><div>Error using ==> statfun_depsamplesT at 69</div><div>Invalid specification of the design array.</div><div>??? Error using ==> statistics_montecarlo at 215</div>
<div>could not determine the parametric critical value for clustering</div><div><br></div><div>Error in ==> ft_freqstatistics at 279</div><div> [stat, cfg] = statmethod(cfg, dat, cfg.design);</div></div><div><br></div>
<div><br></div><div>Any ideas ? ( im using the very last fieltrip version : 20111010)</div><div><br></div><div>Rodolphe N. PhD</div><div>University of Alabama at Birmingham.</div><div><br></div>