oibeta | R Documentation |
These functions perform probabilistic analysis as well as random sampling on one-inflated beta distribution.
doibeta(x, shape1, shape2, p1, ncp=0, log=FALSE)
poibeta(q, shape1, shape2, p1, ncp=0, lower.tail = TRUE, log.p = FALSE)
qoibeta(p, shape1, shape2, p1, ncp=0, lower.tail = TRUE, log.p = FALSE)
roibeta(n, shape1, shape2, p1, ncp=0)
ecoibeta(x, shape1, shape2, p1, ncp=0)
moibeta(order, shape1, shape2, p1, ncp=0)
tloibeta(shape1, shape2, p1, ncp=0)
x , q |
vector of quantiles. |
p |
vector of probabilities. |
n |
number of observations. If |
p1 , shape1 , shape2 , ncp |
parameters. |
order |
order of the raw moment. |
log , log.p |
logical; if |
lower.tail |
logical; if |
d,p,q,ec,m,tl
-oibeta
functions computes the density function,
the distribution function, the quantile function, the exposure curve function,
raw moments and total loss of the one-inflated beta distribution.
roibeta
generates random variates of this distribution.
A numeric value or a vector.
Dutang Christophe
mbbefd-distr
and oidistribution
.
#density
curve(doibeta(x, 3, 2, 1/3), n=200)
#cdf
curve(poibeta(x, 3, 2, 1/3), n=200)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.