pbla_std_gsem: Standard PBLA (General SEM)

Description Usage Arguments Value

View source: R/pbla_std_gsem.R

Description

Compute pair-based likelihood approximation. Supports Erlang infectious periods.

Usage

1
pbla_std_gsem(r, beta, gamma, N, m = 1, A = 1, lag = 0)

Arguments

r

numeric vector of increasing removal times

beta

numeric rate

gamma

numeric rate

N

integer population size

m

positive integer shape

A

integer patient zeros

lag

numeric fixed lag

Value

negative log likelihood


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