pbla_ed_gsem: Eichner-Dietz PBLA (General SEM)

Description Usage Arguments Value

View source: R/pbla_ed_gsem.R

Description

Compute the Eichner-Dietz likelihood approximation. Supports Erlang infectious periods.

Usage

1
pbla_ed_gsem(r, beta, gamma, N, m = 1, nt = 100, mint = -2)

Arguments

r

numeric vector of increasing removal times

beta

numeric rate

gamma

numeric rate

m

positive integer shape

nt

integer points for trapezoidal integration

mint

numeric lower bound for trapezoidal integration

Value

negative log likelihood


sdtemple/pblas documentation built on Jan. 8, 2022, 8:36 a.m.