Learn R Programming

mbbefd (version 0.7)

rstpareto: The shifted truncated Pareto distribution

Description

These functions perform probabilistic analysis as well as random sampling on the shifted truncated Pareto distribution.

Usage

dstpareto(x, a, log=FALSE)
pstpareto(q, a, lower.tail = TRUE, log.p = FALSE)
qstpareto(p, a, lower.tail = TRUE, log.p = FALSE)
rstpareto(n, a)
mstpareto(order, a)
ecstpareto(x, a)

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.
order
order of the raw moment.
a
shape parameter.
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

TODO!

References

TODO

See Also

mbbefd-distr, mbbefdExposure

Examples

Run this code
dstpareto(0:4/4, 2)

pstpareto(0:4/4, 1/2)

Run the code above in your browser using DataLab