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, boot_dist = 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.5.tar.gz
(7.9 kB
view hashes)
Built Distribution
Close
Hashes for fastbootstrap-1.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50299d526389a5b3186b97431cb0609895f32ac38748dc8eba8a0e22d99fe5e3 |
|
MD5 | e5a810f19a34e6ad668ad231cf19a718 |
|
BLAKE2b-256 | 1416d64279fb4d3cb6262cb0f775f4fcd3ba9e237f248360900315f35468f0b3 |