SEIR_prob: Transition probabilities of an SEIR process

View source: R/SEIR_prob.R

SEIR_probR Documentation

Transition probabilities of an SEIR process

Description

Computes the transition pobabilities of an SIR process using the bivariate birth process representation

Usage

SEIR_prob(t, alpha, beta, kappa, S0, E0, I0, nSE, nEI, nIR,
  direction = c("Forward", "Backward"), nblocks = 20, tol = 1e-12,
  computeMode = 0, nThreads = 4)

Arguments

t

time

alpha

removal rate

beta

infection rate

kappa

rate at which an exposed person becomes infective

S0

initial susceptible population

E0

initial exposed population

I0

initial infectious population

nSE

number of infection events

nEI

number of events at which an exposed person becomes infective

nIR

number of removal events

direction

direction of the transition probabilities (either Forward or Backward)

nblocks

number of blocks

tol

tolerance

computeMode

computation mode

nThreads

number of threads

Value

a matrix of the transition probabilities


msuchard/MultiBD documentation built on May 19, 2024, 9:30 p.m.