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. See the example notebook for a brief tutorial.

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, BCA and Studentized) for any well-defined parameter
  • Randomization-based variants of traditional statistical tests (t-test, ANOVA F-test, K-S test, etc.)
  • Tools for working with empirical distributions (empirical cumulative distribution and quantile functions, distance metrics for comparing distributions)

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

Uploaded Source

File details

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

File metadata

  • Download URL: resample-0.1.31.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.5

File hashes

Hashes for resample-0.1.31.tar.gz
Algorithm Hash digest
SHA256 4be3941a963622dd25956b8a317d95eae79eb6fd3bbdd7df3b59a7d5db299503
MD5 af26fe4bdbcb88df03b6c6e95581f4d2
BLAKE2b-256 5378c02a80e7e4953b11492516476c65390b820d82332b53ec06bc006a9dd386

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