maximtrp / scikit-posthocs

Multiple Pairwise Comparisons (Post Hoc) Tests in Python
https://scikit-posthocs.rtfd.io
MIT License
346 stars 40 forks source link

add method argument in posthoc_wilcoxon #67

Closed YongcaiHuang closed 8 months ago

YongcaiHuang commented 8 months ago

add method argument in posthoc_wilcoxon. the current function has no method argument to control how to calculate the p-value. Although Scipy default is auto, there are warnings like: UserWarning: Exact p-value calculation does not work if there are zeros. Switching to normal approximation. when set method as "approx", no warning shows and p values are slightly changed (may be more accurate)

method{“auto”, “exact”, “approx”}, optional Method to calculate the p-value, see Notes. Default is “auto”.