<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hello,</div><div class=""><br class=""></div><div class="">I apologize for improper use of vocabulary or any misunderstanding of how MNE works - I just started learning it.</div><div class=""><br class=""></div><div class="">I found out that MNE provides two functions to calculate regression on EEG signal -&nbsp;<font face="Menlo" class="">linear_regression</font> and<font face="Menlo" class=""> linear_regression_raw</font>, with the former working on epoched data and the latter working on continuous data.&nbsp;</div><div class=""><br class=""></div><div class="">I have a couple of question regarding setting up predictors, and I was hoping someone could help. First - is the parameter for predictors <font face="Menlo" class="">d</font><span style="box-sizing: border-box; color: rgb(44, 62, 80);" class=""><font face="Menlo" class="">esign_matrix&nbsp;</font></span>in the&nbsp;<span style="font-family: Menlo;" class="">linear_regression</span>&nbsp;function? W<span style="box-sizing: border-box; color: rgb(44, 62, 80);" class="">hat about&nbsp;</span><font face="Menlo" class="">linear_regression_raw?</font></div><div class="">If<font face="Menlo" class="">&nbsp;</font><font face="Menlo" class="">d</font><span style="box-sizing: border-box; color: rgb(44, 62, 80);" class=""><font face="Menlo" class="">esign_matrix </font>does what I think it does,&nbsp;</span>how can I make sure that the&nbsp;<font face="Menlo" class="">d</font><span style="box-sizing: border-box; color: rgb(44, 62, 80);" class=""><font face="Menlo" class="">esign_matrix</font></span>&nbsp;array matches the first dimension of the data to be regressed? Any suggestion on that?</div><div class=""><br class=""></div><div class="">Many thanks in advance!</div><div class=""><br class=""></div><div class="">-r</div><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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;">----------<br class="">Roberto Petrosino<br class="">Ph.D. Student in Linguistics</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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;">CT Institute for&nbsp;the Brain&nbsp;and Cognitive Sciences<br class="">University of Connecticut<br class=""><br class=""></div></div></div></div>
</div>
<br class=""></body></html>