View source: R/probabilities.R
state_process_nb_logp_all_onsets | R Documentation |
Specifically, this assumes the probability is of the form:
\prod_tau=1^T NB(cases_true_tau|Rt * \sum_s=1^tau-1 w_s cases_true_tau-s, kappa)
state_process_nb_logp_all_onsets(kappa, cases_history_rt_df, serial_parameters)
kappa |
an overdispersion parameter value (if <= 0, returns -Inf) |
cases_history_rt_df |
a tibble with three columns: 'time_onset', 'cases_true' and 'Rt' |
serial_parameters |
named list of 'mean' and 'sd' of gamma distribution characterising the serial interval distribution |
a log-probability value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.