bets.likelihood.conditional: (Profile) Conditional likelihood given B and E

Description Usage Arguments Value

View source: R/likelihood_inference.R

Description

(Profile) Conditional likelihood given B and E

Usage

1
2
3
4
5
6
7
bets.likelihood.conditional(
  params,
  data,
  M = Inf,
  r = NULL,
  params_init = NULL
)

Arguments

params

A vector of parameters (names: r, ip_q50, ip_q95)

data

A data frame with three columns: B, E, S

M

Right truncation for symptom onset

r

Parameter for epidemic growth (overrides {params})

params_init

Initial parameters for computing the profile likelihood

Value

Conditional log-likelihood.


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