Description Usage Arguments Value Examples
Calculate the deviance given two time-series: the observed one and predicted (dat and mod respectively).
1 | psi.lnlike.deviance(mod, dat)
|
mod |
Numeric time series with the predicted number of cases |
dat |
Integer time series with the observed number of cases |
devi the deviance of the model
1 2 | psi.lnlike.deviance(mod=model_rtn, dat = mydata$model$epi)
psi.lnlike.deviance(mod=model_rtn, dat = mydata$fit$epi[,iregion])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.