Beta binomial mean

bb_mean(n, alpha, beta)

Arguments

n

the number of trials

alpha

alpha parameter

beta

beta parameter

Value

calculates the mean of the beta binomial function

See also

Other beta_binomial_functions: dbb(), find_bb_2(), find_prior_alpha_beta(), hist_rbb(), pbb(), qbb(), rbb()

Examples

bb_mean(100, 1, 1)
#> [1] 50