Fast Python implementation of statistical bootstrap
Project description
fastbootstrap
Fast Python implementation of statistical bootstrap
Installation
pip install fastbootstrap
Usage
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 = two_sample_bootstrap(sample_1, sample_2, plot=True)
Check interactive notebook here
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 Distribution
fastbootstrap-1.0.13.tar.gz
(8.2 kB
view hashes)
Built Distribution
Close
Hashes for fastbootstrap-1.0.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 682e66d94f916bb888da2a1a8c4224cd42b6d3ce2a64fdadcf5a1bff71b5bf77 |
|
MD5 | 7eaf910c3d8b1a523df574d0bbbf5b1e |
|
BLAKE2b-256 | 2dbebd7845d598589cf0670c400471458d8b21ee42e8ed4bc5f6ecc33e63b052 |