<div dir="ltr"><div>Hello Fieldtrip community,</div><div><br></div><div>ft_statistics_montecarlo fails when it is called through ft_sourcestatistics with cortical surface (as opposed to a 3D volumetric grid) source data. <br></div><div>To avoid this limitation, I can change my source level time series avg.mom into a sensor data structure (my electrodes are simply 'virtual' then), provide the source level neighborhood structure, and run ft_timelockstatistics on my 'virtual sensor' data set. As far as I can tell, this effectively gives source level statistics, just through the wrong function, so to speak.<br></div><div><br></div><div>Since I am reading that ft_statistics_montecarlo might behave differently depending on which function is calling it....</div><div><br></div><div><div><div>FT_STATISTICS_MONTECARLO should not be called directly, instead you should call the function that is associated with the type of data on which you want to perform the test.</div><div>% Use as<br></div><div>%   stat = ft_timelockstatistics(cfg, data1, data2, data3, ...)</div><div>%   stat = ft_freqstatistics    (cfg, data1, data2, data3, ...)</div><div>%   stat = ft_sourcestatistics  (cfg, data1, data2, data3, ...)</div></div></div><div><br></div><div><br></div><div>...I wanted to know whether there are some additional things to be aware of when using ft_timelockstatistics on source level virtual electrode time series.<br></div><div><br></div><div>Thanks!<br></div><div><div>Maris</div><div><br></div></div><div><br></div></div>