logs_nbmix | R Documentation |
dnbmix
The function logs_nbmix
computes the logarithmic score of forecasts
based on mixtures of negative binomial (or Poisson) distributions via
dnbmix()
. This is different from the kernel density estimation
approach available via scores_sample()
.
logs_nbmix(observed, means, size)
observed |
a vector of observed counts during the simulation period. |
means |
a |
size |
the dispersion parameter of the |
a vector 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.