<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="font-family:Arial;font-size:14px"><p>
        Dear Tim,<br><br>
        thank you very much for all you answers and advises. I am following all your advises and I will let you know.<br><br>
        Here some issues:<br><br>
        1) About the Spectral Granger Analysis it is true that "I can obtain a temporal measure of Granger causality by integrating the GGC (Granger-Geweke Causality) measure provided by SIFT across all frequencies." but this requires much more time if I have to create a lot of models for each trace. For example if I need to create 20000 models for one traces and I am just interested to the integral I spend a lot of time calculating the complete spectrum.<br><br>
        2) Thank you very much for explaining me that "A stable VAR model is always stationary". I was not sure about that. Thank you.<br><br>
        3) I have a problem with the cleanline routine because you use a function called "findpeaks" that I guess you wrote. The problem is that there is already a matlab findpeaks function that also I use a lot. So I have continuosly change path. Is possible to rename the findpeaks function in the next cleanline release?<br><br>
        Best,<br><br>
        Vito<br><br>
        Quoting Tim Mullen <<a href="mailto:mullen.tim@gmail.com">mullen.tim@gmail.com</a>>:</p>
<blockquote style="border-left:2px solid blue;margin-left:2px;padding-left:12px;" type="cite">
        <div dir="ltr">
                <div class="gmail_extra">
                        <div class="gmail_quote">
                                Dear Vito, answers below:</div>
                        <div class="gmail_quote">
                                 </div>
                        <div class="gmail_quote">
                                <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
                                        <div style="word-wrap:break-word">
                                                <div>
                                                        About SIFT, comparing it with Anil Seth's Granger toolbox it seems that in SIFT are missing a few things (probably I don't know very good SIFT):</div>
                                                <div>
                                                         </div>
                                                <div>
                                                        1) In SIFT there is only the Spectral Granger Analysis, there is not the temporal Granger Analysis. Is this correct?</div>
                                        </div>
                                </blockquote>
                                <div>
                                         </div>
                                <div>
                                         </div>
                                <div>
                                        You can obtain a temporal measure of Granger causality by integrating the GGC (Granger-Geweke Causality) measure provided by SIFT across all frequencies.</div>
                                <div>
                                         </div>
                                <div>
                                         </div>
                                <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
                                        <div style="word-wrap:break-word">
                                                <div>
                                                        2) In SIFT there is not a stationarity test. Is this correct?</div>
                                        </div>
                                </blockquote>
                                <div>
                                         </div>
                                <div>
                                         </div>
                                <div>
                                        No there is not a direct test for stationarity (e.g. Augmented Dickey-Fuller). Instead, stability and whiteness tests are provided. A stable VAR model is always stationary so if the model passes stability and whiteness tests (e.g. the data can be appropriately modeled as a stable VAR process), stationarity of the data is implied. However, in cases where the model residuals are not white or the model is not stable, it can be useful to run a stationarity test on the data to determine if this is the problem. For this, one might consider using the ADF procedure in the GCCA toolbox. Bear in mind there are a few issues with this: The ADF test is a univariate -- not multivariate -- stationarity test. We assume the system is a multivariate autoregressive process (as does GCCA, for that matter) and are interested in testing for non-stationarity in the multivariate dataset (e.g. covariance stationarity) rather than testing each univariate time-series independently. ADF also has low power, and in many cases fails to reject the unit root hypothesis (e.g. Perron, 1989, Econometrica). There are alternate proposed multivariate stationarity test procedures (e.g. Jentsch and Rao, 2013; Yang and Shahabi, 2005), but these are not implemented in SIFT. In many cases, the stability and whiteness tests should suffice.</div>
                                <div>
                                         </div>
                                <div>
                                         </div>
                                <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
                                        <div style="word-wrap:break-word">
                                                <div>
                                                        3) In SIFT there is a common test for stability and consistence. Is this correct?</div>
                                                <div>
                                                         </div>
                                        </div>
                                </blockquote>
                                <div>
                                         </div>
                                <div>
                                        No, there are separate tests for stability and consistency.</div>
                                <div>
                                         </div>
                                <div>
                                        Best, </div>
                                <div>
                                        Tim</div>
                                <div>
                                         </div>
                                <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
                                        <div style="word-wrap:break-word">
                                                <div>
                                                         </div>
                                                <br><div>
                                                        <div>
                                                                Il giorno 18/gen/2014, alle ore 19:50, Andreas Widmann ha scritto:</div>
                                                        <div>
                                                                <div>
                                                                        <br><blockquote type="cite">
                                                                                <div dir="auto">
                                                                                        <div>
                                                                                                Dear all,</div>
                                                                                        <div>
                                                                                                 </div>
                                                                                        <div>
                                                                                                not directly related to your question and SIFT, but eegfilt is deprecated and I would recommend not using it any longer.</div>
                                                                                        <div>
                                                                                                 </div>
                                                                                        <div>
                                                                                                Best,</div>
                                                                                        <div>
                                                                                                Andreas</div>
                                                                                        <div>
                                                                                                <br>
                                                                                                Am 18.01.2014 um 15:47 schrieb "jfochoaster ." <<a href="mailto:jfochoaster@gmail.com" target="_blank">jfochoaster@gmail.com</a>>:<br>
                                                                                                 </div>
                                                                                        <blockquote type="cite">
                                                                                                <div>
                                                                                                        <div dir="ltr">
                                                                                                                <div>
                                                                                                                        <div>
                                                                                                                                <div>
                                                                                                                                        <div>
                                                                                                                                                Hello all,<br>
                                                                                                                                                 </div>
                                                                                                                                        I'm following the SIFT tutorial, the section 6.5.1.3 is about filtering, talk about eegfilt, about the zero-phase (acausal) filter<br>
                                                                                                                                         </div>
                                                                                                                                Is better forget this section of filtering and use the recommendations in the past emails?<br>
                                                                                                                                 </div>
                                                                                                                        <div>
                                                                                                                                Are these recommendation critical for the analysis?, I mean, there is a lot of work about MVAR models in ECoG data</div>
                                                                                                                        <div>
                                                                                                                                 </div>
                                                                                                                        Best wishes<br>
                                                                                                                         </div>
                                                                                                                John</div>
                                                                                                        <div class="gmail_extra">
                                                                                                                <br><br><div class="gmail_quote">
                                                                                                                        On Fri, Jan 17, 2014 at 11:05 PM, <a href="mailto:mullen.tim@gmail.com" target="_blank">mullen.tim@gmail.com</a> <span dir="ltr"><<a href="mailto:mullen.tim@gmail.com" target="_blank">mullen.tim@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
                                                                                                                                Oh thats interesting. I had not seen Anil's multitaper filter (might be fairly recent). But possibly it is exactly the same approach that is in Cleanline. If this is the method advocated by Mitra and Pesaran as in the Chronux toolbox then indeed its the same. And highly recommended.<br><div>
                                                                                                                                        -----Original Message-----<br>
                                                                                                                                        Date: Friday, January 17, 2014 1:21:30 pm<br>
                                                                                                                                        To: <a href="mailto:mullen.tim@gmail.com" target="_blank">mullen.tim@gmail.com</a><br>
                                                                                                                                        Cc: <a href="mailto:trotta_gabriele@yahoo.com" target="_blank">trotta_gabriele@yahoo.com</a>, <a href="mailto:drcoben@gmail.com" target="_blank">drcoben@gmail.com</a>, <a href="mailto:mmiyakoshi@ucsd.edu" target="_blank">mmiyakoshi@ucsd.edu</a>, <a href="mailto:widmann@uni-leipzig.de" target="_blank">widmann@uni-leipzig.de</a>, <a href="mailto:eeglablist@sccn.ucsd.edu" target="_blank">eeglablist@sccn.ucsd.edu</a><br>
                                                                                                                                        From: "Vito De Feo" <<a href="mailto:vito.defeo@zmnh.uni-hamburg.de" target="_blank">vito.defeo@zmnh.uni-hamburg.de</a>><br>
                                                                                                                                        Subject: Re: [Eeglablist] Filter causality pop_eegfiltnew<br>
                                                                                                                                         </div>
                                                                                                                                Before using the Cleanline (that I used today for the first time) I did't use the notch filter, I used a multi taper filtering made by Anil Seth. I know that filtering is very bad for later VAR modeling, especially notch and high pass. Low pass is better (usually I use multi taper filtering to remove the noise lines and a low pass causal filter with cut off filtering of 100 Hz).<br>
                                                                                                                                Do you think is ok Tim?<br>
                                                                                                                                Best<br>
                                                                                                                                Vito<br><br><br>
                                                                                                                                Il giorno 17/gen/2014, alle ore 20:53, <a href="mailto:mullen.tim@gmail.com" target="_blank">mullen.tim@gmail.com</a> ha scritto:<br><div>
                                                                                                                                        <br>
                                                                                                                                        > Do not notch filter your data! This can be very bad for later VAR modeling -- and IMO bad in general. You can use an adaptive spectral regression method such as that in the Cleanline plugin for eeglab to remove line noise.<br>
                                                                                                                                        ><br>
                                                                                                                                        > See Barnett and Seth 2011 and Mitra and Pesaran 1999 for theoretical discussions.<br>
                                                                                                                                        ><br>
                                                                                                                                        > Rob, there is no video of the SIFT workshop but the lecture pdfs are online at the eeglab workshop page.<br>
                                                                                                                                        ><br>
                                                                                                                                        > Tim<br>
                                                                                                                                        > -----Original Message-----<br>
                                                                                                                                        > Date: Friday, January 17, 2014 10:18:32 am<br>
                                                                                                                                        > To: "<br>
                                                                                                                                         </div>
                                                                                                                                <div>
                                                                                                                                        <div>
                                                                                                                                                _______________________________________________<br>
                                                                                                                                                Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
                                                                                                                                                To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
                                                                                                                                                For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">eeglablist-request@sccn.ucsd.edu</a></div>
                                                                                                                                </div>
                                                                                                                        </blockquote>
                                                                                                                </div>
                                                                                                                <br><br clear="all"><br>
                                                                                                                --<br>
                                                                                                                John Ochoa<br>
                                                                                                                Docente de Bioingeniería<br>
                                                                                                                Universidad de Antioquia</div>
                                                                                                </div>
                                                                                        </blockquote>
                                                                                </div>
                                                                        </blockquote>
                                                                </div>
                                                        </div>
                                                </div>
                                        </div>
                                </blockquote>
                        </div>
                        <br><br clear="all"><div>
                                 </div>
                        --<br>
                        ---------  αντίληψη -----------</div>
        </div>
</blockquote>
<br><br><br><br>-- <br>Pflichtangaben gemäß Gesetz über elektronische Handelsregister und
 Genossenschaftsregister sowie das Unternehmensregister (EHUG):<br><br>
Universitätsklinikum Hamburg-Eppendorf<br>
Körperschaft des öffentlichen Rechts<br>
Gerichtsstand: Hamburg<br><br>Vorstandsmitglieder:<br>
Prof. Dr. Christian Gerloff (Vertreter des Vorsitzenden)<br>
Prof. Dr. Dr. Uwe Koch-Gromus<br>
Joachim Prölß<br>
Rainer Schoppik<br>

</body></html>