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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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