rArchimaxMevlog {satdad} | R Documentation |
r function for Archimax Mevlog models.
Description
Random vectors generation for some Archimax Mevlog models.
Usage
rArchimaxMevlog(n, ds, dist = "exp", dist.param = 1)
Arguments
n |
The number of observations. |
ds |
An object of class |
dist |
The underlying distribution. A character string among |
dist.param |
The parameter associated with the choice |
Details
We follow below Algorithm 4.1 of p. 124 in Charpentier et al. (2014). Let defined by
, the Laplace transform of a positive random variable with cumulative distribution function
.
Define the random vector as
where
-
has a multivariate extreme value distribution with stable tail dependence function
; here
has standard Frechet margins,
-
the margin transform of
so that
is sampled from the extreme value copula associated with
,
-
has the distribution function
,
-
and
are independent.
Then, is sampled from the Archimax copula
.
We restrict here the function to those associated with Mevlog models. See
ellMevlog
and gen.ds
.
We restrict also the distribution of to
exponential ; For a positive
, set
, then
and
.
gamma ; For positive scale
and shape
, set
, then
and
.
Value
returns a n x d
matrix containing n
realizations of a d
-variate Archimax Mevlog random vector.
Author(s)
Cécile Mercadier (mercadier@math.univ-lyon1.fr
)
References
Charpentier, A., Fougères, A.-L., Genest, C. and Nešlehová, J.G. (2014) Multivariate Archimax copulas. Journal of Multivariate Analysis, 126, 118–136.
See Also
rMevlog
, copArchimaxMevlog
, psiArchimaxMevlog
, psiinvArchimaxMevlog
, gen.ds
Examples
## Fix a 5-dimensional asymmetric tail dependence structure
(ds5 <- gen.ds(d = 5))
## Generate a 1000-sample of Archimax Mevlog random vectors
## associated with ds5 and underlying distribution gamma
(shape5 <- runif(1, 0.01, 5))
(scale5 <- runif(1, 0.01, 5))
sample5.gamma <- rArchimaxMevlog(n = 1000, ds = ds5, dist = "gamma", dist.param = c(shape5, scale5))
## Compare theoretical (left) and empirical (right) tail dependographs
oldpar <- par(mfrow = c(1,2))
graphs(ds = ds5)
graphsEmp(sample = sample5.gamma, k = 100)
par(oldpar)
## Generate a 1000-sample of Archimax Mevlog random vectors
## associated with ds5 and underlying distribution exp
(lambda <- runif(1, 0.01, 5))
sample5.exp <- rArchimaxMevlog(n = 1000, ds = ds5, dist = "exp", dist.param = lambda)
## Compare theoretical (left) and empirical (right) tail dependographs
graphs(ds = ds5)
graphsEmp(sample = sample5.exp, k = 100)