Skip to main content

Tools for randomization-based inference in Python

Project description

Build Status

resample

Description

resample provides a set of tools for performing randomization-based inference in Python, primarily through the use of bootstrapping methods and Monte Carlo permutation tests. Documentation can be found on Read the Docs.

Features

  • Bootstrap samples (ordinary or balanced, both with optional stratification) of arrays with arbitrary dimension
  • Parametric bootstrap samples (Gaussian, Poisson, gamma, etc.) of one-dimensional arrays
  • Bootstrap confidence intervals (percentile or BCa) for any well-defined parameter
  • Jackknife estimates of bias and variance
  • Randomization-based variants of traditional statistical tests (t-test, ANOVA F-test, K-S test, etc.)
  • Tools for working with empirical distributions (cumulative distribution, quantile, and influence functions)

Dependencies

Installation requires numpy and scipy.

Installation

The latest release can be installed from PyPI:

pip install resample

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

resample-1.0.0.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

resample-1.0.0-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file resample-1.0.0.tar.gz.

File metadata

  • Download URL: resample-1.0.0.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for resample-1.0.0.tar.gz
Algorithm Hash digest
SHA256 70fe840ec7c97a38151af92d742da4de06ee25e15f62e8974419a87c12e6fb48
MD5 84ed4f7933ba3178f29b2ff770beeb6a
BLAKE2b-256 1e401b828b0cff3b56d5369e07ac2308287d8ed10135d9af472c864f4477f33a

See more details on using hashes here.

File details

Details for the file resample-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: resample-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 11.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for resample-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d3b018ea7f46c0a5bd51973632fa8f8a9a34d0b1f211760e91efd1589ce049ea
MD5 5d9fabcffd62471d86b0d404aa4a1406
BLAKE2b-256 23dbaa6ba7bce83f4f84c357125f77927826fb51166415c3d7917811569af5e6

See more details on using hashes here.

Supported by

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