maximtrp / scikit-posthocs

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

Is it possible to also return the test statistic instead of only p-values? #41

Closed sandervalstar closed 3 years ago

sandervalstar commented 3 years ago

Hi,

Thank you so much for this useful python package!

As I was running post-hoc tests I noticed the functions in scikit_posthocs only return p-values and do not return the test statistic value. Would it be possible to add that or is there a specific reason you left that out of the results table?

For example, when running Dunn's test using posthoc_dunn, I would like to also see the respective pairwise z test statistic in each cell in the results in table (similarly to the dunn.test R package).

Thank you!

maximtrp commented 3 years ago

Hello! I will add it in one of the future versions. Thank you for suggestion!