Skip to main content

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 function
  • pdf: Probability density function
  • cond_distr_1, cond_distr_2: Conditional distribution functions
  • lambda_L, lambda_U: Lower and upper tail dependence coefficients
  • rho, tau, xi: Spearman's rho, Kendall's tau, and Chatterjee's xi
  • generator, inv_generator: Generator and inverse generator for Archimedean copula families
  • pickands: 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 copula
  • scatter_plot: Generate a scatter plot of the copula
  • plot_cdf: Visualize the cumulative distribution function
  • plot_pdf: Visualize the probability density function
  • plot_rank_correlations: Visualize Spearman's rho, Kendall's tau, and Chatterjee's xi
  • plot_generator: Visualize the generator function
  • plot_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)

Source distribution for copul 0.3.8
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)

Table of built distributions (wheels) for copul 0.3.8
File Interpreter ABI Platform Actions
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.

Release history Release notifications | RSS feed

This release

0.3.8 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page