[Mne_analysis] Using 'ttest_ind_no_p' as stat_fun in permutation_cluster_test

Eric Larson larson.eric.d at gmail.com
Tue Mar 8 07:34:10 EST 2022
Search archives:

        External Email - Use Caution        

>
> def stat_fun(*args):
>       return mne.stats.ttest_ind_no_p(args, equal_var=True, sigma=0.0)
>

I think if you change this to:

def stat_fun(x, y):
>       return mne.stats.ttest_ind_no_p(x, y, equal_var=True, sigma=0.0)
>

It should work.

 Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20220308/c36fb609/attachment-0001.html 


More information about the Mne_analysis mailing list