This function provides a first estimate of the death rate, to faciliate convergence of the main algorithm.
getKappaFun(
tTarget,
Q,
D,
guess,
ftol,
ptol,
gtol,
epsfcn,
factor,
maxfev,
maxiter,
nprint,
trace
)time vector
target time-histories of the quarantined cases
target time-histories of the dead 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 death 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.