Description Usage Arguments Details Value
The deviance for a model is 2(log L - log L0), where L is the likelihood value for the model and L0 is the likelihood for the saturated model (a hypothetical model that gets every observation exactly correct).
1 | ensemble_deviance(filterfit)
|
filterfit |
Filter-fit object for the ensemble. The history must be
included in order to calculate the deviance (see
|
Theoretically, we should compute the expected observations by averaging the prevalence over the week corresponding to the observation, but we get a pretty good approximation to that by just taking the point estimates at the end of the week.
The input object, with a new entry deviance
added.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.