[FieldTrip] Diagonal elements in MVAR connectivity
Ioana Susnoschi-Luca (PGR)
i.susnoschi-luca.1 at research.gla.ac.uk
Thu Dec 8 16:27:05 CET 2022
Hello!
I am working on effective connectivity analysis with DTF and I am confused about the main diagonal elements - I expected my resulting DTF spectrum to have zero on the main diagonal, but this is not the case. Does it output the power spectrum of the fitted MVAR model instead?
I would appreciate any insight into why this happens/if my thinking is correct. I reproduced my analysis steps (pretty much the same as FT connectivity tutorials) and rationale for diagonal values.
Intuitively, DTF calculates the ratio between inflows from channel j -> i, and all inflows to i, hence I expected i->i to be zero. It uses the transfer matrix output from mvar frequency analysis, but the transf matrix i to i looks like the MVAR model's autospectrum for channel i, so I supposed the diagonal is a ratio between autospectra and sum of inflows to each channel.
Thank you,
Ina
%% CODE
% fit MVAR
cfg = [];
cfg.order = 19;
cfg.method = 'bsmart';
cfg.demean = 'yes';
cfg.zscore = 'yes';
mvar_data = ft_mvaranalysis(cfg, source_ts);
% frequency analysis MVAR
cfg = [];
cfg.method = 'mvar';
mfreq = ft_freqanalysis(cfg, mvar_data);
% DTF spectrum
cfg = [];
cfg.method = 'dtf';
dtf = ft_connectivityanalysis(cfg, mfreq);
dtfPre_dir = dtf.dtfspctrm;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20221208/7f82d2e5/attachment.htm>
More information about the fieldtrip
mailing list