Computes the unconditional mean $$ E[Y] = q \cdot \frac{n \mu}{1 - p_0}, $$ where \(p_0 = P(Y = 0)\) under the (untruncated) Beta-Binomial.
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_variance(),
pbetabinom(),
rbetabinom(),
rhurdle_betabinom(),
rztbetabinom()