Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a verb to do bootstrap resampling for confidence interval. #1670

Open
SamuelLarkin opened this issue Oct 4, 2024 · 2 comments
Open
Assignees

Comments

@SamuelLarkin
Copy link

Hi,
I would like to suggest a new feature. I would like to be able to do bootstrap resampling to get a confidence interval. You can find an example of how it works here: scipy.stats.bootstrap().

@johnkerl
Copy link
Owner

johnkerl commented Oct 6, 2024

@johnkerl johnkerl self-assigned this Oct 6, 2024
@SamuelLarkin
Copy link
Author

@johnkerl yes I did, but I failed to see how I could sample do confidence interval using bootstrap. I would need to sample 1000 x len(data), group the data in 1000 batches of len(data), perform mean on each batch then do symetric percentile 5%. How to I add the batch id in order to group the data in 1000 batches of len(data)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants