Generates n
random numbers distributed according to the modified
tempered stable (MTS) distribution.
rMTS(
n,
alpha = NULL,
delta = NULL,
lambdap = NULL,
lambdam = NULL,
mu = NULL,
theta = NULL,
methodR = "SR",
k = 10000
)
Generates n
random numbers of the CTS distribution.
sample size (integer).
Stability parameter. A real number between 0 and 2.
Scale parameter. A real number > 0.
Tempering parameter. A real number > 0.
A location parameter, any real number.
Parameters stacked as a vector.
A String. Either "TM", "AR" or "SR".
integer: the level of truncation, if methodR == "SR"
.
10000 by default.
Currently, random variants can only be generated using the series representation given by Bianchi et al. (2011).
It is recommended to check the generated random numbers once for each distribution using the density function. If the random numbers are shifted, e.g. for the method "SR", it may be worthwhile to increase k.
Bianchi, M. L.; Rachev, S. T.; Kim, Y. S. & Fabozzi, F. J. (2011), 'Tempered infinitely divisible distributions and processes' tools:::Rd_expr_doi("10.1137/S0040585X97984632")