Skip to main content

Tools for randomization-based inference in Python

Project description

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: resample-1.0.1.tar.gz
  • Upload date:
  • Size: 10.9 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.1.tar.gz
Algorithm Hash digest
SHA256 f4f7eec3ba3316e7f573582ef36afc936fb9090b33b14b024981fa26ea2aad60
MD5 dcd96b4a668d74e659d16baebfec97d3
BLAKE2b-256 ae32f316b2558a7dd2c6e049d3280dc0276447be202ac6a2b3bf9ae446ce064f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: resample-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c317da2a58e83ef54e603145ef72614c6cc47545cd97555c3fe4cff880204b25
MD5 01f0afb43a2833a563a2186804d831ae
BLAKE2b-256 74497b5171c7c6680f951e9c7038c358973c0061c576e70df9ab8b2172ff2ee8

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