Description Usage Arguments Value Examples
calc.mech.err
calculates the error:
mean absoulte error, mean relative error and mean error relative to the NULL model for each
month/week for which a fit/forecast was calculated
1 2 | calc.mech.err(tables = NULL, profiles = NULL, nfit = NULL,
state_id = NULL)
|
tables |
A list with all the data tables - both observed and fitted/forecasted |
profiles |
An array with 10,000 selected dengue profiles from the MCMC fitting procedure |
nfit |
An integer - the number of data points used in the fit |
state_id |
The abbreviation of the state/region |
tables An updated tables list with the nfit
row of the SEIR errors filled
1 | calc.mech.err(tables=tables, profiles=profiles, nfit= nfit, state_id = state_id)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.