sign of the T-values in permutation_cluster_test

External Email - Use Caution

Dear MNE community,

I'm using permutation_cluster_test for 2 sample cluster-based tests. I'm quite surprised because I always get positive T-values, even when I expect negative ones. Reversing the order of the 2 arrays (one for each group) yields exactly the same result. Is this normal ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200507/24a3e822/attachment.html

External Email - Use Caution

What `stat_fun` are you using? The default (f_oneway / ANOVA) will always
give a positive F value. Maybe you want to use `ttest_ind_no_p` that was
recently added here?

https://github.com/mne-tools/mne-python/pull/7686

Eric