<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi Elisa,
<div class=""><br class="">
</div>
<div class="">Your questions  are not decorated with any insights about code/data, so it’s a bit guessing as to how to compile an answer to your questions that might help you further. I’ll try anyhow:</div>
<div class="">
<div>
<blockquote type="cite" class="">
<div class="">
<div style="caret-color: rgb(0, 0, 0); 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; text-decoration: none;" class="">
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
<ol class="">
<li class=""><span class=""><span style="background-color: rgb(255, 255, 255); display: inline !important;" class=""><span class=""> What is the minimum epoch length required to compute PAC (is 1s enough to compute the phase of 4 Hz)? <br class="">
</span></span></span></li></ol>
</div>
</div>
</div>
</blockquote>
<div>The sliding time window (which is not necessarily the same as the epoch length) should be sufficiently long to get a decent estimate of the phase at 4Hz. Thus, a cfg.t_ftimwin for the low frequency oscillation, to be used in ft_freqanalysis to compute
 the freqlo should be sufficient. </div>
<div><br class="">
</div>
<blockquote type="cite" class="">
<div class="">
<div style="caret-color: rgb(0, 0, 0); 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; text-decoration: none;" class="">
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
<ol class="">
<li style="display: block;" class=""><span class=""><span style="background-color: rgb(255, 255, 255); display: inline !important;" class=""><span class=""><br class="">
</span></span></span></li><li class=""><span class=""><span style="background-color: rgb(255, 255, 255); display: inline !important;" class=""><span class="">Is this computation suitable for tasks with a strong event-related synchronization? I read that ERPs should be subtracted from
 this analysis to avoid confounding effects but here I have reaching movements.</span></span></span></li></ol>
</div>
</div>
</div>
</blockquote>
<div>No, and subtraction of an ERP is not going to be very useful in my opinion. See: <a href="https://www.fieldtriptoolbox.org/faq/evoked_vs_induced/" class="">https://www.fieldtriptoolbox.org/faq/evoked_vs_induced/</a></div>
<div><br class="">
</div>
<blockquote type="cite" class="">
<div class="">
<div style="caret-color: rgb(0, 0, 0); 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; text-decoration: none;" class="">
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
<ol class="">
<li class=""><span class=""><span style="background-color: rgb(255, 255, 255); display: inline !important;" class=""><span class="">When computing PAC with Fieldtrip, I get the same value for the entire frequency band of the phase (i.e. same number from 4 to
 8 Hz). This is d<span style="background-color: rgb(255, 255, 255); display: inline !important;" class="">espite the resulting MI matrix being N.channel*N.freqphase*N.freqAmplitude.</span></span></span></span></li><li style="display: block;" class=""><span class=""><span style="background-color: rgb(255, 255, 255); display: inline !important;" class=""><span class="">Since I would like to explore which theta frequency phase is mostly coupled with the higher frequency
 power, I would like to know why I get the same values and how to fix this as I could not find any configuration about averaging frequencies (e.g. cfg.averageoverfreq = 'yes'/'no').</span></span></span></li></ol>
</div>
</div>
</div>
</blockquote>
<div>This I don’t understand. I cannot comment on this without knowing more about the exact parameters used for the generation of the input data into the ft_crossfrequencyanalysis function.</div>
<div><br class="">
</div>
<blockquote type="cite" class="">
<div class="">
<div style="caret-color: rgb(0, 0, 0); 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; text-decoration: none;" class="">
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
<ol class="">
<li class="">If I manage to compute a meaningful MI, how do I statistically test whether it is significant?</li></ol>
</div>
</div>
</div>
</blockquote>
<div>‘Significant’ is always related to a null hypothesis. What’s your null hypothesis?</div>
<div><br class="">
</div>
<blockquote type="cite" class="">
<div style="caret-color: rgb(0, 0, 0); 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; text-decoration: none;" class="">
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
<ol class="" start="1">
<li class="">Last but not least, is there a physiological or computational explanation for the impossibility of computing PAC on different electrodes?</li></ol>
</div>
</div>
</blockquote>
<div>I don’t understand the question underlying this question: given some data, and a function, one could most of the time produce a result. In that sense it is always possible. Whether or not that result is interpretable, that’s a different question, but it
 probably does not depend on whether it was computed on electrode O1, or on electrode P6</div>
