endemic.age.dist: calculates the age distribution in an endemic setting using...

Description Usage Arguments Value

Description

calculates the age distribution in an endemic setting using the iterative method of Wallinga (2006)

Usage

1
2
endemic.age.dist(contact.matrix, q, child.mixing = NA, reporting = NA,
  vaccination = NA, incidence.start = 0.01, tol = 1e-05)

Arguments

contact.matrix:

social contact matrix; this must have the age groups as column names (with a comma between limits)

q:

vector of probabilies of transmission per contact

child.mixing:

vector of first entries of contact matrix

reporting:

vector of reporting probabilities

vaccination:

proportion vaccinated (between 0 and 1) in each age group

incidence.start:

starting value for inidence

tol:

tolerance for stopping the iteration

Value

the endemic age distribution, a list composed of: y: incidence in each age group normalised.y: proportion of cases in each age group lambda: force of infection by age group prop.immune: proportion immune in each age group prop.immune.age: proportion immune at each age


sbfnk/dynmod documentation built on May 29, 2019, 3:21 p.m.