Cumulative distribution function of the Beta-Binomial distribution
Source:R/distributions.R
pbetabinom.RdComputes the CDF \(P(Y \le q)\) by summing the PMF from 0 to
floor(q), element-wise.
Details
Numerical stability is maintained by performing the summation in the log domain using the log-sum-exp trick.
References
Ghosal, S., Ghosh, S., and Moores, M. (2020). “Hierarchical beta-binomial models for batch effects in cytometry data.” Journal of the Royal Statistical Society: Series A, 183(4), 1579–1601.
See also
Other distributions:
compute_p0(),
compute_ztbb_mean(),
dbetabinom(),
dhurdle_betabinom(),
dztbetabinom(),
hurdle_mean(),
hurdle_variance(),
rbetabinom(),
rhurdle_betabinom(),
rztbetabinom()