| log_likelihood_cases | R Documentation | 
The model results in a prediction for the number of new cases in a certain age group and for a certain week. This function sum the log likelihood for the predicted cases for each week and age group given the data on reported Influenza Like Illnesses and confirmed samples.
log_likelihood_cases(epsilon, psi, predicted, population_size, ili_cases, ili_monitored, confirmed_positive, confirmed_samples, abs_err = 1e-05)
| epsilon | Parameter for the probability distribution by age group | 
| psi | Parameter for the probability distribution | 
| predicted | Number of cases predicted by your model for each week and age group | 
| population_size | The total population size in the age groups | 
| ili_cases | The number of Influenza Like Illness cases by week and age group | 
| ili_monitored | The size of the population monitored for ILI by week and age group | 
| confirmed_positive | The number of samples positive for the Influenza strain by week and age group | 
| confirmed_samples | Number of samples tested for the Influenza strain by week and age group ' | 
| abs_err | Absolute error of the likelihood approximation. By default a value of 1e-5 is used, lower is more precise, but slower. | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.