<div dir="ltr">Dear Simon,<div><br></div><div><span style="font-family:Arial">> My basic question is: what ERP/ERSP does my sound presented during sleep evoke?</span></div><div><span style="font-family:Arial"><br></span></div><div><span style="font-family:Arial">What an interesting question!</span></div><div><span style="font-family:Arial"><br></span></div><div><span style="font-family:Arial">> To compute statistics, eeglab requires two conditions. How can I perform a one-sample test against zero or the baseline?</span><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">It's better to use statcond() to perform one sample T test. If you have trouble extracting data from EEGLAB data structure let us know.<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Makoto</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 15, 2015 at 1:25 AM, Simon Ruch <span dir="ltr"><<a href="mailto:simon.ruch@psy.unibe.ch" target="_blank">simon.ruch@psy.unibe.ch</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">
  

    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <font size="-1"><font face="Arial">Hello<br>
        <br>
        I would like to contrast my evoked potentials/perturbations
        against the pre-stimulus baseline, respectively against zero
        (for baseline corrected data). I would like to perform
        significance tests that tell me where/when/at what frequencies
        the signal peaks. My basic question is: what ERP/ERSP does my
        sound presented during sleep evoke? To compute statistics,
        eeglab requires two conditions. How can I perform a one-sample
        test against zero or the baseline?<br>
        <br>
        My approach so far:<br>
        I created a dummy dataset as zero-control condition for each
        participant. In this dataset:  EEG.data(:,:,:) = 0. I used these
        datasets to create a repeated measures study design (stimulus
        vs. zero condition) and precomputed study parameters. In the
        spectral data generated for the control condition files
        (*.datersp), I replaced all NaNs with zeros and set the baseline
        (chanX_erspbase) to the baseline of the real data of the
        respective participant. This allowed me to perform tests against
        the baseline for both ERPs and ERSPs<br>
        <br>
        While this works fine, I was wondering if there is an easier and
        more elegant approach to what I want.<br>
        <br>
        Kind regards<br>
        Simon Ruch</font></font><br>
    <div>-- <br>
      <font size="-2"><font face="Arial">
          <br>
          <br>
          ________________________________________________<br>
          <br>
          <b>Simon Ruch, Dr. phil.</b><br>
          University of Bern<br>
          Department of Psychology, Division of Experimental Psychology
          and Neuropsychology<br>
          Center for Cognition, Learning and Memory (CCLM)<br>
          Office A 362<br>
          Fabrikstrasse 8<br>
          CH-3012 Bern<br>
          Switzerland<br>
          Phone <a href="tel:%2B41%20%280%2931%20631%2037%2029" value="+41316313729" target="_blank">+41 (0)31 631 37 29</a><br>
          <a href="mailto:simon.ruch@psy.unibe.ch" target="_blank">mailto:simon.ruch@psy.unibe.ch</a><br>
          <a href="http://www.apn.psy.unibe.ch/content/team/henke/" target="_blank">http://www.apn.psy.unibe.ch/content/team/henke/</a><br>
          <a href="http://www.cclm.unibe.ch/" target="_blank">http://www.cclm.unibe.ch/</a>
        </font></font>
    </div>
  </div>

<br>_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer" 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">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">eeglablist-request@sccn.ucsd.edu</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Makoto Miyakoshi<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br></div></div>
</div></div>