define_abc_prms | R Documentation |
Determine the required parameters (iteration, acceptance and weight) for the ABC fitting process. The weights specify the importance of different data sources utilized simultaneously in the fitting process. There are three data sources for simultaneous fitting: reported cases, viral concentration in wastewater and hospitalization (admission or occupancy).
define_abc_prms(iter, accept, case.weight, ww.weight, hosp.weight, hosp.type)
iter |
Numeric. Number of prior iterations for ABC fitting. |
accept |
Numeric. Acceptance ratio (so the number of posterior
samples is |
case.weight |
Numeric, float. Relative weight for clinical cases |
ww.weight |
Numeric, float. Relative weigth for viral concentration in wastewater. |
hosp.weight |
Numeric, float. Relative weight for hospitalization. |
hosp.type |
String. Type of hospitalization data:
|
Nested list of ABC parameters.
define_fit_priors()
, fit()
prm.abc = define_abc_prms(
iter = 1e4,
accept = 1e-2,
case.weight = 1.0,
ww.weight = 2.5,
hosp.weight = 1.0,
hosp.type = 'hosp.adm')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.