Skip to main content

Generalized Lambda Distribution in CSW Parametrization for Python

Project description

gldcswpy

gldcswpy is Python package that implements tools for using Generalized Lambda Distribution (GLD) in CSW Parametrization for Python.

The Generalized Lambda Distribution (GλD) is a flexible family of probability distributions that can assume a wide range of shapes, making it a valuable tool in statistical modeling. It specified by four parameters which determine location, scale and shape (skewness and kurtosis) of the distribution.

Chalabi et al (2012) introduced a new parameterization of GLD, referred to as CSW Parameterization, wherein the location and scale parameters are directly expressed as the median and interquartile range of the distribution. The two remaining shape parameters characterizing the asymmetry and steepness of the distribution are calculated numerically.

This tool implements the CSW parameterization types of GLD, introduced by Chalabi, Y., Scott, D.J., & Wuertz, D. 2012. It provides methods for calculating parameters of theoretical GLD based on empirical data, generating random sample, estimate Quantile based risk measures such as VaR, ES and so on.

Installation

pip install gldcswpy

Usage

https://github.com/KavyaAnnapareddy/using_gldcswpy

References:

  1. Chalabi, Y., Scott, D.J., & Wuertz, D. 2012. Flexible distribution modeling with the generalized lambda distribution.
  2. Freimer, M., Kollia, G., Mudholkar, G.S., & Lin, C.T. 1988. A study of the generalized Tukey lambda family. Communications in Statistics-Theory and Methods, 17, 3547–3567.
  3. S. Su. A discretized approach to flexibly fit generalized lambda distributions to data. Journal of Modern Applied Statistical Methods, 4(2):408–424, 2005.

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

gldcswpy-0.1.7.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gldcswpy-0.1.7-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file gldcswpy-0.1.7.tar.gz.

File metadata

  • Download URL: gldcswpy-0.1.7.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.5 Windows/10

File hashes

Hashes for gldcswpy-0.1.7.tar.gz
Algorithm Hash digest
SHA256 48f040869c350fe95c1d55467b1c7380a657db6481e7332aa8efcf8d394515e2
MD5 a06a428fc1de24b1f0349a4c7b1c3fd0
BLAKE2b-256 f7e00d4138be6611309befa120cfd41d2215ef2431fd85f17a55b7591ce1189f

See more details on using hashes here.

File details

Details for the file gldcswpy-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: gldcswpy-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.5 Windows/10

File hashes

Hashes for gldcswpy-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c796815284a0ec07d7593e1e9e9268ff8b6e8a4aad180f67fdfe97e3e151982e
MD5 bffe2dc23699cadad232a0d88d3c6502
BLAKE2b-256 952d4070758f7c483a557a42ea6ad95ac351e0569e5f0d248d2b6bbec0ea34d0

See more details on using hashes here.

Supported by

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