copul
copul is a package designed for mathematical computation with and visualization of bivariate copula families.
Install
Install the copul library using pip.
pip install copul
Documentation
A guide and documentation is available at https://copul.readthedocs.io/.
Copula families and copulas
The copul package covers implementations of the following copula families:
- Archimedean copula families: The 22 Archimedean copula families from the book "Nelsen - An Introduction to Copulas" including
- Clayton
- Gumbel-Hougaard
- Frank
- Joe
- Ali-Mikhail-Haq
- etc.
- Extreme-value copulas families:
- BB5
- Cuadras-Augé
- Galambos
- Gumbel
- Husler-Reiss
- Joe
- Marshall-Olkin
- tEV
- Tawn
- Elliptical copula families:
- Gaussian
- Student's t
- Laplace.
- Other copula families:
- Farlie-Gumbel-Morgenstern
- Fréchet
- Mardia
- Plackett
- Raftery
Furthermore, the package provides the following copulas:
- Independence copula
- Lower and upper Fréchet bounds
- Checkerboard copulas
Copula properties
The following properties are available for the above copula families and copulas if they exist and are known:
cdf: Cumulative distribution functionpdf: Probability density functioncond_distr_1,cond_distr_2: Conditional distribution functionslambda_L,lambda_U: Lower and upper tail dependence coefficientsrho,tau,xi: Spearman's rho, Kendall's tau, and Chatterjee's xigenerator,inv_generator: Generator and inverse generator for Archimedean copula familiespickands: Pickands dependence functions for extreme-value copula families
Copula methods
The following methods are available for the above copula families and copulas:
rvs: Generate random samples from the copulascatter_plot: Generate a scatter plot of the copulaplot_cdf: Visualize the cumulative distribution functionplot_pdf: Visualize the probability density functionplot_rank_correlations: Visualize Spearman's rho, Kendall's tau, and Chatterjee's xiplot_generator: Visualize the generator functionplot_pickands: Visualize the Pickands dependence function
Metadata
Release files for copul 0.3.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| copul-0.3.8.tar.gz | 2.9 MB | Without provenance | Details for copul-0.3.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| copul-0.3.8-py3-none-any.whl | Python 3 | none | any | Details for copul-0.3.8-py3-none-any.whl |
Total release size: 3.3 MB
Release files / copul-0.3.8.tar.gz
| Download URL | copul-0.3.8.tar.gz |
|---|---|
| Size | 2.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6e9ed80fca58531466f6c8e6f1bc2c4cbb7d9b23b7c9928889328478a54d4fa5
|
|
BLAKE2b-256 checksum How to use checksums |
a8931e5ff42e3f56cae8946e1ce85112f0e4646d0a39763a2c8a91f216b66dd2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.2
|
Release files / copul-0.3.8-py3-none-any.whl
| Download URL | copul-0.3.8-py3-none-any.whl |
|---|---|
| Size | 374.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5676fb999a11050efe5cb9f673d15ad0247928d318285c0fc90caddc0e5c1700
|
|
BLAKE2b-256 checksum How to use checksums |
280ad2aa27355ccb8c7aa235ad1c5e1704c4b0351fb1ac4a3b81e1b1b5897f4e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.2
|
Security for copul 0.3.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.