ModelSEIRD

Contents

ModelSEIRD#

class epiworldpy.epimodels.ModelSEIRD(self: epiworldpy._core.epimodels.ModelSEIRD, name: str, prevalence: SupportsFloat | SupportsIndex, transmission_rate: SupportsFloat | SupportsIndex, incubation_days: SupportsFloat | SupportsIndex, recovery_rate: SupportsFloat | SupportsIndex, death_rate: SupportsFloat | SupportsIndex)#

Bases: Model

Susceptible-Exposed-Infected-Recovered-Deceased (SEIRD) model on a network.

States: Susceptible, Exposed, Infected, Removed, Deceased.

The model has no agents until a population is added, for example with agents_smallworld().

Create a SEIRD model.

Parameters:
  • name (str) – Name of the virus.

  • prevalence (float) – Initial proportion of agents with the virus.

  • transmission_rate (float) – Probability of transmission per contact, between 0 and 1.

  • incubation_days (float) – Average number of days in the exposed state; greater than 0.

  • recovery_rate (float) – Daily probability of recovery, between 0 and 1.

  • death_rate (float) – Daily probability of death, between 0 and 1.