A simple Python package for working with Gaussian Copulas
Project description
Copula
Copula is a Python library that helps you to create simple simulated sets of copulas
Features
- denisty function of a gaussian copula given two data sets
- generate samples from a copula, given an empirical cdf
the functions you have access too are:
- copula_density(u, R)
- get the density function of the copula
- u: multivatiate time series
- copula_likelihood(R_f, u)
- likleyhood function that gives back the likihood function -> used for get_cov
- get_cov(u_ecdf)
- get back the cov matrix, which was fit with the ML estimation and an optimizer from the scipy package
- needs an empirical cdf as input
- sampling_gaussian_copula(R, n_samples)
- get n samples from a gaussian copula, given a cov matrix (get the cov with the get_cov function)
Installation
Install via pip:
pip install copulasim
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
copulasim-0.1.0.tar.gz
(2.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file copulasim-0.1.0.tar.gz.
File metadata
- Download URL: copulasim-0.1.0.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb8dc7fac3ab44ade7db405e25810c71a5ac7c270796987fd7bfe5ce920e9bcc
|
|
| MD5 |
77e2526b86bb4b06aabdf0979881580b
|
|
| BLAKE2b-256 |
411ce3415dd95ae553dd8775ac17cfcefb876b02e7503a20265f63ef40ff2ee7
|
File details
Details for the file copulasim-0.1.0-py3-none-any.whl.
File metadata
- Download URL: copulasim-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ed6e4a3511fb44f55cac8f0e46ece4f33c677eecc2f655ea367fe1cd816689d
|
|
| MD5 |
ab2c8a8d018dba962b75d3c3bcef0293
|
|
| BLAKE2b-256 |
e6a82a46de3d61c1307e52d50391c3bd053bcb35146b86cea9d273d83cda1f6b
|