rarchi: Archimedean copula sampler

Description Usage Arguments Value Examples

Description

Sampler based on the Marshall-Olkin algorithm

Usage

1
rarchi(n, family, d, theta)

Arguments

n

sample size

family

family of the Archimedean copula. Either "clayton", "gumbel", "frank", "AMH" or "joe"

d

dimension of sample

theta

parameter of the Archimedean copula

Value

a sample of dimension n by d from the Archimedean copula

Examples

1
2
3
4
#Sample from a Gumbel Archimedean copula
rarchi(n = 100, "gumbel", d = 4, theta = 2)
#Sample from the independence copula
rarchi(n = 100, "gumbel", d = 4, theta = 1)


Search within the lcopula package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.