[FieldTrip] correlation with behavioural data and cluster statistics

Valeriya Belyaeva vabelyaeva94 at gmail.com
Wed Feb 13 14:28:55 CET 2019


Dear fieldtrip developers,

I have a question about correlation of neuronal and behavioural data. You
have discussed this question here:
http://www.fieldtriptoolbox.org/faq/how_can_i_test_for_correlations_between_neuronal_data_and_quantitative_stimulus_and_behavioural_variables/

I have taken the code, which was given as an example and added
cluster-based correction method. My goal is to perform correlation between
neuronal and behavioural data and then to account for multiple comparisons
with cluster statistics.

Could you, please, tell me, whether this script does it?

Here is the script:

% example script

cfg = [];

cfg.statistic        = 'ft_statfun_correlationT';

cfg.method           = 'montecarlo';

cfg.numrandomization = 1000;

cfg.correctm         = 'cluster';


cfg.clusteralpha     = 0.025;

cfg_neighb.method = 'triangulation';

cfg_neighb.layout = 'acticap_62';

cfg.neighbours = ft_prepare_neighbours(cfg_neighb, data_brain{:});


n1 = 42;    % n1 is the number of subjects

design(1,1:n1)       = behav_data(:,1); % mean reaction time by subject

cfg.design           = design;

cfg.ivar             = 1;

stat = ft_freqstatistics(cfg, data_brain{:});

Thank you a lot in advance!
-- 
Best regards,
Valeriya Belyaeva
HSE, Cognitive science and technologies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20190213/171f9f78/attachment-0001.html>
-------------- next part --------------
_______________________________________________
fieldtrip mailing list
https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
https://doi.org/10.1371/journal.pcbi.1002202


More information about the fieldtrip mailing list