Description Usage Arguments Value Examples
Setup all the required parameters for the MCMC procedure on the model data. These include: The min/max and step size values for all the parameters, the initial values for all the parameters, a vector with the list of parameters that will be optimized, the total number of parameters and the number of parameters that will be optimized. The code also allocates an array, tab, where the history of the MCMC chain is recorded.
1 2 |
mydata |
- dataframe with all the data for this DICE run |
opt.list |
A Logical list with TRUE or FALSE values for all the parameters supported by DICE. These values are based on the model used for the basic reproduction number. |
run.list |
A list with parameters needed for the MCMC procedure |
tps |
A numeric array of days for the disease season - the day numbers are consistent with the weeks/months |
par_names |
- An array with the all parameters ordered as required by DICE |
A list with the following arguments
Minimum values for all the parameters supported by DICE
Maximum values for all the parameters supported by DICE
Step-size for MCMC for all the parameters supported by DICE
Initial values for all the parameters supported by DICE
Base for log values - currently code assumes base 10
Array of integers with 1, use log base, or 0 - do not
Integer-the total number of parameters recognized by the DICE code
Integer-the number of parameters that will be optimized
1 2 | setup.model.mcmc{mydata = mydata,
run.list = run.list, opt.list = opt.list, tps = tps, par_names = par_names}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.