Skip to main content

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)

img.png


Check interactive notebook here

Project details


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.1.0.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fastbootstrap-1.1.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file fastbootstrap-1.1.0.tar.gz.

File metadata

  • Download URL: fastbootstrap-1.1.0.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.16

File hashes

Hashes for fastbootstrap-1.1.0.tar.gz
Algorithm Hash digest
SHA256 d4b8401aa848416a56ea5d007edf38d1367050c61330e0f446ce5c2d531e7d5a
MD5 1eb6685ff742bb67f18f19ab6ac81698
BLAKE2b-256 ef369f47e8e6ab59bef1e1faf4d7966bfdded0074e78144b414ca48160a4b2f1

See more details on using hashes here.

File details

Details for the file fastbootstrap-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: fastbootstrap-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.16

File hashes

Hashes for fastbootstrap-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ed06860c218de8891b8602babf10ecc61a429eaf4b232c9e44718dadc4d13b18
MD5 a5e47d473cc54dce768a306a2433b795
BLAKE2b-256 fe0869d13faa5ed5ff37b7e6bc553235acf82ea46bc64b18303fb0705d2ba4ee

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page