oistpareto: One-inflated shifted truncated pareto distribution
Description
These functions perform probabilistic analysis as well as random sampling
on one-inflated shifted truncated pareto distribution.
Usage
doistpareto(x, a, p1, log=FALSE)
poistpareto(q, a, p1, lower.tail = TRUE, log.p = FALSE)
qoistpareto(p, a, p1, lower.tail = TRUE, log.p = FALSE)
roistpareto(n, a, p1)
ecoistpareto(x, a, p1)
moistpareto(order, a, p1)
tloistpareto(a, p1)
Value
A numeric value or a vector.
Arguments
x, q
vector of quantiles.
p
vector of probabilities.
n
number of observations. If length(n) > 1, the length is take to be the number required.
a, p1
parameters.
order
order of the raw moment.
log, log.p
logical; if TRUE, probabilities p are given as log(p).
lower.tail
logical; if TRUE (default), probabilities are \(P[X <= x]\), otherwise, \(P[X> x]\).
Author
Dutang Christophe
Details
d,p,q,ec,m,tl-oistpareto functions computes the density function,
the distribution function, the quantile function, the exposure curve function,
raw moments and total loss of the one-inflated shifted truncated pareto distribution.
roistpareto generates random variates of this distribution.