Description Usage Arguments Details Value References See Also Examples
Simulation of random variables from LTs used in Archimedean copulas. Simulation from multivariate Archimedean copulas.
1 2 3 4 5 6 7 8 9 10 11 | rpostable(n,alp) # 0<alp<1
rsibuya(n,alp) # 0<alp<1
rlogseries(n,cpar) # cpar as for Frank leads to better parametrization
rmitlef(n,param)
rgammaSgamma(n,param)
rpostableSgamma(n,param)
rsibuyaSpostable(n,param)
rsibuyaSgamma(n,param)
rmfrk0(n,d,cpar) # R version
rmfrk(n,d,cpar,icheck=F) # link to C
rmcop(n,d,cpar) # choices for 'cop' for mtcj,joe,gum,bb1,bb2,bb3,bb6,bb7,bb10
|
n |
sample size |
d |
dimension for multivariate Archimedean |
alp |
parameter of Laplace transform (LT) |
param |
(vector) parameter of Laplace transform (LT) |
cpar |
copula parameter: could be scalar or vector depending on the copula family |
icheck |
flag to print out means and correlation as checks |
The LT families matching the Archimedean copula families are:
logseries for Frank;
gamma for MTCJ=Mardia-Takahasi-Cook-Johnson;
Sibuya for Joe;
positive stable for Gumbel;
Mittag-Leffler (or gamma stopped positive stable) for multivariate version of BB1;
gammaSgamma (gamma stopped gamma) for multivariate version of BB2;
postableSgamma (positive stable stopped gamma) for multivariate version of BB3;
sibuyaSpostable (Sibuya stopped positive stable) for multivariate version of BB6;
sibuyaSgamma (Sibuya stopped gamma) for multivariate version of BB7;
shifted negative binomial (see code) for multivariate version of BB10.
vector for rpostable to rsibuyaSgamma, nxd matrix for rmfrk to rmbb10.
Joe H (2014). Dependence Modeling with Copulas. Chapman&Hall/CRC. See Appendix for the names of some of the LTs and the source of the algorithms.
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.