bets.likelihood.unconditional {bets.covid19}R Documentation

Approximate profile likelihood

Description

Approximate profile likelihood

Usage

bets.likelihood.unconditional(params, data, params_init = NULL, L = NULL)

Arguments

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

Value

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.


[Package bets.covid19 version 1.0.0 Index]