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 MyAwesomePackage
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
simple_copula-0.1.0.tar.gz
(1.8 kB
view details)
Built Distribution
File details
Details for the file simple_copula-0.1.0.tar.gz
.
File metadata
- Download URL: simple_copula-0.1.0.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc2fdcbfb55ad5b35505ab7a99b61e1bff8ebee08d46fe49cb37650b4f3128c4 |
|
MD5 | 8a4b78cf4b5e96242baba4bc2c5a479d |
|
BLAKE2b-256 | a08405f824172ea64f7857989a57acd3eb923ca12d9e5684a72dca85291852dd |
File details
Details for the file simple_copula-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: simple_copula-0.1.0-py3-none-any.whl
- Upload date:
- Size: 1.6 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 | f5725536d9a66c2837b1808d5ac00d51349a5f56df57e0fb9deb4c40340589f1 |
|
MD5 | 9e832ba18d75dd1201f6e23b0e3a34ee |
|
BLAKE2b-256 | d0465679e875b61433a67c12f92e6c67e0c886b04f5574efc1d45e439d7595d7 |