Last month my collaborators, Jerome Levesque and David Shaw, and I built a branching process model for describing Covid-19 propagation in communities. In my previous blog post, I gave a heuristic description of how the model works. In this post, I want to expand on some of the technical aspects of the model and show how the model can be calibrated to data.
The basic idea behind the model is that an infected person creates new infections throughout her communicable period. That is, an infected person “branches” as she generates “offspring”. This model is an approximation of how a communicable disease like Covid-19 spreads. In our model, we assume that we have an infinite reservoir of susceptible people for the virus to infect. In reality, the susceptible population declines – over periods of time that are much longer than the communicable period, the recovered population pushes back on the infection process as herd immunity builds. SIR and other compartmental models capture this effect. But over the short term, and especially when an outbreak first starts, disease propagation really does look like a branching process. The nice thing about branching processes is that they are stochastic, and have lots of amazing and deep relationships that allow you to connect observations back to the underlying mechanisms of propagation in an identifiable way.
In our model, both the number of new infections and the length of the communicable period are random. Given a communicable period, we model the number of infectious generated, , as a compound Poisson process,
where is the number of infection events that arrived up to time , and is the number infected at each infection event. We model with the logarithmic distribution,
which has mean, . The infection events arrive exponentially distributed in time with arrival rate . The characteristic function for reads,
with and thus follows a negative binomial process,
The negative binomial process is important here. Clinical observations suggest that Covid-19 is spread mostly by a minority of people in large quantities. Research suggests that the negative binomial distribution describes the number of infections from infected individuals. In our process, during a communicable period, , an infected individual infects people based on a draw from the negative binomial with mean . The infection events occur continuously in time according to the Poisson arrivals. However, the communicable period, , is in actuality a random variable, , which we model as a gamma process,
which has a mean of . By promoting the communicable period to a random variable, the negative binomial process changes into a Levy process with characteristic function,
where , the Levy symbol, and , the Laplace exponent, are respectively given by,
is the random number of people infected by a single infected individual over her random communicable period and is further over-dispersed relative to a pure negative binomial process, getting us closer to driving propagation through super-spreader events . The characteristic function in eq.(6) for the number of infections from a single infected person gives us the entire model. The basic reproduction number is,
From the characteristic function we can compute the total number of infections in the population through renewal theory. Given a random characteristic , such as the number of infectious individuals at time , (e.g., where is the random communicable period) the expectation of the process follows,
where is the counting process (see our paper for details). When an outbreak is underway, the asymptotic behaviour for the expected number of counts is,
The parameter is called the Malthusian parameter and it controls the exponential growth of the process. Because the renewal equation gives us eq.(11), we can build a Bayesian hierarchical model for inference with just cumulative count data. We take US county data, curated by the New York Times, to give us an estimate of the Malthusian parameter and therefore the local -effective across the United States. We use clinical data to set the parameters of the gamma distribution that controls the communicable period. We treat the counties as random effects and estimate the model using Gibbs sampling in JAGS. Our estimation model is,
where is the county label; the variance parameters use half-Cauchy priors and the fixed and random effects use normal priors. We estimate the model and generate posterior distributions for all parameters. The result for the United States using data over the summer is the figure below:
Over the mid-summer, we see that the geographical distribution of across the US singles out the Midwestern states and Hawaii as hot-spots while Arizona sees no county with exponential growth. We have the beginnings of a US county based app which we hope to extend to other countries around the world. Unfortunately, count data on its own does not allow us to resolve the parameters of the compound Poisson process separately.
If we have complete information, which might be possible in a small community setting, like northern communities in Canada, prisons, schools, or offices, we can build a Gibbs sampler to estimate all the model parameters from data without having to rely on the asymptotic solution of the renewal equation.
Define a complete history of an outbreak as a set of observations taking the form of a 6-tuple:
: index of individual, : index of parent, : time of birth, : time of death, : number of offspring birth events, : number of offspring.
With the following summary statistics:
we can build a Gibbs sampler over the models parameters as follows:
where are hyper-parameters.
Over periods of time that are comparable to the communicable window, such that increasing herd immunity effects are negligible, a pure branching process can describe the propagation of Covid-19. We have built a model that matches the features of this disease – high variance in infection counts from infected individuals with a random communicable period. We see promise in our model’s application to small population settings as an outbreak gets started.