<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Chris,<br>
    <br>
    For getting to grips with the cluster-based permutation framework,
    the best starting point is Eric Maris and Robert Oostenveld's 2007
    Journal of Neuroscience Methods paper ('Nonparametric statistical
    testing of EEG- and MEG-data'). It's designed with cognitive
    neuroscientists (rather than statisticians) in mind so is not too
    daunting a read ;)<br>
    <br>
    Best,<br>
    Tom<br>
    <br>
    <div class="moz-cite-prefix">On 12/8/2014 9:55 AM, Dr C A Brown
      wrote:<br>
    </div>
    <blockquote cite="mid:E1Xxu6Q-0000iE-kP@ppsw-40.csi.cam.ac.uk"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <div style="font-size: 12pt; font-family: Calibri,sans-serif;">
        <div>Hi Tom</div>
        <div><br>
        </div>
        <div>Great! That would be really helpful, thank you. I'm still
          learning fieldtrip so it be interesting to see how it works.
          The ft_statistics_montecarlo function implies that a custom
          statistic of choice can be used but I haven't looked deep
          enough into the function yet to get a could understanding of
          it.</div>
        <div><br>
        </div>
        <div>If anything publishable comes out of it I can acknowledge
          you if you wish?</div>
        <div><br>
        </div>
        <div>Best wishes</div>
        <div>Chris </div>
        <div><br>
        </div>
        <div>Dr Christopher Brown</div>
        <div>Research Associate</div>
        <div><br>
        </div>
        <div>Sent from a mobile device, please excuse my brevity.</div>
        <br>
        <div id="htc_header">----- Reply message -----<br>
          From: "Marshall, T.R. (Tom)"
          <a class="moz-txt-link-rfc2396E" href="mailto:t.marshall@fcdonders.ru.nl"><t.marshall@fcdonders.ru.nl></a><br>
          To: "FieldTrip discussion list"
          <a class="moz-txt-link-rfc2396E" href="mailto:fieldtrip@science.ru.nl"><fieldtrip@science.ru.nl></a><br>
          Subject: [FieldTrip] Cluster analysis on correlation
          statistics<br>
          Date: Sat, Dec 6, 2014 15:33</div>
      </div>
      <br>
      <pre style="word-wrap: break-word; white-space: pre-wrap;">Hi Chris,

I wrote some functions for doing this a while ago and would be happy to share them.

Re: t stat vs r - as I understand it you can permute any statistic you want, it doesn't have to be a t or f. The montecarlo method for solving the multiple comparisons problem is not dependent on your choice of statistic (right guys?).

Best,
Tom
________________________________________
From: <a class="moz-txt-link-abbreviated" href="mailto:fieldtrip-bounces@science.ru.nl">fieldtrip-bounces@science.ru.nl</a> [<a class="moz-txt-link-abbreviated" href="mailto:fieldtrip-bounces@science.ru.nl">fieldtrip-bounces@science.ru.nl</a>] on behalf of Dr C A Brown [<a class="moz-txt-link-abbreviated" href="mailto:cb802@cam.ac.uk">cb802@cam.ac.uk</a>]
Sent: 06 December 2014 12:33
To: <a class="moz-txt-link-abbreviated" href="mailto:fieldtrip@science.ru.nl">fieldtrip@science.ru.nl</a>
Subject: Re: [FieldTrip]        Cluster analysis on correlation statistics

Hello again,

Just to clarify my last email: I'm referring to correlation between either single trial data within subject, or averaged ERPs across subjects, with a behavioral variable. Not linear regression across conditions as is already implemented in the ft_statfun_depsamplesregrT function.

Many thanks
Chris

Dr Christopher Brown
Research Associate

Sent from a mobile device, please excuse my brevity.

----- Reply message -----
From: "Christopher Brown" <a class="moz-txt-link-rfc2396E" href="mailto:cb802@cam.ac.uk"><cb802@cam.ac.uk></a>
To: <a class="moz-txt-link-rfc2396E" href="mailto:fieldtrip@science.ru.nl"><fieldtrip@science.ru.nl></a>
Subject: Cluster analysis on correlation statistics
Date: Sat, Dec 6, 2014 07:49


Dear all

I would like to use the cluster analysis functions in Fieldtrip on correlation statistics. I note there has been some discussion about this on this list in the past but I haven't come across the necessary ft_statfun_corr function to allow this analysis. It would be great if somebody has this code and could share it with me; otherwise, I will embark on writing it myself and sharing my results with everyone for feedback. Being new to Fieldtrip I would greatly appreciate any collaborative help with this. May I check my understanding on something before getting started: To allow for multiple comparisons correction using monte carlo for example, as part of a cluster analysis, I presume the output of the function must be t values rather than correlation coefficients? Any other hints as to how to write this are most welcome.

Kind regards

Chris

--

Dr Christopher Brown
Research Associate | CamPain Group | Division of Anaesthesia | School of Clinical Medicine | University of Cambridge

Box 93
Addenbrooke's Hospital
Hills Road
Cambridge CB2 0QQ

01223 256 995


_______________________________________________
fieldtrip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a>
<a moz-do-not-send="true" href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a>
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
fieldtrip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a>
<a class="moz-txt-link-freetext" href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a></pre>
    </blockquote>
    <br>
  </body>
</html>