The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

VC2copula

R build status CRAN status Codecov status


VC2copula extends the copula package with families and models from VineCopula. This functionality was previously part of VineCopula, but is now provided as a stand-alone version.

Installation

You can install the released version of VC2copula from CRAN with

install.packages("VC2copula")

and the development version with

devtools::install_github("tnagler/VC2copula")

Functionality

Bivariate copula models

The package exposes classes for all BB- and Tawn families implemented in VineCopula, including their rotations. Additionally, rotated versions of the Clayton and Gumbel copula families are exposed.

Example

cop <- BB1Copula(c(1, 1.5))
dCopula(c(0.5, 0.5), cop)
plot(rCopula(500, cop))

Full list of exposed classes

Vine copula models

There is one more class vineCopula for vine copula models. You can convert RVineMatrix objects for the VineCopula package or fit new models using only the copula API:

data("daxreturns", package = "VineCopula")
pairs(daxreturns[, 1:4])

vine <- vineCopula(as.integer(4))
fit <- fitCopula(vine, daxreturns[, 1:4])
pairs(rCopula(500, fit@copula))

Documentation

For a full overview of functions and classes, see the package website.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.