AI-generated content
This chapter was automatically generated by an AI agent and has not been reviewed by a human. Read with caution.
Contagion¶
Susceptible individuals can acquire a virus from any of their infected connections. This page describes the mathematical model governing disease transmission in epiworld.
Transmission Probability¶
The probability that susceptible individual \(i\) gets virus \(v\) from individual \(j\) depends on three factors:
- Transmissibility of the virus, \(P_v \in [0,1]\)
- Contagion reduction factor of individual \(i\), \(C_r \in [0,1]\)
- Transmission reduction factor of the host \(j\), \(T_r \in [0,1]\)
The last two factors are computed from \(i\) and \(j\)'s tools (e.g., vaccines, masks). The resulting probability of \(i\) getting virus \(v\) from \(j\) is:
Single-Virus Constraint¶
By default, epiworld assumes that individuals can acquire at most one virus at a time. Under this constraint, the actual probability that agent \(i\) acquires virus \(v\) from agent \(j\) is:
This is calculated using Bayes' rule:
Computing the Probabilities¶
The component probabilities are defined as:
This formulation ensures that viruses with higher transmissibility are more likely to be acquired when competing with other variants.