This function provides a first estimate of the recovery rate, to faciliate convergence of the main algorithm.
getLambdaFun(
tTarget,
Q,
R,
guess,
ftol,
ptol,
gtol,
epsfcn,
factor,
maxfev,
maxiter,
nprint,
trace
)target time vector
target time-histories of the quarantined cases
target time-histories of the recovered cases
initial guess parameters for kappa
nls.lm.control object. non-negative numeric. Default is 1e-6
nls.lm.control object. non-negative numeric. Default is 1e-6
nls.lm.control object. non-negative numeric. Default is 1e-6
nls.lm.control object. Default is 0.001
nls.lm.control object. Default is 100
nls.lm.control object. Default is 1000
nls.lm.control object. Default is 100
nls.lm.control object. Default is 1
set TRUE to trace iteration results
vector of estimation and optimization function for the recovery rate
Peng, L., Yang, W., Zhang, D., Zhuge, C., Hong, L. 2020. <U+201C>Epidemic analysis of COVID-19 in China by dynamical modeling<U+201D>, arXiv preprint arXiv:2002.06563.