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
Metadata
Release files for bsci 1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bsci-1.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / bsci-1.1-py3-none-any.whl
| Download URL | bsci-1.1-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e4a0aca775d235996ba161854605289a4bc0b9403188f30e1f759105ff095968
|
|
BLAKE2b-256 checksum How to use checksums |
71ead784e274670adfdeb0569798b332cc9eb83965bbc0a30156a16243d3657d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|