Skip to main content

Automatically store/load data in a tidy, efficient way.

Project description

PhD-utils

For people that have to compute and store a large variety of data and/or perform statistical inference.

Keep your files tidy!

Don't spend time creating directories, deciding filenames, saving, loading, etc. Decorators savefig & savedata will do it for you with optimal compression. More info at the tidypath repository.

Estimate confidence intervals

The module utils.resample allows calls to the resample R package.

  • Provides CI and permutation tests.
  • CIs can account narrowness bias, skewness and other errors in CI estimation, as indicated in the article

Numba-accelerated permutation tests

Subpackage utils.stats.tests.permutation.

  • Faster permutation tests for the means and medians.
  • Includes paired and block-paired cases.
  • Schemes for adding other statistics in a numba-compatible way: _permutation_test_2sample_paired, _permutation_test_2sample_paired_block and _permutation_test_2sample_not_paired functions.

Demo

Please check the example notebook.

Documentation

Github pages

Install

  • For the R compatible installation first install R:

    conda install -c conda-forge r r-essentials r-base

  • Install with dependencies:

    pip install phdu[dependencies]

    Where dependencies can be all (recommended), r (needed for resample to work), statsmodels, matplotlib or plotly.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

phdu-1.2b22.tar.gz (37.3 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