The cumulative probability distribution function (CDF) of the Kim-Rachev tempered stable distribution.
pKRTS(
q,
alpha = NULL,
kp = NULL,
km = NULL,
rp = NULL,
rm = NULL,
pp = NULL,
pm = NULL,
mu = NULL,
theta = NULL,
dens_method = "FFT",
a = -40,
b = 40,
nf = 2048,
...
)
As q
is a numeric vector, the return value is also a numeric
vector of probabilities.
A vector of real numbers where the CF is evaluated.
Stability parameter. A real number between 0 and 2.
Parameter of KR-distribution. A real number >0
.
Parameter of KR-distribution. A real number >-alpha
.
A location parameter, any real number.
Parameters stacked as a vector.
Algorithm for numerical evaluation. Currently, only
"FFT"
available.
Starting point of FFT, if dens_method == "FFT"
. -40
by default.
Ending point of FFT, if dens_method == "FFT"
. 40
by default.
Pieces the transformation is divided in. Limited to power-of-two size.
Possibility to modify stats::integrate()
.
theta
denotes the parameter vector (alpha, kp, km,
rp, rm, pp. pm, mu))
. Either provide the parameters individually OR
provide theta
.
The function integrates the PDF numerically with integrate()
.
See also the dKRTS()
density-function.