<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:right;
        direction:rtl;
        unicode-bidi:embed;
        font-size:12.0pt;
        font-family:"Times New Roman";}
h1
        {margin-top:12.0pt;
        margin-right:0cm;
        margin-bottom:3.0pt;
        margin-left:0cm;
        text-align:right;
        page-break-after:avoid;
        direction:rtl;
        unicode-bidi:embed;
        font-size:12.0pt;
        font-family:"Times New Roman";}
h2
        {margin-top:12.0pt;
        margin-right:0cm;
        margin-bottom:3.0pt;
        margin-left:0cm;
        text-align:right;
        page-break-after:avoid;
        direction:rtl;
        unicode-bidi:embed;
        font-size:12.0pt;
        font-family:"Times New Roman";
        font-style:italic;}
h3
        {margin-top:12.0pt;
        margin-right:0cm;
        margin-bottom:3.0pt;
        margin-left:0cm;
        text-align:right;
        line-height:200%;
        page-break-after:avoid;
        direction:rtl;
        unicode-bidi:embed;
        font-size:12.0pt;
        font-family:"Times New Roman";}
p.MsoToc5, li.MsoToc5, div.MsoToc5
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:right;
        direction:rtl;
        unicode-bidi:embed;
        font-size:11.0pt;
        font-family:"Times New Roman";
        font-style:italic;}
p.MsoBodyText, li.MsoBodyText, div.MsoBodyText
        {margin-top:0cm;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:0cm;
        text-align:right;
        direction:rtl;
        unicode-bidi:embed;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p.jmsstyle01, li.jmsstyle01, div.jmsstyle01
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:right;
        line-height:200%;
        direction:rtl;
        unicode-bidi:embed;
        font-size:12.0pt;
        font-family:"Times New Roman";
        font-weight:bold;}
p.jmsstyle02, li.jmsstyle02, div.jmsstyle02
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:right;
        line-height:200%;
        direction:rtl;
        unicode-bidi:embed;
        font-size:12.0pt;
        font-family:"Times New Roman";
        font-style:italic;}
p.jmsstyle03, li.jmsstyle03, div.jmsstyle03
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        line-height:200%;
        direction:rtl;
        unicode-bidi:embed;
        font-size:12.0pt;
        font-family:"Times New Roman";
        font-weight:bold;
        font-style:italic;}
p.jmsstyle010, li.jmsstyle010, div.jmsstyle010
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:right;
        line-height:200%;
        direction:rtl;
        unicode-bidi:embed;
        font-size:12.0pt;
        font-family:"Times New Roman";
        font-weight:bold;}
p.jmsstyle020, li.jmsstyle020, div.jmsstyle020
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:right;
        line-height:200%;
        direction:rtl;
        unicode-bidi:embed;
        font-size:12.0pt;
        font-family:"Times New Roman";
        font-style:italic;}
p.jmsstyle030, li.jmsstyle030, div.jmsstyle030
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        line-height:200%;
        direction:rtl;
        unicode-bidi:embed;
        font-size:12.0pt;
        font-family:"Times New Roman";
        font-weight:bold;
        font-style:italic;}
