View source: R/beta_binomial_funcs.R
find_prior_alpha_beta | R Documentation |
Finds the required alpha and beta to give a desired mean and variance of the beta binomal function
find_prior_alpha_beta(n, mean, var)
n |
the number of trials |
mean |
desired mean |
var |
desired variance |
alpha and beta for the beta binomial
Other beta_binomial_functions:
bb_mean()
,
dbb()
,
find_bb_2()
,
hist_rbb()
,
pbb()
,
qbb()
,
rbb()
find_prior_alpha_beta(n=100,mean=25,var=5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.