sir_example: Example dataset for a multi-group SIR model

Description Usage Format

Description

A model for the spread of a seasonal influenza epidemics in two groups over five seasons.

Usage

1

Format

A list containing the following variables:

equations

The ODE equations describing the system, including ten equations for the susceptible dynamics (2 groups * 5 seasons) and ten equations for the infected dynamics.

beta

The 2x2 transmission matrix parameters (in time unit of weeks).

gamma

The recovery rate parameter (in time unit of weeks).

kappa

The relative infectiousness of seasons 2-5 compared to season 1.

S0

The initial conditions for the susceptible variables.

I0

The initial conditions for the infected variables.

time

Times in which the observations were made (in weeks).

obs

A list of observations of the infected variables, generated using Gaussian measurement error with sigma=1e-3.


simode documentation built on July 1, 2020, 10:30 p.m.