Compute the Poisson log - likelihood between epid and epidemic simulated with R and GT.
fit.epid(log.R, epid,
GT, import, pred = FALSE,
offset = 0)Returns a Poisson log-likelihood with given R and GT
log Reproduction ratio
epidemic
Generation time distribution.
Vector of imported cases.
Returns either the predictive curve or the log-likelihood value (default)
to offset (confidence interval)
Pierre-Yves Boelle, Thomas Obadia
For internal use. Called by est.R0.ML.
For internal use. Called from est.ML.R0. Compute the Poisson likelihood of epidemic.