logs_hhh4sims | R Documentation |
dhhh4sims
The function logs_hhh4sims
computes the logarithmic score of the
forecast distributions based on a surveillance::hhh4()
model
and
simulations (sims
) thereof. The
forecast distributions are obtained via dhhh4sims()
as sequential
mixtures of negative binomial (or Poisson) distributions, which is
different from the kernel density estimation approach employed in
scores_sample()
.
logs_hhh4sims(observed = NULL, sims, model)
observed |
a vector or matrix of observed counts during the
simulation period. By default ( |
sims |
a |
model |
the |
a vector or matrix of log-scores for the observed
counts.
Sebastian Meyer
scores_sample()
for an alternative approach of calculating
the logarithmic score from simulation-based forecasts
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.