trevismd / statannotations

add statistical significance annotations on seaborn plots. Further development of statannot, with bugfixes, new features, and a different API.
Other
624 stars 67 forks source link

Add support for Brunner-Munzel test #52

Closed kidotaka closed 1 year ago

kidotaka commented 2 years ago

https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.brunnermunzel.html

From scipy doc.

The Brunner-Munzel test is a nonparametric test of the null hypothesis that when values are taken one by one from each group, the probabilities of getting large values in both groups are equal. Unlike the Wilcoxon-Mann-Whitney’s U test, this does not require the assumption of equivariance of two groups. Note that this does not assume the distributions are same. This test works on two independent samples, which may have different sizes.

kokyriakidis commented 1 year ago

Upvote. This is the one non-parametric test we should always use.

trevismd commented 1 year ago

Agreed from the start! It is now in the dev branch and will soon be released.

Note that if you need an exact version of it, you can use this other package I authored, and this gist shows how to use it within statannotations.

trevismd commented 1 year ago

It is done :-)