Description Usage Arguments Value
Computes the fit value
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | optimize.SEIRV(
bound.fit,
incidence,
attackRatesToMatch,
SEIRModel.optimize,
parameters.to.fit.names,
parameters.SEIR.fixed.names,
symptomaticIncidence = FALSE,
fractionSymptomatic = 0.5,
seedWeeksBeforeIncidence,
weightIncidenceTimeseries = 1,
weightAttackRates = 1,
weightOverallAttackRate = 10,
...
)
|
bound.fit |
Guess for current iteration. |
incidence |
Overall incidence curve to match |
attackRatesToMatch |
Final attack rates (by age group) to match |
SEIRModel.optimize |
SEIRModel function that we should use to simulate outbreak. |
parameters.to.fit.names |
Names of parameters to fit. |
parameters.SEIR.fixed.names |
Names of fixed parameters for SEIR model. |
symptomaticIncidence |
Is the incidence serological or symptomatic. Defaults to false (serological). |
fractionSymptomatic |
The fraction of cases that are symptomatic. Not a parameter to fit. Only used if symptomaticIncidence is set to true. Defaults to 0.5. |
seedWeeksBeforeIncidence |
Days before the start of the supplied incidence curve to seed initial infections. |
weightIncidenceTimeseries |
What relative weight to the penalty function should the incidence timeseries receive? Defaults to 1. |
weightAttackRates |
What relative weight to the penalty function should the age-specific attack rates receive? Defaults to 1. |
weightOverallAttackRate |
What relative weight to the penalty function should the overall attack rate receive? Defaults to 10. |
Fit value for optim
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.