fit.epid.optim | R Documentation |
An objective function, wrapped around fit.epid()
, that will be passed to
stats::optim()
to jointly estimate the best-fitting R and GT distributions
in the context of the Maximum-Likelihood method from est.R0.ML()
.
fit.epid.optim(par = c(1, 1, 1), ...)
par |
A vector of three numerical values to be optimized, in the order |
... |
Parameters passed to inner functions. |
For internal use. Called from est.R0.ML()
.
This is a wrapper function used to pass proper arguments to fit.epid()
when
the ML method is used to estimate simultaneously R and GT. This function is
used as objective to maximize by stats::optim()
.
A Poisson log-likelihood from fit.epid()
.
Pierre-Yves Boelle, Thomas Obadia
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.