Beta binomial density

dbb(x, N, u, v)

Arguments

x

the number of successes

N

the number of trials

u

equivalent to alpha in description

v

equivalent to beta in description

Value

the probability density of the beta binomial with given input parameters

See also

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

Examples

dbb(10,50,1,1)
#> [1] 0.01960784