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
Built Distributions
File details
Details for the file clayton-0.0.3.tar.gz
.
File metadata
- Download URL: clayton-0.0.3.tar.gz
- Upload date:
- Size: 23.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab3453f32ac6093f1547be234d53a41b8d989e9ed558731a279ee500509cb751 |
|
MD5 | 15720aa65c7e2bc2a24aceb0443bcba3 |
|
BLAKE2b-256 | 1c223397c25bf372f5d9ee72418441c986110b54c751914011020a271e5baf2c |
File details
Details for the file clayton-0.0.3-py3.9.egg
.
File metadata
- Download URL: clayton-0.0.3-py3.9.egg
- Upload date:
- Size: 65.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa5788188ed3bc178d170c2c9e8703bd75a474ddf8268f142115f9bce1bee82e |
|
MD5 | 650a49d19dd298a5ea6c31cbab878b8a |
|
BLAKE2b-256 | 020a1a6f96c81bc5784162814af742946b2438e02e21b5a785f96d6c4b51b6a8 |
File details
Details for the file clayton-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: clayton-0.0.3-py3-none-any.whl
- Upload date:
- Size: 26.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3adc8631d2a1bd72f19fe9fa9cc692bbcf3448b5d2afe360a9389d9d41014a4d |
|
MD5 | 3be56ab1c0173a56a00a67cddbc43ab9 |
|
BLAKE2b-256 | 0fb17d7889d1d7ab6895e88e7e79a655b7564b084a8ff76cc10e2565f448da01 |