Given a desired annual mean attack rate and the number of epochs to consider per year, gives the alpha and beta 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 alpha and beta
Other priors:
calc_phi_probs_indiv()
,
calc_phi_probs_spline()
,
calc_phi_probs()
,
create_prior_mu()
,
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_mus()
,
prob_shifts()
find_beta_prior_with_mean(0.15, 1)#> Maximum variance: 0.127499#>#> $alpha #> [1] 1.17648e-06 #> #> $beta #> [1] 6.666719e-06 #>