A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/tnagler/VC2copula below:

tnagler/VC2copula: Extends the 'copula' package with families and models from 'VineCopula'.

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.

You can install the released version of VC2copula from CRAN with

install.packages("VC2copula")

and the development version with

devtools::install_github("tnagler/VC2copula")

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.

cop <- BB1Copula(c(1, 1.5))
dCopula(c(0.5, 0.5), cop)
plot(rCopula(500, cop))
Full list of exposed classes

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))

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4