Skip to main content

Sampling from copulae

Project description

# clayton

## Sampling from copulae

The modeling of dependence between random variables is an important subject in several applied fields of science. To this aim the copula function can be used as a margin-free description of the dependence structure. Several copulae belong to specific families such as Archimedean, Elliptical or Extreme. While software implementation of copulae has been thoroughly explored in R software, methods to work with copula in Python are still in their infancy. To promote the dependence modeling with copula in Python, we have developed clayton, a library that provides a range of random vector generation vector for copulae.

The module clayton is implemented using the object-oriented features of the Python language. The classes are designed for Archimedean, elliptical, extreme value copulae. Each contains methods to generate random vectors.

For more information, the reader can access the paper describing the code, which was accepted for publication in computo, at the following URL: https://aleboul.github.io/computo/.

## Installation

### Dependencies

COPPY requires :

  • Python (>= 3.7)

  • NumPY (>= 1.14.6)

  • SciPY (>= 1.1.0)

### Source Code

You can check the latest sources with the command:

git clone https://github.com/Aleboul/clayton/

## Examples

[Graphical Representations](https://github.com/Aleboul/clayton/blob/master/examples/sample.ipynb)

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

clayton-0.0.4.tar.gz (23.6 kB view details)

Uploaded Source

Built Distribution

clayton-0.0.4-py3-none-any.whl (26.8 kB view details)

Uploaded Python 3

File details

Details for the file clayton-0.0.4.tar.gz.

File metadata

  • Download URL: clayton-0.0.4.tar.gz
  • Upload date:
  • Size: 23.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.10

File hashes

Hashes for clayton-0.0.4.tar.gz
Algorithm Hash digest
SHA256 d750d09621630d8a9ab1d2f30525ee1a327976e33d46605259c669df82a808be
MD5 3395c5ea57a41ec98f9feb0254a5176b
BLAKE2b-256 18e70a95171109e16db7022f3d876eb17032d212b389083a6d17601c3e20e307

See more details on using hashes here.

File details

Details for the file clayton-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: clayton-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 26.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.10

File hashes

Hashes for clayton-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 bd3c05ad399bdf90b5775a8446682e46a52a54edff85988e493a133432ac27e4
MD5 db4795d56e4b69d118a8fbbb400d0213
BLAKE2b-256 41bd7ec10a664ca608eec2f8a6dc75dd8596a41e7e150a7a529a5ab1e66fa32b

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