<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi all,</div><div><br></div><div>I've been following the tutorial here to do a time-locked perm test on ERP data: <a href="http://www.fieldtriptoolbox.org/tutorial/cluster_permutation_timelock">www.fieldtriptoolbox.org/tutorial/cluster_permutation_timelock</a></div><div><br></div><div>I have computed grand averages for my two conditions and am using indepsamplesT with ft_timelockstatistics(cfg, GA_1, GA_2).</div><div><br></div><div>But what should the design matrix be? The example in the tutorial doesn't apply as I am using grand averages and the reference for ft_timelockstatistics doesn't mention the design matrix, although it is definitely required. I have tried design = [1,2], but this doesn't seem to give sensible results. <br></div><div><br></div><div>Thanks in advance,</div><div>Kate<br></div><div><div><br><br></div></div></div></div></div>