pbla_ed: Eichner-Dietz PBLA

Description Usage Arguments Value

View source: R/pbla_ed.R

Description

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

Usage

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

Arguments

r

numeric vector of increasing removal times

beta

matrix of rates

gamma

numeric vector of rates

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.