The distribution function for the AoI is given by $$F_A(\alpha | a, \tau, h) = \int_0^\alpha f_A(\alpha, a, \tau | h) d \alpha$$

pAoI(alpha, a, FoIpar, tau = 0, hhat = 1, r = 1/200)

Arguments

alpha

the age of an infection, \(\alpha\)

a

host age

FoIpar

a compound list to compute \(h_\tau(a)\)

tau

the host cohort's birthday

hhat

scaling parameter for FoI

r

the clearance rate for a simple infection

Value

a numeric vector of length(alpha)