obscure_stats
A small collection of lesser-known statistical measures
Science Score: 67.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 3 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.8%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
A small collection of lesser-known statistical measures
Basic Info
Statistics
- Stars: 42
- Watchers: 1
- Forks: 5
- Open Issues: 0
- Releases: 19
Topics
Metadata Files
README.md
obscure_stats
| | |
| --- | --- |
| CI/CD |
|
| Security |
|
| Package |
|
| Meta |
Highlights:
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.
Current API list
- Collection of measures of central tendency -
obscure_stats.central_tendency:- Contraharmonic Mean -
contraharmonic_mean; - Gastwirth's Location -
gastwirth_location; - Grenander's Mode -
grenanders_m; - Half-Sample Mode -
half_sample_mode; - Hodges-Lehmann-Sen Location -
hodges_lehmann_sen_location; - Midhinge -
midhinge; - Midmean -
midmean; - Midrange -
midrange; - Standard Trimmed Harrell-Davis Quantile -
standard_trimmed_harrell_davis_quantile; - Tau Measure of Location -
tau_location; - Trimean -
trimean.
- Contraharmonic Mean -
- Collection of measures of dispersion -
obscure_stats.dispersion:- Coefficient of Range -
coefficient_of_range; - Coefficient of Variation -
coefficient_of_variation; - Cole's Index of Dispersion -
cole_index_of_dispersion; - Fisher's Index of Dispersion -
fisher_index_of_dispersion; - Gini Mean Difference -
gini_mean_difference; - Linear Coefficient of Variation -
coefficient_of_lvariation; - Inter-expectile Range -
inter_expectile_range; - Morisita Index of Dispersion -
morisita_index_of_dispersion; - Quartile Coefficient of Dispersion -
quartile_coefficient_of_dispersion; - Robust Coefficient of Variation -
robust_coefficient_of_variation; - Shamos Estimator -
shamos_estimator; - Standard Quantile Absolute Deviation -
standard_quantile_absolute_deviation; - Studentized Range -
studentized_range.
- Coefficient of Range -
- Collection of measures of skewness -
obscure_stats.skewness:- Area Under the Skewness Curve -
auc_skew_gamma; - Bickel Mode Skewness Coefficient -
bickel_mode_skew; - Bowley Skewness Coefficient -
bowley_skew; - Cumulative Skewness Coefficient -
cumulative_skew; - Forhad-Shorna Rank Skewness Coefficient -
forhad_shorna_rank_skew; - Groeneveld Range Skewness Coefficient -
groeneveld_range_skew; - Hossain-Adnan Skewness Coefficient -
hossain_adnan_skew; - Kelly Skewness Coefficient -
kelly_skew; - Linear Skewness Coefficient -
l_skew; - Left Quantile Weight -
left_quantile_weight; - Medeen Skewness Coefficient -
medeen_skew; - Pearson Median Skewness Coefficient -
pearson_median_skew; - Pearson Mode Skewness Coefficient -
pearson_mode_skew; - Right Quantile Weight -
right_quantile_weight.
- Area Under the Skewness Curve -
- Collection of measures of kurtosis -
obscure_stats.kurtosis:- Crow-Siddiqui Kurtosis Coefficient -
crow_siddiqui_kurt; - Hogg Kurtosis Coefficient -
hogg_kurt; - Linear Kurtosis Coefficient -
l_kurt; - Moors Kurtosis Coefficient -
moors_kurt; - Moors Octile Kurtosis Coefficient -
moors_octile_kurt; - Reza-Ma Kurtosis Coefficient -
reza_ma_kurt; - Schmid-Trede measure of Peakedness -
schmid_trede_peakedness; - Staudte Kurtosis Coefficient -
staudte_kurt.
- Crow-Siddiqui Kurtosis Coefficient -
- Collection of measures of association -
obscure_stats.association:- Blomqvist's Beta -
blomqvist_beta; - Chatterjee Xi Correlation Coefficient -
chatterjee_xi; - Concordance Correlation Coefficient -
concordance_correlation; - Concordance Rate -
concordance_rate; - Fechner Correlation Coefficient -
fechner_correlation; - Gaussian Rank Correlation Coefficient -
gaussain_rank_correlation; - Morisita-Horn Similarity -
morisita_horn_similarity; - Normalized Chatterjee Xi Correlation Coefficient -
normalized_chatterjee_xi; - Quantile Correlation Coefficient -
quantile_correlation; - Rank Minrelation Coefficient -
rank_minrelation_coefficient; - Rank-Turbulence Divergence -
rank_divergence; - Symmetric Chatterjee Xi Correlation Coefficient -
symmetric_chatterjee_xi; - Tanimoto Similarity -
tanimoto_similarity; - Tukey's Correlation Coefficient -
tukey_correlation; - Winsorized Correlation Coefficient -
winsorized_correlation; - Zhang I Correlation Coefficient -
zhang_i.
- Blomqvist's Beta -
- Collection of measures of qualitative variation -
obscure_stats.variation:- AVDev -
avdev; - B Index -
b_index; - Gibbs M1 -
gibbs_m1; - Gibbs M2 -
gibbs_m2; - McIntosh's D -
mcintosh_d; - ModVR -
mod_vr; - Negative Extropy -
negative_extropy; - RanVR -
range_vr; - Rényi entropy -
renyi_entropy.
- AVDev -
Installation
```bash
pip install obscure_stats ```
Usage Example
```python
from obscurestats.centraltendency import standardtrimmedharrelldavisquantile from obscurestats.dispersion import standardquantileabsolutedeviation
data = [1.83, 1.01, 100.12, 1.20, 0.99, 0.87, 1.13, 100.01, 0.75, 1.03] centraltendency = standardtrimmedharrelldavisquantile(data) dispersion = standardquantileabsolutedeviation(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
Code of Conduct for this project can be found here.
Contributing
Contribution guidelines for this project can be found here.
Security Policy
Security Policy for this project can be found here.
License
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.
Owner
- Name: Gleb Levitski
- Login: glevv
- Kind: user
- Location: Cyprus
- Repositories: 4
- Profile: https://github.com/glevv
Citation (CITATION.cff)
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!
cff-version: 1.2.0
title: Obscure Stats
message: >-
If you use this software, please cite it using the
metadata from this file.
type: software
authors:
- given-names: Hleb
family-names: Levitski
identifiers:
- type: doi
value: 10.5281/zenodo.10206933
repository-code: 'https://github.com/glevv/obscure_stats'
repository-artifact: 'https://pypi.org/project/obscure_stats'
abstract: Collection of lesser-known statistical measures
license: MIT
version: 0.5.0
date-released: '2023-10-21'
GitHub Events
Total
- Create event: 71
- Issues event: 1
- Release event: 3
- Watch event: 7
- Delete event: 69
- Issue comment event: 71
- Push event: 108
- Pull request event: 136
- Pull request review event: 66
Last Year
- Create event: 71
- Issues event: 1
- Release event: 3
- Watch event: 7
- Delete event: 69
- Issue comment event: 71
- Push event: 108
- Pull request event: 136
- Pull request review event: 66
Committers
Last synced: 8 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| dependabot[bot] | 4****] | 161 |
| Gleb Levitski | 3****v | 134 |
| Gleb | g****b@G****l | 3 |
| StepSecurity Bot | b****t@s****o | 2 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 4 months ago
All Time
- Total issues: 2
- Total pull requests: 252
- Average time to close issues: 2 months
- Average time to close pull requests: about 12 hours
- Total issue authors: 2
- Total pull request authors: 4
- Average comments per issue: 2.0
- Average comments per pull request: 0.98
- Merged pull requests: 236
- Bot issues: 0
- Bot pull requests: 211
Past Year
- Issues: 1
- Pull requests: 134
- Average time to close issues: N/A
- Average time to close pull requests: about 13 hours
- Issue authors: 1
- Pull request authors: 2
- Average comments per issue: 0.0
- Average comments per pull request: 0.94
- Merged pull requests: 123
- Bot issues: 0
- Bot pull requests: 124
Top Authors
Issue Authors
- dependabot[bot] (1)
- fcotizelati (1)
- celestinoxp (1)
Pull Request Authors
- dependabot[bot] (323)
- glevv (59)
- step-security-bot (6)
- fossabot (2)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/cache v3 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- codecov/codecov-action v3 composite
- snok/install-poetry v1 composite
- numpy ^1.26.1
- python >=3.10,<3.13
- scipy ^1.11.3
- actions/cache v3 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- snok/install-poetry v1 composite
- actions/checkout b4ffde65f46336ab88eb53be808477a3936bae11 composite
- github/codeql-action/analyze e5f05b81d5b6ff8cfa111c80c22c5fd02a384118 composite
- github/codeql-action/autobuild e5f05b81d5b6ff8cfa111c80c22c5fd02a384118 composite
- github/codeql-action/init e5f05b81d5b6ff8cfa111c80c22c5fd02a384118 composite
- step-security/harden-runner eb238b55efaa70779f274895e782ed17c84f2895 composite
- actions/checkout b4ffde65f46336ab88eb53be808477a3936bae11 composite
- actions/dependency-review-action c74b580d73376b7750d3d2a50bfb8adc2c937507 composite
- step-security/harden-runner eb238b55efaa70779f274895e782ed17c84f2895 composite
- actions/checkout b4ffde65f46336ab88eb53be808477a3936bae11 composite
- actions/upload-artifact 1eb3cb2b3e0f29609092a73eb033bb759a334595 composite
- github/codeql-action/upload-sarif e5f05b81d5b6ff8cfa111c80c22c5fd02a384118 composite
- ossf/scorecard-action 99c53751e09b9529366343771cc321ec74e9bd3d composite
- step-security/harden-runner eb238b55efaa70779f274895e782ed17c84f2895 composite