fit.chickenpox.wallinga: Fit the chickenpox data

Description Usage Arguments Value

Description

Fit a model with a free contact rate between <5 year olds to the England & Wales chickenpox data, assuming everything is in equilibrium every year (a method similar to Wallinga, Teunis and Kretzschmar, 2006, "Using Data on Social Contacts to Estimate Age-specific Transmission Parameters for Respiratory-spread Infectious Agents", Am J Epidemiol, 164, 936-944. This estimates q, the reporting rate, and the mixing between children every year.

Usage

1
fit.chickenpox.wallinga(years = NULL, contact.matrix = NULL)

Arguments

years

The years to fit (of not given, fit all years)

contact.matrix

The contact matrix to use (if not given, sample one from UK Polymod)

Value

A list with the best fits (q, rep and child.mixing), the used contact.matrix, and the return of fitting q and rep with any messages and convergence information that may have been reported.


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