bets.likelihood.unconditional: Approximate profile likelihood

Description Usage Arguments Value

View source: R/likelihood_inference.R

Description

Approximate profile likelihood

Usage

1
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.


bets.covid19 documentation built on July 2, 2020, 2:14 a.m.