Learn R Programming

mbbefd (version 0.7)

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)

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]$.

Value

  • A numeric value or a vector.

Details

d,p,q,ec,m-oistpareto functions computes the density function, the distribution function, the quantile function, the exposure curve function and raw moments of the one-inflated shifted truncated pareto distribution. roistpareto generates random variates of this distribution.

See Also

mbbefd-distr and oidistribution.

Examples

Run this code
#TODO

Run the code above in your browser using DataLab