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.8.tar.gz
(7.8 kB
view hashes)
Built Distribution
Close
Hashes for fastbootstrap-1.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b384f1000edaa568775133f38ef574f991cdc1977b5a8677bc2e00054c3bc22 |
|
MD5 | 2ca8a7558905454935e62ea0c6cfacb6 |
|
BLAKE2b-256 | c8af455e444fd58b0f3b02e32221af8a197806170670c82988b129d7e6bf2d66 |