pbla_std: Standard PBLA

Description Usage Arguments Value

View source: R/pbla_std.R

Description

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

Usage

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

Arguments

r

numeric vector of increasing removal times

beta

matrix of rates

gamma

numeric vector of rates

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.