You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

phdu

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

phdu

Automatically store/load data in a tidy, efficient way. Includes functions for data visualization and analysis.

3.0.2
pipPyPI
Maintainers
1

PhD-utils

For people that have to compute and store a large variety of data and/or perform statistical inference. Check the tidypath and PhD-utils slides for an overview.

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 phdu.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
  • Alternatively, use phdu.stats.bootstrap for numba-accelerated computation (does not call resample).

Bootstrap-based power analysis.

Calculate the power for accepting H0 and estimate the needed sample size. Function power_analysis in phdu.stats.bootstrap follows Efron-Tshibirani: An introduction to the bootstrap, p. 381-384.

Numba-accelerated permutation tests

Module phdu.stats.tests.permutation.

  • Permutation tests for any statistic.
  • Includes paired and block cases.

Demo

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 base (recommended), all, r (needed for resample to work), statsmodels, matplotlib or plotly.

Keywords

science

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts