find_beta_prior_with_mean | R Documentation |
Given a desired annual mean attack rate and the number of epochs to consider per year, gives the shape1 and shape2 parameters with the desired mean but maximum variance
find_beta_prior_with_mean(desired_annual_mean, buckets)
desired_annual_mean |
the desired ANNUAL mean attack rate |
the |
number of buckets to split each year into |
a list with shape1 and shape2
Other priors:
calc_phi_probs_indiv()
,
calc_phi_probs_spline()
,
calc_phi_probs()
,
create_prob_shifts()
,
find_beta_prior_mode()
,
find_beta_prior_with_mean_var()
,
fit_beta_prior()
,
fit_normal_prior()
,
inf_mat_prior()
,
infection_history_prior()
,
prob_shifts()
find_beta_prior_with_mean(0.15, 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.