Hi all,<div><br></div><div>I'm testing for the power difference between baseline (fixation) and memory delay periods, following the examples in "Permutation Tests > Within trial experiments" tutorial. When I set </div>
<div><br></div><div>cfg.statistic = 'actvsblT';<br clear="all"><div><br></div><div>and </div><div><br></div><div><div>cfg.avgovertime = 'yes'; </div><div>cfg.avgoverfreq = 'yes';</div>
</div><div><br></div><div>then run ft_freqstatistics, I get an error in statfun_actvsblT.m, "Inappropriate dimord for the statistics function STATFUN_ACTVSBLT.". This is because with avgovertime and/or avgoverfreq set to 'yes', cfg.dimord for data input to statfun_actvsblT is simply "chan," whereas statfun_actvsblT requires "chan_freq_time." When I comment out cfg.avgovertime AND freq, permutation runs fine. This is particular to statfun_actvsblT; other functions, such as statfun_depsamplesT, do not have this dimord structure requirements.</div>
<div><br></div><div>I'm puzzled why averaging over time and/or frequency could not be a valid option for actvsblT... could someone help me understand?</div><div><br></div><div>Thanks! Akiko </div>-- <br><font><span style="font-family:arial,helvetica,sans-serif">Akiko Ikkai, Ph.D. <br>
Postdoctoral Fellow<br style="font-family:arial,helvetica,sans-serif"></span></font><font style="font-family:arial,helvetica,sans-serif" face="'PrimaSans BT,Verdana,sans-serif'" size="2">Department of
Psychological and Brain Sciences<br>Johns Hopkins University<br>Ames
Hall, 3400 N. Charles St.<br>Baltimore, MD 21218</font><br style="font-family:arial,helvetica,sans-serif"><br><br>
</div>