nb_log_likelihood_Rt_piece | R Documentation |
Calculates negative-binomial log-likelhood within a single Rt piece
nb_log_likelihood_Rt_piece(Rt, kappa, w, onset_times, cases_df)
Rt |
an Rt value for the piece |
kappa |
overdispersion parameter |
w |
weights corresponding to the generation times |
onset_times |
the onset times corresponding to the piece |
cases_df |
a tibble with 'cases_true' as a column which has been ordered so that the latest onset times are at the bottom |
a log-likelihood of the piece
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.