VinecopLike.simulate

abstract VinecopLike.simulate(n, *, x=None, qrng=False, num_threads=1, seeds=None)

Draw n samples from the fitted vine copula.

Parameters:
nint

Number of samples to draw.

xarray, shape (n, p), or None, optional

External covariates for a conditional draw (one row per sample), else None.

qrngbool, default=False

Draw quasi-random base uniforms instead of pseudo-random ones.

num_threadsint, default=1

Accepted for parity with pyvinecopulib.core.Vinecop.simulate().

seedslist of int, or None, optional

RNG seeds.

Returns:
array, shape (n, d), dtype float

Samples in [0, 1]^d.