span.EmailStyle25
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.EmailStyle26
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle27
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle28
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle29
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle30
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:475951164;
        mso-list-type:hybrid;
        mso-list-template-ids:483134116 67698705 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-text:"%1\)";
        mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-tab-stop:72.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level3
        {mso-level-tab-stop:108.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level4
        {mso-level-tab-stop:144.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level5
        {mso-level-tab-stop:180.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level6
        {mso-level-tab-stop:216.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level7
        {mso-level-tab-stop:252.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level8
        {mso-level-tab-stop:288.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level9
        {mso-level-tab-stop:324.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1 dir=RTL>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'>This sounds like a lot of work and I don't have
much experience yet with the new statistics framework since I've used the old
one until now. I think at this stage I'm not motivated enough to get into this
and I'll try to find a simpler way to put some sensible error bars on the
coherence. If you are planning to implement this anyway at a later stage I
might be interested in contributing.<o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'>Best,<o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><st1:City w:st="on"><st1:place w:st="on"><font size=2 color=navy
  face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>Vladimir</span></font></st1:place></st1:City><font
size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<div>

<div class=MsoNormal align=center dir=LTR style='text-align:center;direction:
ltr;unicode-bidi:embed'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>

<hr size=3 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:
Tahoma;font-weight:bold'>From:</span></font></b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'> <st1:PersonName w:st="on">FieldTrip
 discussion list</st1:PersonName> [mailto:FIELDTRIP@NIC.SURFNET.NL] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Jan Mathijs Schoffelen<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, November 29, 2006
12:01 PM<br>
<b><span style='font-weight:bold'>To:</span></b> FIELDTRIP@NIC.SURFNET.NL<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [FIELDTRIP] Some
issues in freqanalysis</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'>Dear Vladimir,<o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'>You can do it when you create a clever
statfun_blabla. I assume you are familiar with the new statistics-framework in
fieldtrip.<o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'>What you now can do, is to put your reshaped
EMG-fourierdata into your design such that it is “Nvox” (=reshaped
channel*freq*time) x Ntapers (do you use multitapering?).<o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'>Important is to append a row to the design which
specifies the trial-number from which the taper was coming from. I guess you
should then define this row-number as the the corresponding cfg.cvar, or uvar,
or something.<o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'>What your statfun_blabla then should output is
the coherence, computed between the input-data dat (which is the reshaped
MEG-fourierspectra), and the “design”. To this end, I would reshape
the data back into the original TFR-dimensions (there should be a dim in the
cfg which is passed to the statfun), and extract the EMG-data from the design,
which will be shuffled in the taper-dimension when running the randomization,
which is exactly what you want, and write some for-loops around the critical
computation, which involves some cross-spectral density computations, according
to fft1*ctranspose(fft2) and power-spectral density computations, according to
diag(fft1*ctranspose(fft1)). In short, the usual business. Do you have some
handles to proceed?<o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'>Yours,<o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'>Jan-Mathijs<o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<div>

<div class=MsoNormal align=center dir=LTR style='text-align:center;direction:
ltr;unicode-bidi:embed'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:
Tahoma;font-weight:bold'>From:</span></font></b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'> <st1:PersonName w:st="on">FieldTrip
 discussion list</st1:PersonName> [mailto:FIELDTRIP@NIC.SURFNET.NL] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Vladimir Litvak<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, November 29, 2006
11:34 AM<br>
<b><span style='font-weight:bold'>To:</span></b> FIELDTRIP@NIC.SURFNET.NL<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [FIELDTRIP] Some
issues in freqanalysis</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'>Dear Eric and Jan-Mathijs,<o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'>My reference channel is indeed EMG. I thought about
this trial shuffling idea myself over night. It can actually be combined with
clustering in channel/frequency space. Is there a way to do it with the current
version of statistics routines or should it be programmed by hand?<o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'>Thanks,<o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><st1:place w:st="on"><st1:City w:st="on"><font size=2 color=navy
  face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>Vladimir</span></font></st1:City></st1:place><font
size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<div>

<div class=MsoNormal align=center dir=LTR style='text-align:center;direction:
ltr;unicode-bidi:embed'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>

<hr size=3 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:
Tahoma;font-weight:bold'>From:</span></font></b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'> <st1:PersonName w:st="on">FieldTrip
 discussion list</st1:PersonName> [mailto:FIELDTRIP@NIC.SURFNET.NL] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Jan Mathijs Schoffelen<br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, November 28, 2006
10:24 PM<br>
<b><span style='font-weight:bold'>To:</span></b> FIELDTRIP@NIC.SURFNET.NL<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [FIELDTRIP] Some
issues in freqanalysis</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'>Dear Vladimir,<o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'>Regarding the missing functions: you are
absolutely right. The functions will be added to the latest release.<o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'>Regarding the crash: I don’t know what is
happening there, and I do not have any experience with the option biascorrect.
You’ll have to ask Eric about this.<o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'>Does it still crash when you use cfg.biascorrect
= ‘no’? This might already solve your problem. <o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'>cfg.combinechan is a rather obscure option (and
is set to ‘no’ by default) in freqdescriptives which is (as far as
I know) undocumented. It has to do with combining planar gradiometer
representation back into an axial gradiometer representation in order to be
able to compute coherence between sensor-combinations (in their original axial
representation). As a matter of fact, it is an option which has a high ‘don’t
try this at home’-content. At least a correct behavior is not guaranteed.
Anyhow, it should run through even when it is not specified.<o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'>If you want to test coherence against 0, the
jack-knife estimate of the variance is not going to help you too much. Rather,
you could use some kind of Z-transformation as proposed by Jarvis & Mitra
Neural computation 2001, or the Z-transformation that is described in James
Kilner’s papers, or from the <st1:place w:st="on"><st1:City w:st="on">Rosenberg</st1:City></st1:place>
group. In this context, the coherence can be parametrically evaluated.<o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'>Another possibility is using a
‘shiftpredictor’ to estimate the bias, meaning that you shuffle the
trial order of one of the two channels in your channel-combination (only works
when taking fourier as an output of freqanalysis). In my experience this only
works if you use an external reference signal, such as the EMG.<o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'>Hope this gives some handles,<o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'>Jan-Mathijs<o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<div>

<div class=MsoNormal align=center dir=LTR style='text-align:center;direction:
ltr;unicode-bidi:embed'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:
Tahoma;font-weight:bold'>From:</span></font></b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'> <st1:PersonName w:st="on">FieldTrip
 discussion list</st1:PersonName> [mailto:FIELDTRIP@NIC.SURFNET.NL] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Vladimir Litvak<br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, November 28, 2006
8:33 PM<br>
<b><span style='font-weight:bold'>To:</span></b> FIELDTRIP@NIC.SURFNET.NL<br>
<b><span style='font-weight:bold'>Subject:</span></b> [FIELDTRIP] Some issues
in freqanalysis</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Dear
Robert and all,<o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>I'm
writing a new script for analysis of MEG data and I encountered some problems
with FT (I'm using 20061029 version):<o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal dir=LTR style='margin-left:36.0pt;text-align:left;
text-indent:-18.0pt;mso-list:l0 level1 lfo2;direction:ltr;unicode-bidi:embed'><![if !supportLists]><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><span
style='mso-list:Ignore'>1)<font size=1 face="Times New Roman"><span
style='font:7.0pt "Times New Roman"'>     </span></font></span></span></font><![endif]><span
dir=LTR><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>In
freqdescriptives the lines 494 and 515 seem to be redundant and also don't work
and cause a crash.<o:p></o:p></span></font></span></p>

<p class=MsoNormal dir=LTR style='margin-left:36.0pt;text-align:left;
text-indent:-18.0pt;mso-list:l0 level1 lfo2;direction:ltr;unicode-bidi:embed'><![if !supportLists]><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><span
style='mso-list:Ignore'>2)<font size=1 face="Times New Roman"><span
style='font:7.0pt "Times New Roman"'>     </span></font></span></span></font><![endif]><span
dir=LTR><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>there
are some missing functions: <o:p></o:p></span></font></span></p>

<p class=MsoNormal dir=LTR style='margin-left:18.0pt;text-align:left;
direction:ltr;unicode-bidi:embed'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>    
inputlabel2outputlabel called by freqdescriptives, line 234<o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR style='margin-left:18.0pt;text-align:left;
direction:ltr;unicode-bidi:embed'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>    
fourier2crsspctrm called by freqdescriptives, line 290<o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR style='margin-left:18.0pt;text-align:left;
direction:ltr;unicode-bidi:embed'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal dir=LTR style='margin-left:18.0pt;text-align:left;
direction:ltr;unicode-bidi:embed'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal dir=LTR style='margin-left:18.0pt;text-align:left;
direction:ltr;unicode-bidi:embed'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Can you please explain to me what
cfg.combinechan in freqdescriptives does (I'm new to MEG which might explain my
ignorance)?<o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR style='margin-left:18.0pt;text-align:left;
direction:ltr;unicode-bidi:embed'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal dir=LTR style='margin-left:18.0pt;text-align:left;
direction:ltr;unicode-bidi:embed'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Finally, I would like to compute
coherence from data of a single subject with 300 trials and check whether it is
significant (i.e. not random). I don't think I can use any of the nonparametric
stuff because I don't have a baseline. It seems to me that I should use the
jackknife SEMs. How exactly? Should I use the bias correction? Should I take
2*SEM as the threshold?<o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR style='margin-left:18.0pt;text-align:left;
direction:ltr;unicode-bidi:embed'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal dir=LTR style='margin-left:18.0pt;text-align:left;
direction:ltr;unicode-bidi:embed'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Thanks,<o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR style='margin-left:18.0pt;text-align:left;
direction:ltr;unicode-bidi:embed'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal dir=LTR style='margin-left:18.0pt;text-align:left;
direction:ltr;unicode-bidi:embed'><st1:place w:st="on"><st1:City w:st="on"><font
  size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Vladimir</span></font></st1:City></st1:place><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR style='margin-left:18.0pt;text-align:left;
direction:ltr;unicode-bidi:embed'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal dir=LTR style='margin-left:18.0pt;text-align:left;
direction:ltr;unicode-bidi:embed'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> <o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>

</div>

</body>

</html>