Skip to main content

statistics package

Project description

Python Versions License: GPL v3 pre-commit Language grade: Python Total alerts

codecov GitHub last commit GitHub forks GitHub Repo stars

Current release info

Name Downloads Version Platforms
Conda Recipe Conda Downloads Downloads Downloads Downloads PyPI - Downloads Conda Version PyPI version Anaconda-Server Badge Conda Platforms Join the chat at https://gitter.im/Hapi-Nile/Hapi

statista - Statistics package

statista is a statistics package

statista

Main Features

  • Statistical Distributions
    • GEV
    • GUMBEL
    • Normal
    • Exponential
  • Parameter estimation methods
    • Lmoments
    • ML
    • MOM
  • One-at-time (O-A-T) Sensitivity analysis.
  • Sobol visualization
  • Statistical descriptors
  • Extreme value analysis

For the full documentation, please visit statista documentation

Installing statista

Installing statista from the conda-forge channel can be achieved by:

conda install -c conda-forge statista

It is possible to list all the versions of statista available on your platform with:

conda search statista --channel conda-forge

Install from GitHub

to install the last development to time, you can install the library from GitHub

pip install git+https://github.com/MAfarrag/statista

pip

to install the last release, you can use pip

pip install statista==0.6.0

Quick start

  >>> import statista

other code samples

======= History

0.1.0 (2022-05-24)

  • First release on PyPI.

0.1.7 (2022-12-26)

  • lock numpy to version 1.23.5

0.1.8 (2023-01-31)

  • bump up versions

0.2.0 (2023-02-08)

  • add eva (Extreme value analysis) module
  • fix bug in obtaining distribution parameters using optimization method

0.3.0 (2023-02-19)

  • add documentations for both GEV and gumbel distributions.
  • add lmoment parameter estimation method for all distributions.
  • add exponential and normal distributions
  • modify the pdf, cdf, and probability plot plots
  • create separate plot and confidence_interval modules.

0.4.0 (2023-11-23)

  • add Pearson 3 distribution
  • Use setup.py instead of pyproject.toml.
  • Correct pearson correlation coefficient and add documentation .
  • replace the pdf and cdf by the methods from scipy package.

0.5.0 (2023-12-11)

  • Unify the all the methods for the distributions.
  • Use factory design pattern to create the distributions.
  • add tests for the eva module.
  • use snake_case for the methods and variables.

0.6.0 (2024-08-18)

dev """

  • Add documentations for the distributions, and eva modules.
  • Add autodoc for all modules.
  • Test docstrings as part of CI and pre-commit hooks.
  • Test notebooks as part of CI.
  • Simplify test for the distributions module

distributions """""""""""""

  • move the cdf and parameters for all the methods to be optional parameters.
  • rename theoretical_estimate method to inverse_cdf.
  • All distributions can be instantiated with the parameters and/or data.
  • rename the probability_plot method to plot.
  • move the confidence_interval plot from the probability_plot/plot to the method confidence_interval and can be called by activating the plot_figure=True.

descriptors """""""""""

  • rename the metrics module to descriptors.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

statista-0.6.0.tar.gz (58.3 kB view details)

Uploaded Source

Built Distribution

statista-0.6.0-py3-none-any.whl (55.6 kB view details)

Uploaded Python 3

File details

Details for the file statista-0.6.0.tar.gz.

File metadata

  • Download URL: statista-0.6.0.tar.gz
  • Upload date:
  • Size: 58.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for statista-0.6.0.tar.gz
Algorithm Hash digest
SHA256 75810ed3e795ba838b9e295e2783b302d8b63bb2bc50a40226c042975a21b2c5
MD5 5b1588adbe4e2f56c5e42f1cde41fc2b
BLAKE2b-256 88135c3a83e43f3f1b0c79aaddc94dc3ddc518dffb164d70077f51019ce930ae

See more details on using hashes here.

File details

Details for the file statista-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: statista-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 55.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for statista-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4578c8f6de39ecdf332f1fc44ec798ef4a37526cc92fe05cd89021506f34a316
MD5 358e68a6752ee4c377ff24dc19c15cb4
BLAKE2b-256 fa1529d00dbc9a2fbeaeaba179b75224ca80ff3347ac4adbd6fdf376330e9354

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page