<div dir="ltr">Dear Deniz,<div><br></div><div><span style="font-family:'Times New Roman';font-size:16px">> I got an "Reference to non-existent field 'erpdata'" error.</span><br></div><div class="gmail_extra">

<br></div><div class="gmail_extra">Plot all cluster ERPs, press 'ok' to close the edit/plot UI (this updates the base workspace memory), and try it again.</div><div class="gmail_extra"><br></div><div class="gmail_extra">

Makoto <br><br><div class="gmail_quote">On Fri, Aug 29, 2014 at 10:09 AM, Deniz Dohmen <span dir="ltr"><<a href="mailto:deniz.dohmen@live.de" target="_blank">deniz.dohmen@live.de</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><div dir="ltr"><font style="font-size:12pt" face="Times New Roman" size="3">Thanks for the quick reply!<br>However, when I tried it I got an "Reference to non-existent field 'erpdata'" error.<br>Not really sure why, though.<br>

<br>Deniz<br></font><br><br><br><div>> Date: Fri, 29 Aug 2014 09:48:48 -0700<br>> Subject: Re: [Eeglablist]  p and F values, difference wave, mean amplitudes<br>> From: <a href="mailto:mdschall@ucsd.edu" target="_blank">mdschall@ucsd.edu</a><br>

> To: <a href="mailto:deniz.dohmen@live.de" target="_blank">deniz.dohmen@live.de</a><br>> CC: <a href="mailto:eeglablist@sccn.ucsd.edu" target="_blank">eeglablist@sccn.ucsd.edu</a><div><div class="h5"><br>> <br>
> Hi Deniz,<br>
> <br>> If you are computing T-tests then you don't need an F value, but you'll<br>> find your T value the same way through EEGLAB. The only way I know how is<br>> through the command line - you can reference this part of the wiki for<br>

> more information<br>> <a href="http://sccn.ucsd.edu/wiki/Chapter_08:_Command_line_STUDY_functions" target="_blank">http://sccn.ucsd.edu/wiki/Chapter_08:_Command_line_STUDY_functions</a> (under<br>> plotting stats & receiving results subsection)<br>

> <br>> If you are more comfortable using the graphic interface, set up all your<br>> stat testing parameters first in the GUI, then rather than clicking the<br>> plot ERPs button, run this command:<br>> [stats, df, pvals, surrog]=statcond(STUDY.changrp(n).erpdata) - where n=<br>

> the numerical index of the channel of interest. You can find the T-values<br>> in the variable called stats. Stats has the same number of data points as<br>> your ERP variable, which are samples, not time points. So if you want to<br>

> see the T-value at latency 300 msec, check out the variable<br>> STUDY.changrp(n).erptimes. Times are stored in seconds, so look for 0.300,<br>> and note the column number. Go back and type stats(column number), and<br>

> you'll have the T-value at that time. Do the same for pvals(column number)<br>> to find the corresponding p value at that time point.<br>> <br>> Hope this helps!<br>> <br>> best,<br>> Matt<br>> <br>

> PhD Candidate, Cognitive Science, UCSD<br>> Adjunct Professor, Psychology, Chapman University<br>> <a href="https://sites.google.com/site/hazmattneurolab/" target="_blank">https://sites.google.com/site/hazmattneurolab/</a><br>

> <br>> <br>> > Dear List,<br>> ><br>> > I did all the preprocessing of my data, epoched and created a STUDY with 4<br>> > conditions for 11 subjects (I'm only comparing conditions a vs b and c vs<br>

> > d, respectively. Thus, two paired t-tests).<br>> > I also get the graphs and a grey shaded area for the significant<br>> > latencies. However, I need to get t and p values for my masterthesis.<br>> > Really struggling to get those.<br>

> > Furthermore, I need to get the mean amplitude of the respective difference<br>> > waves for the 350-450ms latency (in order to correlate them with another<br>> > measure.<br>> > Any advice on how to go about this?<br>

> > I'm under a bit of time pressure and would appreciate any help!<br>> ><br>> > Cheers,<br>> > Deniz<br>> ><br>> >                                        _______________________________________________<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<br>> > <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<br>

> > <a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">eeglablist-request@sccn.ucsd.edu</a><br>> <br></div></div></div>                                     </div></div>
<br>_______________________________________________<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">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 dir="ltr">Makoto Miyakoshi<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br></div>
</div></div>