<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><p class="MsoNormal"><span class="" style="font-size: 9pt;">Dear all,</span></p><p class="MsoNormal"><span class="" style="font-size: 9pt;">I'm writing you with respect to the statistical analysis in EEGLAB.</span><span class="" style="font-size: 9pt;"> We are having some problems to analyze  behavioral data. We are using EEGLAB, concretly, we are using std_stat. Our design is a mixed design: 2 (Group) x 2 (Time on Task). </span>Theoretically<span class="" style="font-size: 9pt;">, we are creating a matrix as in the following example (<a href="https://sccn.ucsd.edu/svn/software/eeglab/functions/studyfunc/std_stat.m" class="">https://sccn.ucsd.edu/svn/software/eeglab/functions/studyfunc/std_stat.m</a>), however the results don't look to be correct. We have analyzed these data with  classical repeated measures ANOVA and we have a clear group effect and F<1 in Time on Task effect. The results of Std_Stat are </span>completely<span class="" style="font-size: 9pt;"> opposite, a clear effect of Time on Task and nothing with regard to the Group Effect. Obviously, we know results will not be exactly the same but al least, they should follow the same tendency.</span></p><p class="MsoNormal">Moreover, we would like to obtain p values without the mask. Do you know what could be wrong in the code? Is std_stat or statcond a good option for mixed designs?</p><div class=""><div class="" style="margin: 0px; font-size: 10px; line-height: normal; font-family: Courier;">[pcond, pgroup, pinter, statscond, statsgroup, statsinter] = std_stat(data, <span class="" style="color: rgb(178, 69, 243);">'groupstats'</span>,<span class="" style="color: rgb(178, 69, 243);">'on'</span>,<span class="" style="color: rgb(4, 51, 255);">...</span></div><div class="" style="margin: 0px; font-size: 10px; line-height: normal; font-family: Courier; color: rgb(178, 69, 243);"><span class="" style="color: rgb(0, 0, 0);">    </span>'condstats'<span class="" style="color: rgb(0, 0, 0);">,</span>'on'<span class="" style="color: rgb(0, 0, 0);">,</span>'method'<span class="" style="color: rgb(0, 0, 0);">,</span>'perm'<span class="" style="color: rgb(0, 0, 0);">,</span>'mcorrect'<span class="" style="color: rgb(0, 0, 0);">,</span>'fdr'<span class="" style="color: rgb(0, 0, 0);">,</span>'mode'<span class="" style="color: rgb(0, 0, 0);">,</span>'eeglab'<span class="" style="color: rgb(0, 0, 0);">,</span>'alpha'<span class="" style="color: rgb(0, 0, 0);">,NaN,</span><span class="" style="color: rgb(4, 51, 255);">...</span></div><div class="" style="margin: 0px; font-size: 10px; line-height: normal; font-family: Courier; color: rgb(178, 69, 243);"><span class="" style="color: rgb(0, 0, 0);">    </span>'paired'<span class="" style="color: rgb(0, 0, 0);">,{</span>'on'<span class="" style="color: rgb(0, 0, 0);"> </span>'off'<span class="" style="color: rgb(0, 0, 0);">},</span>'naccu'<span class="" style="color: rgb(0, 0, 0);">,500);</span></div></div><div class=""><span class=""><br class=""></span></div><div class=""><br class=""></div><div class=""><span class="" style="font-size: 9pt;">Thank you for your time.</span></div></div><div class=""><br class=""></div><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Un saludo,</div><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""></div><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Luis Ciria<br class=""><br class=""></div>
</div>
<br class=""></body></html>