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

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file bsci-1.1-py3-none-any.whl.

File metadata

  • Download URL: bsci-1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.10

File hashes

Hashes for bsci-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e4a0aca775d235996ba161854605289a4bc0b9403188f30e1f759105ff095968
MD5 6041ece322a6bf65f2f9a28007633067
BLAKE2b-256 71ead784e274670adfdeb0569798b332cc9eb83965bbc0a30156a16243d3657d

See more details on using hashes here.

Supported by

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