mrpy.base.stats.TGGDln.rvs

TGGDln.rvs(n, res_approx=0.01)

Generate random variates from the distribution.

Parameters:

n : integer or tuple of integers

The size/shape of the returned variates. If an integer, specifies the number of returned variates. If a tuple of integers, the return array will have shape n.

res_approx: float, optional

Sets the resolution for interpolating the CDF, which is inverted to yield the quantile.

Returns:

r : array_like

Random variates from the distribution, with shape n.