NewMEVAsyLogisticCopula function

Creates a multivariate asymmetric logistic copula

Creates a multivariate asymmetric logistic copula

Creates an instance of the multivariate asymmetric copula with parameters θ\theta and r.

NewMEVAsyLogisticCopula(theta, r)

Arguments

  • theta: a kxdk x d matrix of reals.
  • r: a vector of kk reals

Returns

A function that evaluates the multivariate asymmetric logistic copula (with parameters θ\theta and r) at a given dd-dimensional vector in the unit square. Note that for this function the dimension of vectors at which the copula can be evaluated is determined by the input parameters. The environment of the function also contains a function called pdfCopula that evaluates the probability density function of the multivariate asymmetric logistic copula via automatic differentation.

Details

If theta has entries θij\theta_{ij} and r has entries rjr_j (i=1,,ki=1,\dots,k and j=1,,dj=1,\dots,d), then the following parameterisation of the copula is used:

C(u1,,ud)=exp(i=1k{j=1d(θijuˉj)ri}1/ri)C(u1,,ud)=exp(ij(θijvj)ri1/ri) C(u_1,\dots,u_d) = \exp\left(- \sum_{i=1}^k \left\{ \sum_{j=1}^d (\theta_{ij} \bar u_j)^{r_i} \right\}^{1/r_i} \right)C(u_1,\dots,u_d) = exp(- \sum_i { \sum_j (\theta_{ij} v_j)^{r_i} }^{1/r_i} )

where vj=log(uj)v_j = -log(u_j), j=1,,dj=1,\dots,d.

Necessary and sufficient conditions for the parameters are

  • all entries in theta have to be non-negative.
  • each column of theta has to add to one.
  • each row of theta must have a unique pattern of non-zero values, including the pattern that has no zeros in a row.
  • if a row of theta has only one non-zero value, then the corresponding entry in r has to be one.
  • if a row of theta has more than one non-zero value, then the corresponding entry of r must be greater than one.

Examples

theta <- rbind(c(0, 0.2, 0.8), c(1,0.8,0.2)) r <- c(2,3) cop <- NewMEVAsyLogisticCopula(theta, r) ## Creates the same copula theta <- 0.2 phi <- 0.4 r <- 2 cop1 <- NewBEVAsyLogisticCopula(r, theta, phi) theta <- cbind(c(phi, 1-phi, 0), c(theta, 0, 1-theta)) r <- c(r, 1, 1) cop2 <- NewMEVAsyLogisticCopula(theta, r)

See Also

NewBEVAsyLogisticCopula, NewMEVGumbelCopula

Author(s)

Berwin A. Turlach berwin.turlach@gmail.com

  • Maintainer: Berwin A. Turlach
  • License: GPL (>= 2)
  • Last published: 2017-12-20

Useful links