Density, distribution function, quantile function, and random generation for the extended-support beta mixture distribution (in regression parameterization) on [0, 1].
dxbetax(x, mu, phi, nu = 0, log = FALSE, quad = 20)pxbetax(q, mu, phi, nu = 0, lower.tail = TRUE, log.p = FALSE, quad = 20)
qxbetax(p, mu, phi, nu = 0, lower.tail = TRUE, log.p = FALSE, quad = 20,
tol = .Machine$double.eps^0.7)
rxbetax(n, mu, phi, nu = 0)
dxbetax
gives the density, pxbetax
gives the distribution
function, qxbetax
gives the quantile function, and rxbetax
generates random deviates.
numeric. Vector of quantiles.
numeric. Vector of probabilities.
numeric. Number of observations. If length(n) > 1
, the length is
taken to be the number required.
numeric. The mean of the underlying beta distribution on [-nu, 1 + nu].
numeric. The precision parameter of the underlying beta distribution on [-nu, 1 + nu].
numeric. Mean of the exponentially-distributed exceedence parameter for the underlying beta distribution on [-nu, 1 + nu] that is censored to [0, 1].
logical. If TRUE, probabilities p are given as log(p).
logical. If TRUE (default), probabilities are P[X <= x] otherwise, P[X > x].
numeric. The number of quadrature points for numeric integration of the continuous mixture. Alternatively, a matrix with nodes and weights for the quadrature points can be specified.
numeric. Accuracy (convergence tolerance) for numerically
determining quantiles based on uniroot
and pxbetax
.
The extended-support beta mixture distribution is a continuous mixture of
extended-support beta distributions on [0, 1] where the underlying exceedence
parameter is exponentially distributed with mean nu
. Thus, if nu > 0
,
the resulting distribution has point masses on the boundaries 0 and 1 with larger
values of nu
leading to higher boundary probabilities. For nu = 0
(the default), the distribution reduces to the classic beta distribution (in
regression parameterization) without boundary observations.
dxbeta
, XBetaX