<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Thank you, Eric. Would then make sense to add all the trials (from all subjects) from condition1 in one set, and all the trials (from all subjects) from condition2 in a second set, and run this Montecarlo simulation (the same way I was talking about to compare) those two conditions?<div>Thanks again,</div><div>Ana<br><br><div>
<h4 align="left"><font face="Garamond, Times, Serif" color="#9933cc"></font> </h4><pre> </pre></div><br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">From: e.maris@psych.ru.nl<br>To: fieldtrip@science.ru.nl<br>Date: Wed, 10 Apr 2013 09:21:28 +0200<br>Subject: Re: [FieldTrip] Nonparametric statistical testing of phase coherence<br><br><style><!--
.ExternalClass .ecxshape {
}
--></style><style><!--
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal {
font-size:12.0pt;
font-family:"Times New Roman","serif";
}
.ExternalClass h4 {
font-size:12.0pt;
font-family:"Times New Roman","serif";
font-weight:bold;
}
.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink {
color:blue;
text-decoration:underline;
}
.ExternalClass span.ecxMsoHyperlinkFollowed {
color:purple;
text-decoration:underline;
}
.ExternalClass p {
font-size:12.0pt;
font-family:"Times New Roman","serif";
}
.ExternalClass pre {
font-size:10.0pt;
font-family:"Courier New";
}
.ExternalClass p.ecxMsoAcetate, .ExternalClass li.ecxMsoAcetate, .ExternalClass div.ecxMsoAcetate {
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
}
.ExternalClass span.ecxHeading4Char {
font-family:"Cambria","serif";
color:#4F81BD;
font-weight:bold;
font-style:italic;
}
.ExternalClass span.ecxHTMLPreformattedChar {
font-family:Consolas;
}
.ExternalClass p.ecxmsonormal, .ExternalClass li.ecxmsonormal, .ExternalClass div.ecxmsonormal {
font-size:12.0pt;
font-family:"Times New Roman","serif";
}
.ExternalClass p.ecxmsochpdefault, .ExternalClass li.ecxmsochpdefault, .ExternalClass div.ecxmsochpdefault {
font-size:12.0pt;
font-family:"Times New Roman","serif";
}
.ExternalClass span.ecxmsohyperlink {
}
.ExternalClass span.ecxmsohyperlinkfollowed {
}
.ExternalClass span.ecxhtmlpreformattedchar {
}
.ExternalClass span.ecxemailstyle20 {
}
.ExternalClass p.ecxmsonormal1, .ExternalClass li.ecxmsonormal1, .ExternalClass div.ecxmsonormal1 {
font-size:12.0pt;
font-family:"Times New Roman","serif";
}
.ExternalClass span.ecxmsohyperlink1 {
color:blue;
text-decoration:underline;
}
.ExternalClass span.ecxmsohyperlinkfollowed1 {
color:purple;
text-decoration:underline;
}
.ExternalClass span.ecxhtmlpreformattedchar1 {
font-family:Consolas;
}
.ExternalClass span.ecxemailstyle201 {
font-family:"Verdana","sans-serif";
color:#1F497D;
}
.ExternalClass p.ecxmsochpdefault1, .ExternalClass li.ecxmsochpdefault1, .ExternalClass div.ecxmsochpdefault1 {
font-size:10.0pt;
font-family:"Times New Roman","serif";
}
.ExternalClass span.ecxBalloonTextChar {
font-family:"Tahoma","sans-serif";
}
.ExternalClass span.ecxEmailStyle35 {
font-family:"Verdana","sans-serif";
color:#1F497D;
}
.ExternalClass .ecxMsoChpDefault {
font-size:10.0pt;
}
.ExternalClass div.ecxWordSection1 {
}
--></style><div class="ecxWordSection1"><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#1F497D;">Hi Ana,</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#1F497D;"> </span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#1F497D;">Yes, this is correct.</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#1F497D;"> </span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#1F497D;">Eric Maris</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#1F497D;"> </span></p><div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt;"><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm;"><p class="ecxMsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";"> Ana Navarro Cebrian [mailto:sabato45@hotmail.com] <br><b>Sent:</b> dinsdag 9 april 2013 19:57<br><b>To:</b> FieldTrip discussion list<br><b>Subject:</b> Re: [FieldTrip] Nonparametric statistical testing of phase coherence</span></p></div></div><p class="ecxMsoNormal"> </p><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">Hi Maris,</span></p><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">thank you for your response.</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">I think my question wasn't clear. Let me rephrase it. I'd like to apply the </span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">montecarlo approach that you explain in Maris et al., because I have</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">two conditions (errors vs correct responses) with a huge difference in the number </span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">of trials. In this case, I understand that I have to apply the montercarlo simulation</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">across trials to find out whether condition 1 is different from condition 2 independently </span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">of their different number of trials.</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">If that's correct, my question is, do I get a p-value from this procedure? </span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">If so, after performing the same analysis for each subject independently, </span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">I'll end up with a p-value for each subject. Is that correct?</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">I'm sorry if I'm not understanding something basic.</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">I really appreciate your help.</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">Ana </span></p></div><div><p class="ecxMsoNormal" style=""><span style="font-family:"Calibri","sans-serif";"> </span></p><div><h4><span style="font-family:"Calibri","sans-serif";"> </span></h4><pre> </pre></div><p class="ecxMsoNormal" style=""><span style="font-family:"Calibri","sans-serif";"> </span></p><div><div class="ecxMsoNormal" align="center" style="text-align:center;"><span style="font-family:"Calibri","sans-serif";"><hr size="3" width="100%" align="center" id="ecxstopSpelling"></span></div><p class="ecxMsoNormal" style=""><span style="font-family:"Calibri","sans-serif";">From: <a href="mailto:e.maris@psych.ru.nl">e.maris@psych.ru.nl</a><br>To: <a href="mailto:fieldtrip@science.ru.nl">fieldtrip@science.ru.nl</a><br>Date: Tue, 9 Apr 2013 12:09:03 +0200<br>Subject: Re: [FieldTrip] Nonparametric statistical testing of phase coherence</span></p><div><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#1F497D;">Hi Ana,</span><span style="font-family:"Calibri","sans-serif";"></span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#1F497D;"> </span><span style="font-family:"Calibri","sans-serif";"></span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#1F497D;">To compare coherence between conditions across subjects (instead of trials), you need a different statfun: depsamplesT (for a within-subjects design; subjects have participated in all conditions) or indepsamplesT (for a between-subjects design; subjects have participated in only one condition). Typically, this type of test is performed using power as the dependent variable, but exactly the same test is used for comparing coherence in a multiple-subject study. However, you will have to specify the cfg.parameter field when calling ft_freqstatistics such that it points to the data field that contains your coherence data (importantly, for a given reference channel).</span><span style="font-family:"Calibri","sans-serif";"></span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#1F497D;"> </span><span style="font-family:"Calibri","sans-serif";"></span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#1F497D;">Good luck,</span><span style="font-family:"Calibri","sans-serif";"></span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#1F497D;"> </span><span style="font-family:"Calibri","sans-serif";"></span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#1F497D;">Eric Maris </span><span style="font-family:"Calibri","sans-serif";"></span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#1F497D;"> </span><span style="font-family:"Calibri","sans-serif";"></span></p><div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt;"><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm;"><p class="ecxMsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";"> Ana Navarro Cebrian [<a href="mailto:sabato45@hotmail.com">mailto:sabato45@hotmail.com</a>] <br><b>Sent:</b> vrijdag 5 april 2013 23:56<br><b>To:</b> <a href="mailto:fieldtrip@science.ru.nl">fieldtrip@science.ru.nl</a><br><b>Subject:</b> [FieldTrip] Nonparametric statistical testing of phase coherence</span><span style="font-family:"Calibri","sans-serif";"></span></p></div></div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"> </span></p><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"><br>Hello everybody,</span></p><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">I'd like to use the test proposed in Maris et al., 2007 (that I believe is implemented in statistics_montecarlo.m?). </span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">I'm calculating the difference in phase coherence between two conditions. The problem is that one condition has much less trials than the other, so I imagine the Montecarlo simulation would need to be across trials, in which case, I'd end up with a p-value for each individual subject, right? I'm not sure then how to apply this across subjects. The Maris et al. paper is very clear, but it only explains single subject analysis. </span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">I hope that makes any sense. I appreciate any help.</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">Thanks,</span></p></div><div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";">Ana </span></p></div><div><pre> </pre></div></div></div></div><p class="ecxMsoNormal"><span style="font-family:"Calibri","sans-serif";"><br>_______________________________________________ fieldtrip mailing list <a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a> <a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a></span></p></div></div></div></div></div><br>_______________________________________________
fieldtrip mailing list
fieldtrip@donders.ru.nl
http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</div></div> </div></body>
</html>