<div dir="ltr">Thanks a lot for the responses! <div><br></div><div>How would you go about extracting N-1 components? I can't see it under pop_runica. </div><div><br></div><div>Best,</div><div><br></div><div>Eric</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Dec 10, 2016 at 8:49 AM, Iman Mohammad-Rezazadeh <span dir="ltr"><<a href="mailto:irezazadeh@ucdavis.edu" target="_blank">irezazadeh@ucdavis.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="m_3359925167845382507WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">You may want to see
<a href="https://sccn.ucsd.edu/pipermail/eeglablist/2014/007810.html" target="_blank">https://sccn.ucsd.edu/<wbr>pipermail/eeglablist/2014/<wbr>007810.html</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">-Iman<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">------------------------------<wbr>------------------------------<wbr>-<u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Iman M.Rezazadeh, Ph.D<u></u><u></u></span></b></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Semel Intitute, UCLA , Los Angeles<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">& Center for Mind and Brain, UC DAVIS, Davis<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><a name="m_3359925167845382507__MailEndCompose"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></a></p>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> <a href="mailto:eeglablist-bounces@sccn.ucsd.edu" target="_blank">eeglablist-bounces@sccn.ucsd.<wbr>edu</a> [mailto:<a href="mailto:eeglablist-bounces@sccn.ucsd.edu" target="_blank">eeglablist-bounces@<wbr>sccn.ucsd.edu</a>]
<b>On Behalf Of </b>Ahmad, Jumana<br>
<b>Sent:</b> Friday, December 9, 2016 10:02 AM<br>
<b>To:</b> Eric HG <<a href="mailto:erichg2013@gmail.com" target="_blank">erichg2013@gmail.com</a>>; eeglablist <<a href="mailto:eeglablist@sccn.ucsd.edu" target="_blank">eeglablist@sccn.ucsd.edu</a>><br>
<b>Subject:</b> Re: [Eeglablist] Artifacts after removal of ICA component<u></u><u></u></span></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi Eric,<u></u><u></u></span></p>
<p style="margin-right:0in;margin-bottom:6.0pt;margin-left:0in;line-height:18.0pt;background:white">
<span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Did you reduce the rank of your data by 1 before running ICA? I would do Matlab rank(EEG.data(:,:)) and check it is not 1 less than the number of your channels in ICA.
 If it is the same and you are not rank deficient. If you are then you can perform channel rejection to match EEG.nbchan with rank(EEG.data(:,:)).<u></u><u></u></span></p>
<p style="margin-right:0in;margin-bottom:6.0pt;margin-left:0in;line-height:18.0pt;background:white">
<span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Average referencing reduces the rank of the data by 1. When you rereference to average,  the sum of all your channels is 0 at each time point.  One channel is therefore
 a linear combination of the others, which implies statistical dependence, therefore the dimensionality of your data is reduced  by one after averaging. I always average reference after ICA.
<u></u><u></u></span></p>
<p style="margin-right:0in;margin-bottom:6.0pt;margin-left:0in;line-height:18.0pt;background:white">
<span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Average referencing before means you can only extract N-1 independent components after this.  This is fine as long as you remember to extract 1 component less than you
 would have before average reference.<u></u><u></u></span></p>
<p style="margin-right:0in;margin-bottom:6.0pt;margin-left:0in;line-height:18.0pt;background:white">
<span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Best wishes,<u></u><u></u></span></p>
<p style="margin-right:0in;margin-bottom:6.0pt;margin-left:0in;line-height:18.0pt;background:white">
<span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Jumana
</span><span lang="EN-GB" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">
<a href="mailto:eeglablist-bounces@sccn.ucsd.edu" target="_blank">eeglablist-bounces@sccn.ucsd.<wbr>edu</a> [<a href="mailto:eeglablist-bounces@sccn.ucsd.edu" target="_blank">mailto:eeglablist-bounces@<wbr>sccn.ucsd.edu</a>]
<b>On Behalf Of </b>Eric HG<br>
<b>Sent:</b> 08 December 2016 00:39<br>
<b>To:</b> eeglablist <<a href="mailto:eeglablist@sccn.ucsd.edu" target="_blank">eeglablist@sccn.ucsd.edu</a>><br>
<b>Subject:</b> [Eeglablist] Artifacts after removal of ICA component<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:9.5pt">Hi everybody,</span><span lang="EN-GB"><u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:9.5pt"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:9.5pt">I've had some trouble with removal of components using ICA (I'm currently using ICA infomax). After I remove a component there seems to be induced high frequency noise in the dataset. <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:9.5pt"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:9.5pt">The data is referenced to average before applying ICA. <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:9.5pt"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:9.5pt">Does anyone know why that is happening? <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:9.5pt"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:9.5pt">Best,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:9.5pt"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:9.5pt">Eric<u></u><u></u></span></p>
</div>
</div>
</div></div></div>
</div>

</blockquote></div><br></div>