Learn R Programming

mbbefd (version 0.7)

oibeta: One-inflated beta distribution

Description

These functions perform probabilistic analysis as well as random sampling on one-inflated beta distribution.

Usage

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)

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.
p1, shape1, shape2, ncp
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-oibeta functions computes the density function, the distribution function, the quantile function, the exposure curve function and raw moments of the one-inflated beta distribution. roibeta 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