dNTS: Density function of the normal tempered stable (NTS) distribution
Description
The probability density function (PDF) of the normal tempered stable
distributions is not available in closed form.
Relies on fast Fourier transform (FFT) applied to the characteristic
function.
As x is a numeric vector, the return value is also a numeric
vector of densities.
Arguments
x
A numeric vector of quantile.
alpha
A real number between 0 and 1.
beta
Any real number.
delta
A real number > 0.
lambda
A real number > 0.
mu
A location parameter, any real number.
theta
A vector of all other arguments.
dens_method
Currently, useless param, as it does nothing and FFT is
always used.
a
Starting point of FFT, if dens_method == "FFT". -20
by default.
b
Ending point of FFT, if dens_method == "FFT". 20
by default.
nf
Pieces the transformation is divided in. Limited to power-of-two
size.
Details
theta denotes the parameter vector (alpha, beta, delta, lambda,
mu). Either provide the parameters individually OR provide theta.
Currently, the only method is FFT.
References
Massing, T. (2023), 'Parametric Estimation of Tempered Stable Laws'