[FieldTrip] One-sample T-test with cluster-based statistics at the group-level

Stephen Politzer-Ahles politzerahless at gmail.com
Sat May 11 16:33:07 CEST 2019


As mentioned in one of the previous threads you linked to, it is possible
to hack this test in Fieldtrip by creating a fake dataset where all the
samples are 0, and comparing your real dataset to this one with a paired
t-test. However, as Eric Maris described in one of the threads you linked,
while this hack "works" to get a p-value, there may be conceptual problems
with interpreting it the same way as a permutation test, as it's
debatable/unclear what the null hypothesis is.

---
Stephen Politzer-Ahles
The Hong Kong Polytechnic University
Department of Chinese and Bilingual Studies
http://www.mypolyuweb.hk/~sjpolit/
<http://www.nyu.edu/projects/politzer-ahles/>


On Sat, May 11, 2019 at 6:35 PM <fieldtrip-request at science.ru.nl> wrote:

> Send fieldtrip mailing list submissions to
>         fieldtrip at science.ru.nl
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> or, via email, send a message with subject or body 'help' to
>         fieldtrip-request at science.ru.nl
>
> You can reach the person managing the list at
>         fieldtrip-owner at science.ru.nl
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of fieldtrip digest..."
>
>
> Today's Topics:
>
>    1. One-sample T-test with cluster-based statistics at the
>       group-level (Andrea Brovelli)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 11 May 2019 11:22:38 +0200
> From: Andrea Brovelli <andrea.brovelli at univ-amu.fr>
> To: fieldtrip at science.ru.nl
> Subject: [FieldTrip] One-sample T-test with cluster-based statistics
>         at the group-level
> Message-ID: <b629ed59-d85b-0b70-cec4-32fc4b010efd at univ-amu.fr>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
> Dear all,
>
> I'm sorry to insist on this issue which has largely discussed on the
> mailing list
> (
> https://mailman.science.ru.nl/pipermail/fieldtrip/2018-October/025301.html)
>
> (https://mailman.science.ru.nl/pipermail/fieldtrip/2018-August/012314.html),
>
> but I cannot find an easy way out to perform a one-sample t-test with
> cluster-based statis at the group (or single subject) level using
> Fieldtrip.
>
> As you are probably aware, MNE-python has implemented such test in this
> code
> <
> https://martinos.org/mne/stable/generated/mne.stats.permutation_cluster_1samp_test.html>
>
> starting from the fact that [lines 1182-1186]:
>
> "Because a 1-sample t-test on the difference in observations is
> mathematically equivalent to a paired t-test, internally this function
> computes a 1-sample t-test (by default) and uses sign flipping (always)
> to perform permutations. This might not be suitable for the case where
> there is truly a single observation under test"
>
> Is there a way to "hack" the current version of Fieldtrip to perform
> such test?
>
> Are you planning to implement it in the near future?
>
> Thanks a lot.
>
> Cheers,
>
> Andrea
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20190511/dc364b06/attachment.html
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> fieldtrip mailing list
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> _______________________________________________
> fieldtrip mailing list
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> https://doi.org/10.1371/journal.pcbi.1002202
>
>
> ------------------------------
>
> End of fieldtrip Digest, Vol 102, Issue 17
> ******************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20190511/b996038a/attachment-0002.html>
-------------- next part --------------
_______________________________________________
fieldtrip mailing list
https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
https://doi.org/10.1371/journal.pcbi.1002202


More information about the fieldtrip mailing list