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.2.4.tar.gz
(11.1 kB
view details)
File details
Details for the file fastbootstrap-1.2.4.tar.gz.
File metadata
- Download URL: fastbootstrap-1.2.4.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5f8c99558da84fcef26ec9d5189eccce09009d7a5d903c500c7f025efd6740f
|
|
| MD5 |
37a5022143e0b6331039162986104742
|
|
| BLAKE2b-256 |
b7b7abb61e427a4b88501a17e8a36d6c9254af5e601f6033c423b0f53fc027d5
|