statsmodels.distributions.copula.api.GumbelCopula.rvs¶
-
GumbelCopula.rvs(nobs=
1, args=(), random_state=None)[source]¶ Draw n in the half-open interval
[0, 1).Marginals are uniformly distributed.
- Parameters:¶
- nobs : int, optional¶
Number of samples to generate from the copula. Default is 1.
- args : tuple¶
Arguments for copula parameters. The number of arguments depends on the copula.
- random_state : {None, int, numpy.random.Generator}, optional¶
If seed is None then the legacy singleton NumPy generator. This will change after 0.13 to use a fresh NumPy
Generator, so you should explicitly pass a seededGeneratorif you need reproducible results. If seed is an int, a newGeneratorinstance is used, seeded with seed. If seed is already aGeneratorinstance then that instance is used.
- Returns:¶
sample – Sample from the copula.
- Return type:¶
array_like (nobs, d)