| Category | Badges |
|---|---|
| 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.
- Every function cites the paper it implements.
- Functions return raw statistics, without hidden normalizing constants.
- Inputs can be lists, tuples, NumPy arrays or pandas Series; the package is fully typed.
pip install obscure_statsor, with uv:
uv add obscure_statsfrom 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}")
# Robust measure of central tendency = 1.09±0.39- 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 - Shorth -
shorth - Standard Trimmed Harrell-Davis Quantile -
standard_trimmed_harrell_davis_quantile - Tau Measure of Location -
tau_location - Trimean -
trimean
- Coefficient of Range -
coefficient_of_range - Coefficient of Variation -
coefficient_of_variation - Fisher's Index of Dispersion -
fisher_index_of_dispersion - Gini Mean Difference -
gini_mean_difference - Inter-Expectile Range -
inter_expectile_range - Length of the Shortest Half -
length_of_shortest_half - Linear Coefficient of Variation -
coefficient_of_lvariation - 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 - Shapiro Coefficient of Variation -
shapiro_coefficient_of_variation - Standard Quantile Absolute Deviation -
standard_quantile_absolute_deviation - Studentized Range -
studentized_range
- 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 - Kelly Skewness Coefficient -
kelly_skew - Meeden Skewness Coefficient -
meeden_skew - Pearson Median Skewness Coefficient -
pearson_median_skew - Pearson Mode Skewness Coefficient -
pearson_mode_skew
- Crow-Siddiqui Kurtosis Coefficient -
crow_siddiqui_kurt - Hogg Kurtosis Coefficient -
hogg_kurt - Moors Octile Kurtosis Coefficient -
moors_octile_kurt - Quantile Weight -
quantile_weight - Reza-Ma Kurtosis Coefficient -
reza_ma_kurt - Schmid-Trede Measure of Peakedness -
schmid_trede_peakedness - Staudte Kurtosis Coefficient -
staudte_kurt
- Blomqvist's Beta -
blomqvist_beta - Coefficient of Monotone Association -
coefficient_of_monotone_association - Concordance Correlation Coefficient -
concordance_correlation - Concordance Rate -
concordance_rate - Fechner Correlation Coefficient -
fechner_correlation - Gaussian Rank Correlation Coefficient -
gaussian_rank_correlation - Gini Correlation Coefficient -
gini_correlation - L1 Concordance Correlation Coefficient -
l1_concordance_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
- AVDev -
avdev - B Index -
b_index - Brillouin Index -
brillouin_index - Extropy -
extropy - Gibbs M1 -
gibbs_m1 - McIntosh's D -
mcintosh_d - MNDif -
mndif - ModVR -
mod_vr - RanVR -
range_vr - Rényi Entropy -
renyi_entropy
If you use obscure_stats in your work, please cite it using the metadata in CITATION.cff
(GitHub shows it under "Cite this repository") or the DOI
10.5281/zenodo.10206933.
This project follows the Code of Conduct.
See the contribution guidelines for how to set up the project, run the checks and propose changes.
See the security policy for how to report a vulnerability.
See the accessibility statement for our accessibility commitments and how to report a barrier.
This project is licensed under the MIT License.