Skip to main content

Constructing frequentist confidence intervals using the statistical bootstrap

Project description

Bootstrapped Confidence Intervals (bsci)

License codecov codestyle

A frequentist approach to construct confidence intervals by sampling with replacement.

The statistical boostrap method was first introduced by B. Efron, "Bootstrap methods: another look at the jackknife", Annals of Statistics, 1979, link to pdf.
These lecture notes provide a nice entry-level introduction. More references are given in the code.

Citing

If you use code or ideas from this repository for your projects or research, please cite it.

@misc{Muratore_bsci,
  author = {Fabio Muratore},
  title = {bsci - Constructing frequentist confidence intervals using the statistical bootstrap},
  year = {2021},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\url{https://github.com/famura/bsci}}
}

Installation

To install the core part of the package run

pip install bsci

For (local) development install the dependencies with

pip install -e .[dev]

Getting Started

Play around with the model's parameters in the demo.py script

cd examples
python demo.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

bsci-1.1-py3-none-any.whl (6.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page