ModelSIS#
- class epiworldpy.epimodels.ModelSIS(self: epiworldpy._core.epimodels.ModelSIS, name: str, prevalence: SupportsFloat | SupportsIndex, transmission_rate: SupportsFloat | SupportsIndex, recovery_rate: SupportsFloat | SupportsIndex)#
Bases:
ModelSusceptible-Infected-Susceptible (SIS) model on a network.
States:
Susceptible,Infected. Recovered agents become susceptible again.The model has no agents until a population is added, for example with
agents_smallworld().Create a SIS 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.
recovery_rate (float) – Daily probability of recovery, between 0 and 1.