Skip to main content

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


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)

Uploaded Source

Built Distribution

simple_copula-0.1.0-py3-none-any.whl (1.6 kB view details)

Uploaded Python 3

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

Hashes for simple_copula-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fc2fdcbfb55ad5b35505ab7a99b61e1bff8ebee08d46fe49cb37650b4f3128c4
MD5 8a4b78cf4b5e96242baba4bc2c5a479d
BLAKE2b-256 a08405f824172ea64f7857989a57acd3eb923ca12d9e5684a72dca85291852dd

See more details on using hashes here.

File details

Details for the file simple_copula-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for simple_copula-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f5725536d9a66c2837b1808d5ac00d51349a5f56df57e0fb9deb4c40340589f1
MD5 9e832ba18d75dd1201f6e23b0e3a34ee
BLAKE2b-256 d0465679e875b61433a67c12f92e6c67e0c886b04f5574efc1d45e439d7595d7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page