View source: R/forecasting_practical.R
calc_log_likelihood | R Documentation |
calc_log_likelihood
calculates the log likelihood of the incidence data
given model prediction (assuming Poisson intensity)
calc_log_likelihood(data, model_prediction)
data |
numeric vector: incidence data |
model_prediction |
numeric vector of same length as |
log likelihood: numeric vector of length 1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.