Constructing frequentist confidence intervals using the statistical bootstrap
Project description
Bootstrapped Confidence Intervals (bsci)
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4a0aca775d235996ba161854605289a4bc0b9403188f30e1f759105ff095968 |
|
MD5 | 6041ece322a6bf65f2f9a28007633067 |
|
BLAKE2b-256 | 71ead784e274670adfdeb0569798b332cc9eb83965bbc0a30156a16243d3657d |