rarchi | R Documentation |
Sampler based on the Marshall-Olkin algorithm
rarchi(n, family, d, theta)
n |
sample size |
family |
family of the Archimedean copula. Either |
d |
dimension of sample |
theta |
parameter of the Archimedean copula |
a sample of dimension n
by d
from the Archimedean copula
#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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.