Functions implementing the Bernoulli-gamma distribution, in which zero values
occur with probability 1-prob and non-zero values follow a gamma
distribution with scale and shape parameters.
dbgamma gives a probability density function (pdf),
pbgamma gives the cumulative distribution
function (cdf), qbgamma gives the quantile function (inverse cdf),
and rbgamma is used for generating random variates.
dbgamma gives the pdf, pbgamma gives the cdf,
qbgamma gives the inverse cdf (or quantile function), and
rbgamma generates random deviates.
References
Cannon, A.J., 2008. Probabilistic multi-site precipitation downscaling
by an expanded Bernoulli-gamma density network. Journal of
Hydrometeorology, 9(6): 1284-1300.