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.18.tar.gz
(8.7 kB
view hashes)
Built Distribution
Close
Hashes for fastbootstrap-1.0.18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de6b2432d494f790bf893b75aa463a05730f253f81d968fafe38f01ce0b8f106 |
|
MD5 | cbf97f26296a7947661a50ce8dfb0756 |
|
BLAKE2b-256 | e860d34197e10f36c8e121c453370fac8bbb22ea08e9f13e1b2e8aedaf7f3a44 |