ACCLAB / DABEST-python

Data Analysis with Bootstrapped ESTimation
https://acclab.github.io/DABEST-python/
Apache License 2.0
341 stars 47 forks source link

Is it possible to get access to the underlying bootstrap samples generated to obtain the 95% CI for ES? #111

Closed adam2392 closed 3 years ago

adam2392 commented 3 years ago

Hi

I was wondering if it is possible to get programatic access to the underlying bootstrap samples for say the Cohen's D effect size? E.g. to obtain the 5000 samples used to compute the upper-bound and lower-bound of the Cohen's D.

My use case is using this in downstream analyses.

I took a look through the code, but couldn't find any private attributes that might store this. Are the samples thrown out once the dataframe is computed? If so, is it easy to add a "keep_samples" kwarg or something like that?

adam2392 commented 3 years ago

Just kidding, I found it in dabest.<eff_size>.results.bootstraps