<div><br class="">
</div>
<div>Best wishes,</div>
<div>Jan-Mathijs</div>
<div><br class="">
</div>
<br class="">
<blockquote type="cite" class="">
<div style="caret-color: rgb(0, 0, 0); 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; text-decoration: none;" class="">
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
<div class=""></div>
</div>
<div id="Signature" class="">
<div class="">
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
</div>
<div class=""></div>
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; font-family: Calibri, Helvetica, sans-serif;" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class="">
<div dir="ltr" style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;" class="">
<div style="margin: 0px; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif, serif, EmojiFont; font-size: 15px; color: rgb(33, 33, 33);" class="">
<div style="margin: 0px;" class="">
<div style="margin: 0px;" class="">
<div style="margin: 0in 0in 0.0001pt;" class=""><span style="margin: 0px; font-size: 12pt;" class=""><br class="">
</span></div>
<div style="margin: 0in 0in 0.0001pt;" class="">Thank you very much for taking the time to read my questions. I really hope to get some answers from you.</div>
<div style="margin: 0in 0in 0.0001pt;" class=""><br class="">
</div>
<div style="margin: 0in 0in 0.0001pt;" class="">Best wishes.</div>
<div style="margin: 0in 0in 0.0001pt;" class=""><br class="">
</div>
<div style="margin: 0in 0in 0.0001pt;" class="">Elisa </div>
<div style="margin: 0in 0in 0.0001pt;" class=""><br class="">
</div>
<div style="margin: 0in 0in 0.0001pt;" class=""><br class="">
</div>
<div style="margin: 0in 0in 0.0001pt;" class=""><span style="margin: 0px; font-size: 11pt; color: rgb(102, 102, 102); font-family: Raavi, "Nirmala UI", "Gurmukhi MN", sans-serif;" class="">Elisa Tatti, Ph.D.</span></div>
<div style="margin: 0in 0in 0.0001pt;" class=""><span style="margin: 0px; font-size: 11pt; color: rgb(102, 102, 102); font-family: Raavi, "Nirmala UI", "Gurmukhi MN", sans-serif;" class="">Post Doctoral Research Fellow </span><span style="margin: 0px; font-family: "Times New Roman", serif, serif, EmojiFont; font-size: 12pt;" class=""><u class=""></u><u class=""></u></span></div>
</div>
<span style="font-family: Raavi, "Nirmala UI", "Gurmukhi MN", sans-serif; font-size: 11pt; color: rgb(102, 102, 102);" class=""></span>
<div style="margin: 0px;" class="">
<div style="margin: 0in 0in 0.0001pt;" class=""><span style="color: rgb(102, 102, 102); font-size: 11pt; font-family: Raavi, "Nirmala UI", "Gurmukhi MN", sans-serif;" class="">CUNY, School of Medicine </span><br class="">
</div>
<span style="font-family: Raavi, "Nirmala UI", "Gurmukhi MN", sans-serif; font-size: 11pt; color: rgb(102, 102, 102);" class=""></span></div>
<div style="margin: 0px;" class=""><span style="font-family: Raavi, "Nirmala UI", "Gurmukhi MN", sans-serif; font-size: 11pt; color: rgb(102, 102, 102);" class=""></span>
<div style="margin: 0in 0in 0.0001pt;" class=""><span style="margin: 0px; font-size: 11pt; color: rgb(102, 102, 102); font-family: Raavi, "Nirmala UI", "Gurmukhi MN", sans-serif;" class="">160 Convent ave</span><span style="margin: 0px; font-family: "Times New Roman", serif, serif, EmojiFont; font-size: 12pt;" class=""><u class=""></u><u class=""></u></span></div>
</div>
<span style="font-family: Raavi, "Nirmala UI", "Gurmukhi MN", sans-serif; font-size: 11pt; color: rgb(102, 102, 102);" class=""></span>
<div style="margin: 0px;" class="">
<div style="margin: 0in 0in 0.0001pt;" class=""><span style="margin: 0px; font-size: 11pt; color: rgb(102, 102, 102); font-family: Raavi, "Nirmala UI", "Gurmukhi MN", sans-serif;" class="">10031 </span><span style="margin: 0px; font-family: "Times New Roman", serif, serif, EmojiFont; font-size: 12pt;" class=""><u class=""></u><u class=""></u></span></div>
</div>
<span style="font-family: Raavi, "Nirmala UI", "Gurmukhi MN", sans-serif; font-size: 11pt; color: rgb(102, 102, 102);" class=""></span>
<div style="margin: 0px;" class="">
<div style="margin: 0in 0in 0.0001pt;" class=""><span style="margin: 0px; font-size: 11pt; color: rgb(102, 102, 102); font-family: Raavi, "Nirmala UI", "Gurmukhi MN", sans-serif;" class="">New York City, NY </span><span style="margin: 0px; font-family: "Times New Roman", serif, serif, EmojiFont; font-size: 12pt;" class=""><u class=""></u><u class=""></u></span></div>
</div>
<span style="font-family: Raavi, "Nirmala UI", "Gurmukhi MN", sans-serif; font-size: 11pt; color: rgb(102, 102, 102);" class=""></span>
<div style="margin: 0px;" class="">
<div style="margin: 0in 0in 0.0001pt;" class=""><span style="margin: 0px; font-size: 11pt; color: rgb(102, 102, 102); font-family: Raavi, "Nirmala UI", "Gurmukhi MN", sans-serif;" class=""> </span><span style="margin: 0px; font-family: "Times New Roman", serif, serif, EmojiFont; font-size: 12pt;" class=""><u class=""></u><u class=""></u></span></div>
</div>
<span style="font-family: Raavi, "Nirmala UI", "Gurmukhi MN", sans-serif; font-size: 11pt; color: rgb(102, 102, 102);" class=""></span></div>
</div>
<span style="font-family: Raavi, "Nirmala UI", "Gurmukhi MN", sans-serif; font-size: 11pt; color: rgb(102, 102, 102);" class=""></span>
<div style="margin: 0in 0in 0.0001pt; color: rgb(33, 33, 33); font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif, serif, EmojiFont; font-size: 15px;" class="">
<span style="margin: 0px; font-size: 11pt; color: rgb(102, 102, 102); font-family: Raavi, "Nirmala UI", "Gurmukhi MN", sans-serif;" class="">Tel. +1 3472043952</span></div>
<div style="margin: 0in 0in 0.0001pt; color: rgb(33, 33, 33); font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif, serif, EmojiFont; font-size: 15px;" class="">
<span style="margin: 0px; font-size: 12pt;" class=""><br class="">
</span></div>
<p style="margin: 0in 0in 0.0001pt; color: rgb(33, 33, 33); font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif, serif, EmojiFont; font-size: 15px;" class="">
<span style="margin: 0px; font-size: 12pt;" class=""></span></p>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; text-align: start;" class="">
<div style="margin: 0px;" class=""><span class=""><font size="2" class=""><span style="font-family: Raavi, "Nirmala UI", "Gurmukhi MN", sans-serif; font-size: 11pt; color: rgb(102, 102, 102);" class=""><i class=""> pronouns: she/her/hers</i></span></font></span></div>
</div>
<br class="">
<p style="margin-top: 0px; margin-bottom: 0px;" class=""></p>
</div>
<div style="margin: 0px;" class="">
<div style="margin: 0px; color: rgb(51, 51, 51); text-align: start;" class=""></div>
<br class="">
</div>
<br class="">
</div>
</div>
</div>
</div>
</div>
<span style="caret-color: rgb(0, 0, 0); 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; text-decoration: none; float: none; display: inline !important;" class="">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); 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; text-decoration: none;" class="">
<span style="caret-color: rgb(0, 0, 0); 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; text-decoration: none; float: none; display: inline !important;" class="">fieldtrip
 mailing list</span><br style="caret-color: rgb(0, 0, 0); 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; text-decoration: none;" class="">
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" style="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="caret-color: rgb(0, 0, 0); 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; text-decoration: none;" class="">
<a href="https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!5LW3HBBoemUPEhg6a_oAvt1CgyxKXM4ht3E-09jq5qNQLSuUAwlDJ4wg-LQfRQyUez2tPhThigXKwdpfytysP0iAbbWWxNcf__bmiQ$" style="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://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!5LW3HBBoemUPEhg6a_oAvt1CgyxKXM4ht3E-09jq5qNQLSuUAwlDJ4wg-LQfRQyUez2tPhThigXKwdpfytysP0iAbbWWxNcf__bmiQ$</a><span style="caret-color: rgb(0, 0, 0); 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; text-decoration: none; float: none; display: inline !important;" class=""></span></blockquote>
</div>
<br class="">
</div>
</body>
</html>