Metadata-Version: 2.1
Name: fastbootstrap
Version: 1.0.9
Summary: Fast Python implementation of statistical bootstrap
Home-page: https://github.com/timofeytkachenko/fastbootstrap
Author: Timofey Tkachenko
Author-email: timofey_tkachenko@pm.me
Keywords: bootstrap fast_bootstrap
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: jupyter (==1.0.0)
Requires-Dist: ipython (==8.21.0)
Requires-Dist: matplotlib (==3.8.3)
Requires-Dist: plotly (==5.19.0)
Requires-Dist: numpy (==1.26.4)
Requires-Dist: scipy (==1.12.0)
Requires-Dist: pandas (==2.2.0)
Requires-Dist: tqdm (==4.66.2)

# fastbootstrap
Fast Python implementation of statistical bootstrap
___
## Installation
```bash
pip install fastbootstrap
```
___
## Usage
```python
import numpy as np
from fastbootstrap.bootstrap import two_sample_bootstrap

n = 10000

sample_1 = np.random.exponential(scale=1 / 0.001, size=n)
sample_2 = np.random.exponential(scale=1 / 0.00101, size=n)

p_value, boot_mean, boot_conf_interval, boot_dist = two_sample_bootstrap(sample_1, sample_2, plot=True)
```
![img.png](img.png)
___
Check interactive notebook [here](https://nbviewer.org/github/timofeytkachenko/bootstrap/blob/main/bootstrap_experiment.ipynb)
