DABEST is a package that performs estimation statistics available on Python and R. With Jupyter Notebook you can try DABEST-Python.
import pandas as pdimport dabestfrom palmerpenguins import load_penguins
penguins = load_penguins() # if you had trouble installing the package, you can also read in the data from the csv file by uncommenting the line below.# penguins = pd.read_csv("penguins.csv")
DABEST v2023.02.14
==================
Good evening!
The current time is Thu Oct 19 12:57:27 2023.
The unpaired mean difference between Adelie and Chinstrap is 10.0 [95%CI 9.14, 10.9].
The p-value of the two-sided permutation t-test is 0.0, calculated for legacy purposes only.
The unpaired mean difference between Adelie and Gentoo is 8.71 [95%CI 8.03, 9.41].
The p-value of the two-sided permutation t-test is 0.0, calculated for legacy purposes only.
5000 bootstrap samples were taken; the confidence interval is bias-corrected and accelerated.
Any p-value reported is the probability of observing theeffect size (or greater),
assuming the null hypothesis ofzero difference is true.
For each p-value, 5000 reshuffles of the control and test labels were performed.
To get the results of all valid statistical tests, use `.mean_diff.statistical_tests`
/Applications/anaconda3/envs/dabest/lib/python3.9/site-packages/dabest/plotter.py:473: FutureWarning: Passing `palette` without assigning `hue` is deprecated.
rawdata_plot = sns.swarmplot(data=plot_data, x=xvar, y=yvar,
/Applications/anaconda3/envs/dabest/lib/python3.9/site-packages/dabest/plotter.py:563: UserWarning: FixedFormatter should only be used together with FixedLocator
rawdata_axes.set_xticklabels(ticks_with_counts)