A small collection of lesser-known statistical measures
MIT License
CI/CD | |
Security | |
Package | |
Meta |
obscure_stats
is a small Python package that includes a lot of useful but lesser-known statistical functions and builds on top of numpy
and scipy
.
obscure_stats/central_tendency
:
obscure_stats/dispersion
:
obscure_stats/skewness
:
obscure_stats/kurtosis
:
obscure_stats/association
:
obscure_stats/variation
:
>>> pip install obscure_stats
>>> from obscure_stats.central_tendency import standard_trimmed_harrell_davis_quantile
>>> from obscure_stats.dispersion import standard_quantile_absolute_deviation
>>> data = [1.83, 1.01, 100.12, 1.20, 0.99, 0.87, 1.13, 100.01, 0.75, 1.03]
>>> central_tendency = standard_trimmed_harrell_davis_quantile(data)
>>> dispersion = standard_quantile_absolute_deviation(data)
>>> print(f"Robust measure of central tendency = {central_tendency:.2f}±{dispersion:.2f}")
Out[1]:
Robust measure of central tendency = 1.09±0.42
Code of Conduct for this project can be found here.
Contribution guidelines for this project can be found here.
Security Policy for this project can be found here.
The content of this repository is licensed under a MIT license.
This repository bundles several libraries that are compatibly licensed. A full list can be found here.