Sample R-Vine matrices based on the algorithm of Joe et al. (2011).
RVineMatrixSample(d, size = 1, naturalOrder = FALSE)
Dimension of the R-Vine matrices.
Number of matrices to sample.
Should the matrices be in the natural order
(default: naturalOrder = FALSE
).
A list of length size
with each element containing one
R-Vine matrix.
For some reason, our implementation of Joe et al.'s algorithm always returns a star in the first tree. To fix this, we sample a vine matrix of dimension d + 1 and remove the first tree afterwards
Joe H, Cooke RM and Kurowicka D (2011). Regular vines: generation algorithm and number of equivalence classes. In Dependence Modeling: Vine Copula Handbook, pp 219--231. World Scientific, Singapore.