
Last chance! 50% off unlimited learning
Sale ends in
The cumulative probability distribution function (CDF) of the normal tempered stable distribution.
pNTS(
q,
alpha = NULL,
beta = NULL,
delta = NULL,
lambda = NULL,
mu = NULL,
theta = NULL,
a = -40,
b = 40,
nf = 2^11,
...
)
As q
is a numeric vector, the return value is also a numeric
vector of probabilities.
A numeric vector of quantile.
A real number between 0 and 1.
Any real number.
A real number > 0.
A real number > 0.
A location parameter, any real number.
A vector of all other arguments.
Starting point integrate density function. -40 by default.
Ending point of integrate density function. 40 by default.
Pieces the fast Fourier transformation is divided in. Limited to power-of-two size. 2^11 by default.
Change parameters in dNTS()
theta
denotes the parameter vector (alpha, beta, delta, lambda,
mu)
. Either provide the parameters individually OR provide theta
.
The function integrates the PDF numerically with integrate()
.
See also the dNTS()
density-function.
# \donttest{
x <- seq(-5,5,0.25)
y <- pNTS(x,0.5,1,1,1,1)
plot(x,y)
# }
Run the code above in your browser using DataLab