pdf of a betabinomial parametrised in terms of probability and over-dispersion

dbetabinom(x, size, prob, rho, log = FALSE)

Arguments

x

data

size

integer of sample size

prob

probability of observing a single success

rho

overdispersion parameter, has support [0, 1] with low values being less overdispersion

log

logical indicating whether to return log value

Value

probability of observing x