psi.lnlike: Calculate the Likelihood of a Model

Description Usage Arguments Value Examples

Description

Calculate the total likelihood given two time-series: the observed one and predicted (dat and mod respectively).

Usage

1
psi.lnlike(mod, dat)

Arguments

mod

Numeric time series with the predicted number of cases

dat

Integer time series with the observed number of cases

Value

myLLK The total likelihood of all the data points

Examples

1
2
psi.lnlike(mod=model_rtn, dat = mydata$model$epi)
psi.lnlike(mod=model_rtn, dat = mydata$fit$epi[,iregion])

predsci/DICE documentation built on Aug. 9, 2019, 9:41 a.m.