HNHacker News
TopNewBestAskShowJobs

spencebeecher

8 karma · joined April 7, 2016

submissionscomments
spencebeecher··on Bootstrapped – A Python library to generate confidence intervals
Thanks for the feedback - happy hacking =)
spencebeecher··on Bootstrapped – A Python library to generate confidence intervals
Yep! You are right. I don't think it is a huge disparity but I would like to implement the pivotal/empirical bootstrap instead. The change is just a few lines of code.
spencebeecher··on Bootstrapped – A Python library to generate confidence intervals
Completely agree it is easy. Doing it quickly (for Python) is what this is optimized for. We would love a contribution if you have a method for resampling + percentiles that beats numpy.
spencebeecher··on Bootstrapped – A Python library to generate confidence intervals
John, you are a true wizard. I admire you & will work to incorporate your feedback (gathered offline) into the library =)

Thanks for the feedback!

spencebeecher··on Bootstrapped – A Python library to generate confidence intervals
I agree with you! Pandas is only used in the power analysis code (which also has matplotlib for plotting). The best thing would be to pair this down. We would gladly take contributions - i think the path forward on this feedback is clear but will take a little code =)

Most of the important stuff is just numpy which i feel is pretty fair for most peeps.

spencebeecher··on Bootstrapped – A Python library to generate confidence intervals
<3
spencebeecher··on Bootstrapped – A Python library to generate confidence intervals
Excellent q - we intend to add in other options as we go. Pivotal being one. Id also like to add in permutation tests. If you have ideas we welcome diffs =)
spencebeecher··on Bootstrapped – A Python library to generate confidence intervals
Thanks for the feedback!

numpy is used to give a speed improvement when generating the bootstrap samples - this would be very slow in a Python for loop.

Pandas is only used in the power analysis code. Ill make that more clear.

Would love more feedback if you have it!

spencebeecher··on Bootstrapped – A Python library to generate confidence intervals
That uses the BCa method which in some situations is better.

This library gives you a/b test functionality and should be faster on large input datasets.

spencebeecher··on Bootstrapped – A Python library to generate confidence intervals
Thanks for the feedback Petters! I agree in principle. I am familiar with that method. The use case for this is for situations where you have large initial sample counts (so the correction should be less important, we do throw warnings when the initial sample counts are low). We also provide tools to check power (I'll commit an example of this later today).

Also - I gladly accept diffs if you are motivated. It is not clear to me that BCa and other variants provide substantial improvement for most practical situations. I would invite criticism here.

Tldr - thanks for the feedback