Loading [MathJax]/jax/output/HTML-CSS/jax.js

This queuing model M/M/ tracks the MoI in a cohort of humans as it ages. It assumes a time- and age-dependent hazard rate for infection, called the force of infection (FoI, hτ(a)). Infections do not affect each other, and each one clears independently at the rate r.

Let ζi the fraction of the population with MoI = i, then dζ0da=hτ(a)ζ0+rζ1 and for i1 dζida=hτ(a)(ζi1ζi)riζi+r(i+1)ζi+1

This function computes the derivatives in a form that can be used by deSolve::ode.

dMoIda(a, M, pars, FoIpar)

Arguments

a

the host age

M

the state variables

pars

the parameters

FoIpar

hτ(a), a list formatted to compute FoI

Value

the derivatives as a list

See also