kcopula

Provides the K-copula introduced by Wollschläger and Schäfer (2016)

https://github.com/mlkremer/kcopula

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 4 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
    1 of 1 committers (100.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.1%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

Provides the K-copula introduced by Wollschläger and Schäfer (2016)

Basic Info
  • Host: GitHub
  • Owner: mlkremer
  • License: gpl-3.0
  • Language: R
  • Default Branch: master
  • Homepage:
  • Size: 24.4 KB
Statistics
  • Stars: 3
  • Watchers: 3
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 6 years ago · Last pushed about 5 years ago
Metadata Files
Readme License

README.md

kcopula

Overview

kcopula provides the bivariate K-copula by Wollschläger and Schäfer (2016). It provides two functions: * pkcopula() gives the distribution function of the bivariate K-copula. * dkcopula() gives the density of the bivariate K-copula.

Installation

Install release version from CRAN: r install.packages("kcopula") Install development version from GitHub: ```r

install.packages("devtools")

devtools::install_github("mlkremer/kcopula") ```

Usage

This example plots the bivariate K-copula density and distribution function. ```r library(kcopula)

Parameters

b <- .05 # step size u <- seq(b, 1 - b, b) v <- u rho <- .2 N <- 4

K-copula CDF

pkcopula(.5, .5, rho, N)

Plot full K-copula CDF

kcopulacdf <- pkcopula(u, v, rho, N, output = "matrix") persp(u, v, kcopulacdf, zlim = c(0, 1), xlab = "\n\n u", ylab = "\n\n v", zlab = "\n\n CDF", theta = 30, phi = 30, ticktype = "detailed")

K-copula PDF

dkcopula(.5, .5, rho, N)

Plot full K-copula PDF

kcopulapdf <- dkcopula(u, v, rho, N, output = "matrix") persp(u, v, kcopulapdf, zlim = c(0, max(kcopula_pdf)), xlab = "\n\n u", ylab = "\n\n v", zlab = "\n\n PDF", theta = 30, phi = 30, ticktype = "detailed") ```

References

Wollschläger, M. and Schäfer, R. (2016). Impact of nonstationarity on estimating and modeling empirical copulas of daily stock returns. Journal of Risk, 19(1):1--23. https://doi.org/10.21314/JOR.2016.342. SSRN version: https://ssrn.com/abstract=3533903.

Chetalova, D., Wollschläger, M., and Schäfer, R. (2015). Dependence structure of market states. Journal of Statistical Mechanics: Theory and Experiment, 2015(8):P08012. https://doi.org/10.1088/1742-5468/2015/08/P08012. SSRN version: https://ssrn.com/abstract=3533951.

Owner

  • Name: Marcel Kremer
  • Login: mlkremer
  • Kind: user
  • Location: Essen, Germany
  • Company: University of Duisburg-Essen

Postdoc in Mathematical Finance

GitHub Events

Total
Last Year

Committers

Last synced: over 3 years ago

All Time
  • Total Commits: 1
  • Total Committers: 1
  • Avg Commits per committer: 1.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
mlkremer m****r@u****e 1
Committer Domains (Top 20 + Academic)

Packages

  • Total packages: 1
  • Total downloads:
    • cran 143 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 1
  • Total maintainers: 1
cran.r-project.org: kcopula

The Bivariate K-Copula

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 143 Last month
Rankings
Stargazers count: 26.2%
Forks count: 28.8%
Dependent packages count: 29.8%
Dependent repos count: 35.5%
Average: 41.3%
Downloads: 86.4%
Maintainers (1)
Last synced: almost 3 years ago

Dependencies

DESCRIPTION cran
  • R >= 3.6.0 depends
  • pracma >= 2.2.9 imports