Description Usage Arguments Value
View source: R/likelihood_inference.R
Approximate profile likelihood
1 | bets.likelihood.unconditional(params, data, params_init = NULL, L = NULL)
|
params |
A vector of parameters (names: rho, r, ip_q50, ip_q95) |
data |
A data frame with three columns: B, E, S |
params_init |
Initial parameters for computing the profile likelihood |
L |
Day of travel quarantine |
When params
contains all the parameters (rho, r, ip_q50, ip_q95), returns the approximate log-likelihood of data
. When params
contains some but not all the parameters, returns the profile log-likelihood.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.