Calculates the beta binomial probability mass function for `x` successes out of `N` trials.
density_beta_binom(x, N, u, v)
Arguments
- x
number of successes
- N
number of trials
- u
first shape parameter of the Beta distribution
- v
second shape parameter of the Beta distribution
Value
the beta binomial probability
See also
Other priors:
calc_phi_probs(),
calc_phi_probs_indiv(),
calc_phi_probs_spline(),
create_prob_shifts(),
dbb_prior(),
find_beta_prior_mode(),
find_beta_prior_with_mean(),
find_beta_prior_with_mean_var(),
fit_beta_prior(),
fit_normal_prior(),
inf_mat_prior(),
infection_history_prior(),
prob_shifts()