theta
denotes the parameter vector (alpha, delta, lambdap,
lambdam, mu)
. The probability density function (PDF) of the modified
tempered stable distributions is not available in closed form.
Relies on fast Fourier transform (FFT) applied to the characteristic
function.
dMTS(
x,
alpha = NULL,
delta = NULL,
lambdap = NULL,
lambdam = NULL,
mu = NULL,
theta = NULL,
dens_method = "FFT",
a = -20,
b = 20,
nf = 256
)
As x
is a numeric vector, the return value is also a numeric
vector of densities.
A numeric vector of quantiles.
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 method to get the density function. Here, only "FFT" is available.
Starting point of FFT, if dens_method == "FFT"
. -20
by default.
Ending point of FFT, if dens_method == "FFT"
. 20
by default.
Pieces the transformation is divided in. Limited to power-of-two size. 256 by default.
For examples, compare with dCTS()
.