getKappaFun {genSEIR}R Documentation

Estimate Death Rate

Description

This function provides a first estimate of the death rate, to faciliate convergence of the main algorithm.

Usage

getKappaFun(
  tTarget,
  Q,
  D,
  guess,
  ftol,
  ptol,
  gtol,
  epsfcn,
  factor,
  maxfev,
  maxiter,
  nprint,
  trace
)

Arguments

tTarget

time vector

Q

target time-histories of the quarantined cases

D

target time-histories of the dead cases

guess

initial guess parameters for kappa

ftol

nls.lm.control object. non-negative numeric. Default is 1e-6

ptol

nls.lm.control object. non-negative numeric. Default is 1e-6

gtol

nls.lm.control object. non-negative numeric. Default is 1e-6

epsfcn

nls.lm.control object. Default is 0.001

factor

nls.lm.control object. Default is 100

maxfev

nls.lm.control object. Default is 1000

maxiter

nls.lm.control object. Default is 100

nprint

nls.lm.control object. Default is 1

trace

Set TRUE to trace iteration results

Value

vector of estimation and optimization function for the death rate

Author(s)

Selcuk Korkmaz, selcukorkmaz@gmail.com

References

Peng, L., Yang, W., Zhang, D., Zhuge, C., Hong, L. 2020. “Epidemic analysis of COVID-19 in China by dynamical modeling”, arXiv preprint arXiv:2002.06563.

https://www.mathworks.com/matlabcentral/fileexchange/74545-generalized-seir-epidemic-model-fitting-and-computation

See Also

SEIQRDP fit_SEIQRDP


[Package genSEIR version 0.1.1 Index]