<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Dear Jasper,<div><div><br><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div class="Section1"><div style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 11pt; font-family: Calibri, sans-serif; "><span lang="EN-US">Can I input these fourier spectra directly to freqstatistics or should I convert the fourierspectrum first to a powerspectrum (I assume this could be done by taking abs(fourierspectrum).^2 and then averaging over tapers for every trial ) ?</span></div></div></span></blockquote><div><br></div><div>I suspect that you cannot directly put fourierspectra into freqstatistics when you want to perform a T-test on the power. I always throw the frequency data at freqdescriptives (with cfg.keeptrials = 'yes'); this should give you single trial power spectra. Then you can use the 'montecarlo' or 'analytic' method for statistical inference. You can indeed also compute the variance in freqdescriptives, but I am not sure how to get to a T-value using fieldtrip there. At least you won't get there using the 'statfuns'.</div><div><br></div><div>Best,</div><div><br></div><div>JM</div></div></div></body></html><p>----------------------------------</p>
<p>The aim of this list is to facilitate the discussion between users of the FieldTrip toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis.</p>
<p> http://listserv.surfnet.nl/archives/fieldtrip.html</p>
<p> http://www.ru.nl/fcdonders/fieldtrip/</p>