Inspired by the SARS-CoV-2 pathogen and COVID-19, I am writing an agent-based simulation to allow the modeling of heterogeneous populations (e.g., some folks abide by quarantine, some resist, or some are more likely to die, some aren't).
Naturally, I want to be able to run a baseline model that approximates the traditional understanding of infection trajectories, and so I built in a function to set initial parameters based on the $R_0$ or doubling time in the SIR model. I'm having a really hard time interpreting and understanding the transmissibility term ($\tau$ in particular, which is a component of $\beta$).
I can set parameters on my current version to approximate the same peak and timeframe of the SIR model, but the actual trajectories of infected/susceptible/recovered during the infection are very different – so I need help better understanding this term.
SIR Equation for New Infections
Terms rearranged from https://code-for-philly.gitbook.io/chime/what-is-chime/sir-modeling
$I_{t+1} = I_t - \gamma*I_t + \beta*I_t*S_t$
Interpretation
(# infections tomorrow) = (#infections today) - (# infections recovered today) + (new infections today)
And New Infections = $\beta$ * (# infections today) (# Susceptible today)
And $\beta = c * \tau$; or contacts x 'transmissibility'
c is easy enough: number of candidate contacts per day in which the infection could be spread.
Different sources describe tau and beta differently: infectivity, virulence, transmissibility… $\tau$ is a characteristic of the pathogen that appears to be constant in the models I've looked at. I can use existing formulas to calculate it from the doubling time and I can calculate it from the $R_0$ based on existing equations, but being able to calculate a value doesn't really mean anything.
Subterm interpretation
I * c
= the total number of contacts-that-can-transmit-the-infection today. Makes sense, and c is a attribute of the individual and can be modified if, say, people socially distance.
tau
: I want tau to be "the average likelihood of spread during an unprotected, meaningful social interaction." That meets the other assumptions: it is a relatively constant attribute of the pathogen, or at least the pathogen given the current timeframe. I was considering building into the agent-based model the ability for tau to decrease during the summer as some estimate due to higher humidity. Regardless, tau changes universally for the entire susceptible population, it's still an attribute of the infection * context, not related to human behavior like c
So then the infection term (beta * I * S
) equals (c*I) * tau * S
, or [infected contacts today] * [spread per contact] * [raw susceptible population]
That only seems to make sense if there is exactly one infected individual and the entire population is susceptible. Right, because this basically needs to break down to the percentage of the susceptible population that gets newly infected TODAY due to the current infection.
Consider a point on the upswing and downswing of the infection in which the same number of people are infected (I
) and all the other assumptions are true:
Infection term during the upswing = c * tau * I * S_up
Infection term during the downswing = c * tau * I * S_down
The number of infected contacts (c
) for the day are the same because the (unknowingly) infected people are doing all the same things.
Tau
is constant because it's a characteristic of the pathogen or infection…
S
is the only thing that differs. And it's not just that the susceptible population is different, but the chance that you are interacting with a susceptible individual is much less likely because everyone is already infected or already recovered. And this would sensibly change the trajectory of the infection over time.
It seems like in the (c * I) * tau * S equation, instead, the interpretation of tau is "the likelihood that any susceptible member of the population is infected by any contact that the infected person has," regardless of whether infected people actually are in contact with susceptible people. This seems to have a weird assumption that anyone susceptible is equally likely to become infected, even if other criteria make that unlikely. In practical terms, it includes me kissing the person behind the counter who already recovered and then kisses their partner who was never infected, who then gets it. And the implications of this are significant. Sure, fewer people get infected on the downswing because S_down < S_up, but it should be many fewer people because S_down < S_up AND a larger proportion of the c contacts are not candidate infections because they happen between people who cannot be infected.
Why isn't the equation something more like:
[I:infected people] * [c:contacts/day] * [tau:likelihood-of-infection/contact] * [P: proportion of contacts with susceptible people left in the population ]
What am I missing? I can't effectively set parameters in my agent-based simulation to approximate the general SIR equation until I can better understand this parameter.
Tau
is constant because it is a characteristic of the disease." Leaps out as a simplifying assumption, but not as reality: first, the pathogen causing a given disease varies in its infectiousness based on (1) environmental conditions, (2) host characteristics, (3) ecological relationships, (4) individual virus characteristics (e.g., genetic variation); second "the" disease is a generalization applied to a constellation of signs and symptoms, in the case of COVID-19 none of which neccesarily result from infection with SARS-CoV-2, many of which are common, many of which are not. $\endgroup$