calcLLK: Calculate the Likelihood of each Data Point

Description Usage Arguments Value Examples

Description

Calculate the likelihood of each data point given two time-series: the observed one and predicted (dat and mod respectively).

Usage

1
calcLLK(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 A vector with the likelihood value of each data point

Examples

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

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