Skip to main content

Tools for randomization-based inference in Python

Project description

resample

Description

resample provides a set of tools for performing nonparametric statistical inference in Python, primarily through the use of randomization tests and bootstrapping methods. See the example notebook for a brief tutorial.

Features

  • Bootstrap samples (ordinary or balanced, both with optional stratification) of arrays with arbitrary dimension
  • 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.3.tar.gz (5.6 kB view hashes)

Uploaded Source

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