Description Usage Arguments Value
View source: R/Setup_functions.R
function estimate a value for the pseudo prior in order to have even mixing. Note, this is based on initial parameter values so may need adjusting.
1 2 | setup_pseudoprior(pars_ini, posterior_distributions, scale_model_type,
tolerance = 0.01)
|
pars_ini |
vector of initial parameters for seroprevalence |
posterior_distributions |
distribution parameters for each model pseudo priors |
scale_model_type |
the model whose posterior distribution sd is to be scaled |
tolerance |
how close the difference between the pseudo prior probabilities shoud be at the initial parameters. Defaults to 0.01 |
Estimate of scaling factor of scale_model_type posterior distributions sd- assuming they are normally distributed
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.