<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Dear Daniel,
<div class=""><br class="">
</div>
<div class="">Indeed, it does not make much sense to try and make a MMVAR (Massively Multivariate AutoRegressive) model like this….</div>
<div class="">The number of ‘independent’ dimensions in your data is at most the number of EEG electrodes minus 1. Unless you find a way to meaningfully and dramatically reduce the number of nodes, the estimation procedure does not make sense to me. You may
 want to consider a massive pairwise decomposition (i.e. do the estimation multiple times, for each pair of nodes to be considered), although this might suffer from:</div>
<div class=""><br class="">
</div>
<div class="">1) mis-interpretation due to non-observed common input into both nodes (which I think is not a very big problem), but some esteemed colleagues might disagree with this.</div>
<div class=""><br class="">
</div>
<div class="">2) mis-estimation of the model due to violation of the AR assumptions due to residual instantaneous (and additive) leakage from second (the other source in the pair) and third party (distant sources) sources. This would require an ARMA model (or
 an equivalent state space model), both of which are not straightforward to estimate. (that is: people who claim that these methods should be used do not seem to be very much inclined to share their knowledge in easy-to-use and robust code (nudge-nudge). </div>
<div class=""><br class="">
</div>
<div class="">Best wishes,</div>
<div class="">Jan-Mathijs</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 22 May 2019, at 11:39, Velden, Daniel <<a href="mailto:daniel.velden@med.uni-goettingen.de" class="">daniel.velden@med.uni-goettingen.de</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="WordSection1" style="page: WordSection1; font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
Dear community,<o:p class=""></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" class="">I am working on resting-state EEG data with around 40 trials per subject, each trial with a length of 10 seconds (sfrequency= 150Hz). This data is preprocessed using fieldtrip functions (Low-, Highpass filtering, ICA etc.) and then
 source reconstructed with the LCMV beamformer to 2338 source points on the individual subjects cortex.<o:p class=""></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" class=""><o:p class=""> </o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" class="">Now I want to estimate Granger Causality (GC) for all of the 2338 source points, which requires mvar models of each subjects data. Here I use the “BioSig” toolkit with the default Vieira-Morf algorithm to remodel my data. While modelling
 most of my matrices are very badly conditioned with rcond’s of e<sup class="">-18</sup><span class="Apple-converted-space"> </span>and lower.<o:p class=""></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" class=""><o:p class=""> </o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" class="">After modelling it is necessary to choose the best fitting model order. So I calculate the Akaike and Bayesian Information criterion (AIC, BIC). But the AIC and BIC results are all “Inf” or “-Inf”, since the determinate of the noisecovariance
 results in that.<o:p class=""></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" class=""><o:p class=""> </o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" class="">So does anyone else came across this issue? My presumption is, that the enormous amount of 2338 source/signals unavoidably results in badly conditioned matrices, since the number of comparisons/predictions that need to be made is
 too high and the algorithm assumes that every source/signal takes a role in every prediction of every value, therefore resulting in very small values for each ar-coefficient.<o:p class=""></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" class=""><o:p class=""> </o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" class="">I appreciate any comment and/or contribution to that topic.<o:p class=""></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" class=""><o:p class=""> </o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" class="">Greetings and all the best,<o:p class=""></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" class="">Daniel van de Velden<o:p class=""></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" class=""><o:p class=""> </o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="color: rgb(166, 166, 166);" class="">------------------------------------------------</span><span style="color: rgb(166, 166, 166);" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; line-height: 12pt;" class="">
<span style="font-size: 10pt;" class=""><o:p class=""> </o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; line-height: 12pt;" class="">
<i class=""><span style="font-size: 10pt; color: rgb(54, 95, 145);" class="">Daniel van de Velden (M.Sc.) || PhD candidate<o:p class=""></o:p></span></i></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; line-height: 12pt;" class="">
<i class=""><span style="font-size: 10pt; color: rgb(54, 95, 145);" class="">Wissenschaftlicher Mitarbeiter<o:p class=""></o:p></span></i></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; line-height: 12pt;" class="">
<i class=""><span style="font-size: 10pt; color: rgb(54, 95, 145);" class="">Klinik für Klinische Neurophysiologie<o:p class=""></o:p></span></i></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; line-height: 12pt;" class="">
<i class=""><span style="font-size: 10pt; color: rgb(54, 95, 145);" class="">Georg-August-Universität Göttingen<o:p class=""></o:p></span></i></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; line-height: 12pt;" class="">
<i class=""><span style="font-size: 10pt; color: rgb(54, 95, 145);" class="">Robert-Koch.Str. 40, 37075 Göttingen<o:p class=""></o:p></span></i></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; line-height: 12pt;" class="">
<i class=""><span lang="EN-US" style="font-size: 10pt; color: rgb(54, 95, 145);" class="">Tel. 0551- 39-65106<o:p class=""></o:p></span></i></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
</div>
<span style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">fieldtrip
 mailing list</span><br style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" style="color: purple; text-decoration: underline; font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<a href="https://doi.org/10.1371/journal.pcbi.1002202" style="color: purple; text-decoration: underline; font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://doi.org/10.1371/journal.pcbi.1002202</a></div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>