rFDG: Simulation of FDG copula models

Description Usage Arguments Details Value Author(s) References Examples

Description

Simulates from FDG copula models.

Usage

1
rFDG(n, FDGcopula, sizeSubSample=10000)

Arguments

n

size of the sample to be generated

FDGcopula

copula from which the sample is to be generated

sizeSubSample

size of the sub-samples over which is to be taken the maximum when generating extreme-value copulas

Details

An observation of an extreme-value distribution is essentially the maximum over a sub-sample of (theoretically) infinite size. In practice, the size of this sub-sample is set to sizeSubSample.

Value

A matrix of size 'n' times the dimension of the copula.

Author(s)

Gildas Mazo

References

Mazo G., Girard, S., Forbes, F. A flexible and tractable class of one-factor copulas, http://hal.archives-ouvertes.fr/hal-00979147

Examples

1
2
3
4
5
6
## Generate a sample from a FDG copula with Fr\'echet generators
## and parameter vector 'theta'
theta <- c(.3,.5,.7,.9)
myFDGcopula <- FDGcopula("frechet", theta)
dat <- rFDG(30, myFDGcopula)
head(dat)

FDGcopulas documentation built on May 2, 2019, 6:18 a.m.