| oigbeta {mbbefd} | R Documentation |
One-inflated generalized beta of the first kind (GB1)) distribution
Description
These functions perform probabilistic analysis as well as random sampling on one-inflated GB1 distribution.
Usage
doigbeta(x, shape0, shape1, shape2, p1, log=FALSE)
poigbeta(q, shape0, shape1, shape2, p1, lower.tail = TRUE, log.p = FALSE)
qoigbeta(p, shape0, shape1, shape2, p1, lower.tail = TRUE, log.p = FALSE)
roigbeta(n, shape0, shape1, shape2, p1)
ecoigbeta(x, shape0, shape1, shape2, p1)
moigbeta(order, shape0, shape1, shape2, p1)
tloigbeta(shape0, shape1, shape2, p1)
Arguments
x, q |
vector of quantiles. |
p |
vector of probabilities. |
n |
number of observations. If |
p1, shape0, shape1, shape2 |
shape parameters. |
order |
order of the raw moment. |
log, log.p |
logical; if |
lower.tail |
logical; if |
Details
d,p,q,ec,m,tl-oigbeta functions computes the density function,
the distribution function, the quantile function, the exposure curve function,
raw moments and total loss of the one-inflated GB1 distribution.
roigbeta generates random variates of this distribution.
Value
A numeric value or a vector.
Author(s)
Dutang Christophe
See Also
mbbefd-distr and oidistribution.
Examples
#density
curve(doigbeta(x, 3, 2, 3, 1/3), n=200)
#cdf
curve(poigbeta(x, 3, 2, 3, 1/3), n=200)