ConvexCombCopula-Class {cort} R Documentation

Convex Combination of copulas.

Description

ConvexCombCopula class

Usage

ConvexCombCopula(copulas, alpha = rep(1, length(copulas)))


Arguments

 copulas a list of copulas of same dimension alpha a vector of (positive) weights

Details

The ConvexCombcopula class is used to build convex combinations of copulas, with given positives weights. The rCopula and pCopula functions works for those copulas, assuming they work for the given copulas that we combined in a convex way.

See the corresponding vignette for more details about the implementation.

Value

An instance of the ConvexCombCopula S4 class. The object represent the copula that results from a convex combinaison of other copulas, and can be used through several methods to query classical (r/d/p/v)Copula methods, etc.

Examples

dataset <- apply(LifeCycleSavings,2,rank)/(nrow(LifeCycleSavings)+1)
copulas <- list(
cbCopula(dataset[,2:3],m=10),
cbCopula(dataset[,2:3],m=5)
)
alpha <- c(1,4)
(cop <- ConvexCombCopula(copulas,alpha))


[Package cort version 0.3.2 Index]