phdu


Namephdu JSON
Version 2.3.7 PyPI version JSON
download
home_pagehttps://github.com/medinajorge/PhD-utils
SummaryAutomatically store/load data in a tidy, efficient way. Includes functions for data visualization and analysis.
upload_time2024-04-09 08:40:41
maintainerNone
docs_urlNone
authorJorge Medina Hernández
requires_python>=3
licenseNone
keywords science statistics tidy project organization project organization path storage
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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](https://github.com/medinajorge/tidypath).

## Estimate confidence intervals
The module `phdu.resample` allows calls to the `resample` [R package](https://cran.r-project.org/web/packages/resample/resample.pdf).
- Provides CI and permutation tests.
- CIs can account narrowness bias, skewness and other errors in CI estimation, as indicated in the [article](https://arxiv.org/abs/1411.5279)
- 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
Please check the [example notebook](https://github.com/medinajorge/PhD-utils/blob/master/tests/Example.ipynb).

## Documentation
[Github pages](https://medinajorge.github.io/PhD-utils/phdu.html)

## 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`.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/medinajorge/PhD-utils",
    "name": "phdu",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3",
    "maintainer_email": null,
    "keywords": "science, statistics, tidy, project organization, project, organization, path, storage",
    "author": "Jorge Medina Hern\u00e1ndez",
    "author_email": "medinahdezjorge@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/b5/e3/2b67297c9d934206efa9a3517b1fbdf93c914fe37fd0c86d02813d2f0566/phdu-2.3.7.tar.gz",
    "platform": null,
    "description": "# PhD-utils\n\nFor people that have to compute and store a large variety of data and/or perform statistical inference.\n\n## Keep your files tidy!\n\nDon'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](https://github.com/medinajorge/tidypath).\n\n## Estimate confidence intervals\nThe module `phdu.resample` allows calls to the `resample` [R package](https://cran.r-project.org/web/packages/resample/resample.pdf).\n- Provides CI and permutation tests.\n- CIs can account narrowness bias, skewness and other errors in CI estimation, as indicated in the [article](https://arxiv.org/abs/1411.5279)\n- Alternatively, use `phdu.stats.bootstrap` for numba-accelerated computation (does not call `resample`).\n\n## Bootstrap-based power analysis.\nCalculate the power for accepting H0 and estimate the needed sample size.\nFunction `power_analysis` in `phdu.stats.bootstrap` follows Efron-Tshibirani: An introduction to the bootstrap,  p. 381-384.\n\n## Numba-accelerated permutation tests\nModule `phdu.stats.tests.permutation`. \n- Permutation tests for any statistic. \n- Includes paired and block cases.\n\n## Demo\nPlease check the [example notebook](https://github.com/medinajorge/PhD-utils/blob/master/tests/Example.ipynb).\n\n## Documentation\n[Github pages](https://medinajorge.github.io/PhD-utils/phdu.html)\n\n## Install\n- For the R compatible installation first install R:\n\n  ```conda install -c conda-forge r r-essentials r-base```\n  \n- Install with dependencies:\n\n  ```pip install phdu[dependencies]```\n  \n  Where `dependencies` can be `base` (recommended), `all`, `r` (needed for `resample` to work), `statsmodels`, `matplotlib` or `plotly`.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Automatically store/load data in a tidy, efficient way. Includes functions for data visualization and analysis.",
    "version": "2.3.7",
    "project_urls": {
        "Download": "https://github.com/medinajorge/PhD-utils/archive/refs/tags/v1.5-beta.tar.gz",
        "Homepage": "https://github.com/medinajorge/PhD-utils"
    },
    "split_keywords": [
        "science",
        " statistics",
        " tidy",
        " project organization",
        " project",
        " organization",
        " path",
        " storage"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b5e32b67297c9d934206efa9a3517b1fbdf93c914fe37fd0c86d02813d2f0566",
                "md5": "c2b1ecfdb890cfd0ff60dce9bf57db34",
                "sha256": "253ad030e458630728353383c67599d0354f35826307d36ffdbb72a988b1e69d"
            },
            "downloads": -1,
            "filename": "phdu-2.3.7.tar.gz",
            "has_sig": false,
            "md5_digest": "c2b1ecfdb890cfd0ff60dce9bf57db34",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3",
            "size": 51485,
            "upload_time": "2024-04-09T08:40:41",
            "upload_time_iso_8601": "2024-04-09T08:40:41.559477Z",
            "url": "https://files.pythonhosted.org/packages/b5/e3/2b67297c9d934206efa9a3517b1fbdf93c914fe37fd0c86d02813d2f0566/phdu-2.3.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-09 08:40:41",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "medinajorge",
    "github_project": "PhD-utils",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "phdu"
}
        
Elapsed time: 0.22937s