Beta binomial variance

bb_var(n, alpha, beta)

Arguments

n

the number of trials

alpha

alpha parameter

beta

beta parameter

Value

calculates the variance of the beta binomial function

Examples

bb_var(100, 1, 1)
#> [1] 850