Calculates the necessary parameters for the beta distribution to give the desired mode and certainty, k
find_beta_prior_mode(mode1, k)
mode1 | the desired mode |
---|---|
k | the desired certainty in the prior, must be at least 2. The higher this number, the "stronger" the prior |
a list with alpha and beta parameters for the Beta distribution
Other priors:
calc_phi_probs_indiv()
,
calc_phi_probs_spline()
,
calc_phi_probs()
,
create_prior_mu()
,
create_prob_shifts()
,
find_beta_prior_with_mean_var()
,
find_beta_prior_with_mean()
,
fit_beta_prior()
,
fit_normal_prior()
,
inf_mat_prior()
,
infection_history_prior()
,
prob_mus()
,
prob_shifts()
find_beta_prior_mode(0.15, 10)#> $alpha #> [1] 2.2 #> #> $beta #> [1] 7.8 #>