Skip to contents

The density of the AoI is given by $$f_A(\alpha | a, \bday, h) = \frac{\int_0^a z(\alpha, a)}{m_\bday(a)}$$

Usage

dAoI(alpha, a, FoI_a, bday = 0, hhat = 1, r = 1/200)

Arguments

alpha

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

a

cohort age

FoI_a

a cohort trace function

bday

the cohort birthday

hhat

scaling parameter for the FoI

r

the clearance rate for a simple infection

Value

a numeric vector of length(alpha)