<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><title>Re: [Eeglablist] ICA on lowpass / highpass filtered data</title><style><!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"\@SimSun";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:black;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>Hi Martin,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>My take: I think a large part of the reason for the disappointing high-frequency decomposition is due to the extreme attenuation of the skull of high-frequency low-amplitude sources. The independent components usually extracted in ICA of EEG are primarily low frequency, plus muscle, eye, and line noise. One might think that a low frequency, say midline theta, component might contain gamma, possibly amplitude correlated to a certain phase of theta. Personally I haven’t had a lot of success with this in EEG. So there is a question of how much brain signal is left in the high-pass part. There is also a question of how intermittent the high-frequency signal, or how non-stationary relative to other intermittent high-frequency signals.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>As for the computation time increase, I have noticed this kind of thing as well, and don’t know the reason, but have thought it had something to do with caching data in the CPU—the next number multiplied in the low-pass data might require fewer register or bit modifications.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>I think your comments on PCA vs. ICA are right. ICA should extract independent components regardless of variance. I don’t think there is a way to estimate the number of ICs without actually performing ICA. You can then check pairwise mutual information of the sources and count the number of ICs having less than some threshold of mutual information with all other components, or the number of independent subspaces (with only pairwise mutual info within themselves.)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>Best,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>Jason<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> eeglablist-bounces@sccn.ucsd.edu [mailto:eeglablist-bounces@sccn.ucsd.edu] <b>On Behalf Of </b>Krebber, Martin<br><b>Sent:</b> Friday, May 17, 2013 9:28 AM<br><b>To:</b> Simon-Shlomo Poil; mmiyakoshi@ucsd.edu; eeglablist@sccn.ucsd.edu<br><b>Subject:</b> Re: [Eeglablist] ICA on lowpass / highpass filtered data<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Hi,<br><br>thanks a lot for your input. I tried Simons PCA approach on a couple of datasets and it seems like I need less than half of my components to explain 99% of variance in my high high frequency data. <br><br>I am wondering, though, if this approach is appropriate since PCA and ICA work differently. As far as I understood, PCA tries to maximize the variance explained of each component, whereas ICA tries to maximize the independence of the components. So if, for instance, 64 PCs explain 99% of my variance, 64 ICs might explain much less.<br><br>Another thing that seems worth mentioning is that when I run the same procedure over the low pass data or the original unsplit data I need even fewer PCs to explain the same percentage of variance. So this procedure does not really explain why my ICA on the high pass filtered data takes so much longer than the ICAs in low frequency or unsplit data. <br><br>Could it be that it's a question of independence rather than of variance explained? Is there a way to estimate how many independent sources there are in the data?<br><br>Thanks!<br><br>Martin<br><br><br><br>On 17.05.2013 00:25, Simon-Shlomo Poil wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p><span style='font-size:10.0pt'>Dear Martin,<br><br>As Makoto says, you make the channels less independent of each other.<br>It might be resonable* to reduce using PCA. One way to determine the<br>number of relevant dimesions could be<br>[COEFF, SCORE, LATENT] = princomp(EEG.data');<br>tmp = cumsum(LATENT);<br>nr=find(tmp/tmp(end)>0.975,1);<br><br>, which gives you the number of principle components explaining 97.5 %<br>of the variance.<br><br>*you can find previous mails discussing pro-/con- of PCA reduction on<br>the this list (I remember there was even a paper in prep? I didn't see<br>it come out)<br><br>Best wishes<br>Simon<br><br>--<br>Simon-Shlomo Poil, Dr.<br><br>2013/5/16 Makoto Miyakoshi <a href="mailto:mmiyakoshi@ucsd.edu"><mmiyakoshi@ucsd.edu></a>:<br>> Dear Martin,<br>><br>> If you apply a band-pass filter, your channel data become less independent<br>> of each other i.e. rank-reduced.<br>><br>> Imagine you apply an extreme band-pass filter, say 10-11Hz. All of your<br>> channel data look very much like each other.<br>><br>> Makoto<br>><br>><br>> 2013/5/16 Krebber, Martin <a href="mailto:martin.krebber@charite.de"><martin.krebber@charite.de></a><br>>><br>>> Hi all,<br>>><br>>><br>>> I am currently working on an analysis were I split the data into low and<br>>> high frequency portions using a lowpass (cutoff 35 Hz) and a highpass<br>>> (20 Hz) filter, respectively. The idea behind this approach is to do the<br>>> ICA artefact rejection seperately on low and high frequency data in<br>>> order to be better able to reject high frequency muscle artefacts and<br>>> obtain a clearer brain signal in the gamma range.<br>>><br>>> My problem is that, especially with the highpass filtered data, ICA<br>>> takes a very long time (roughly 5-10 times the usual) and even then the<br>>> decomposition does not look very clean. I tried to reduce the<br>>> dimensionality of the data (from 128 to 96) by applying the PCA<br>>> parameter in pop_runica and it is way faster. Is it justified, or maybe<br>>> even recommended to reduce the data dimensionality after filtering out a<br>>> considerable portion of the signal? And if so, is there a rule of thumb<br>>> about how much to reduce the data dimensionality?<br>>><br>>> Thanks for any suggestions!<br>>><br>>> Regards,<br>>> Martin<br>>><br>>> _______________________________________________<br>>> Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>>> To unsubscribe, send an empty email to<br>>> <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>>> For digest mode, send an email with the subject "set digest mime" to<br>>> <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a><br>><br>><br>><br>><br>> --<br>> Makoto Miyakoshi<br>> Swartz Center for Computational Neuroscience<br>> Institute for Neural Computation, University of California San Diego<br><br><br><br>--</span><o:p></o:p></p></blockquote><p class=MsoNormal><o:p> </o:p></p></div></body></html>