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.3.tar.gz (23.6 kB view hashes)

Uploaded Source

Built Distributions

clayton-0.0.3-py3.9.egg (65.0 kB view hashes)

Uploaded Source

clayton-0.0.3-py3-none-any.whl (26.8 kB view hashes)

Uploaded Python 3

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