Model formulation
We derive a closed system of ODE for x purely on the basis of the interpretation of binding sites (without explicitly taking into account i-level probabilities or p-level fractions). The relatively simple setting of a static network allows us to do so. We are able to consider a binding site as a separate and independent entity all throughout its susceptible life. Implicitly, this uses (2.8) below. One can show that the system of ODE for x indeed captures the appropriate large population limit of a stochastic SIR epidemic on a configuration network. This requires quite some work; see (Decreusefond et al. 2012; Barbour and Reinert 2013; Janson et al. 2014).
Consider a susceptible binding site and assume its owner does not become infected through one of its other \(n-1\) binding sites for the period under consideration. If a susceptible binding site is in state 2, it can become infected by the corresponding infectious partner. This happens at rate \(\beta \) and when it happens, the binding site is no longer susceptible so it ‘leaves’ the x-system. It is also possible that the infectious partner recovers. This happens at rate \(\gamma \). Finally, there is the possibility that a susceptible partner of a susceptible binding site becomes infectious (corresponding to a transition from state 1 to state 2). The rate at which this occurs depends on the number of infectious partners that this susceptible partner has. So here we use the mean field at distance one assumption: we average over all possibilities at the p-level to obtain one rate at which a susceptible partner of a susceptible binding site becomes infected. More specifically, we assume that there is a rate \(\beta \varLambda _-(t)\) at which a susceptible partner of a susceptible binding site becomes infected at time t. Here \(\varLambda _-(t)\) has the interpretation of the expected number of infectious partners of a susceptible partner of a susceptible individual. Inserting an expectation into a stochastic i-level model in order to lift it to the p-level is reminiscent of the work of Nåsell and Hirsch around 1972, see the book (Nåsell 1985)
Then, putting together the various assumptions described above, the dynamics of x is governed by the following system (please note that the environmental variable \(\varLambda _-\) is a p-level quantity that we have yet to specify):
$$\begin{aligned} \frac{dx(t)}{dt}&=M\big (\varLambda _-(t)\big )x(t), \end{aligned}$$
(2.1)
with ‘far past’ conditions
$$\begin{aligned} x_1(-\infty )&=1,\quad x_2(-\infty )=0=x_3(-\infty ), \end{aligned}$$
and
$$\begin{aligned} M(\varLambda _-)&=\begin{pmatrix}-\beta \varLambda _- &{}\quad 0&{}\quad 0\\ \beta \varLambda _-&{}\quad -(\beta +\gamma )&{}\quad 0\\ 0&{}\quad \gamma &{}\quad 0\end{pmatrix}. \end{aligned}$$
(2.2)
To express \(\varLambda _-\) in terms of x we use the interpretation. Consider a susceptible partner v of a susceptible individual u. Then, since u is susceptible, we know that v has at most \(n-1\) binding sites that are possibly in state 2 (i.e. occupied by infectious partners). Since v is known to be susceptible, also all its binding sites are susceptible (in the sense that their owner v is). The probability that a binding site is susceptible at time t is \(\bar{x}\) with
$$\begin{aligned} \bar{x}(t)=x_1(t)+x_2(t)+x_3(t) \end{aligned}$$
(2.3)
(recall (1.1) and note that in case I we have \(x_0(t)=0\)). The probability that a binding site is in state 2, given that the binding site is susceptible, is \(x_2(t)/\bar{x}(t)\). Therefore,
$$\begin{aligned} \varLambda _-(t)=(n-1)\frac{x_2(t)}{\bar{x}(t)}. \end{aligned}$$
(2.4)
By inserting (2.4) into (2.1) we find that the x-system is fully described by an ODE system in terms of the x-variables only:
$$\begin{aligned} \begin{aligned} x_1'&=-\beta (n-1)\frac{x_2}{\bar{x}}x_1\\ x_2'&=\beta (n-1)\frac{x_2}{\bar{x}}x_1-(\beta +\gamma )x_2\\ x_3'&=\gamma x_2, \end{aligned} \end{aligned}$$
(2.5)
with ‘far past’ conditions
$$\begin{aligned} x_1(-\infty )=1, \quad x_2(-\infty )=0=x_3(-\infty ). \end{aligned}$$
Remark 1
In the pioneering paper (Volz 2008) an equivalent system of three coupled ODE was introduced to describe the binding-site level of the model. The variables of Volz are connected to our x-system as follows: \(\theta =\bar{x}\), \(p_S=x_1/\bar{x}\) and \(p_I=x_2/\bar{x}\).
Systematic procedure for closing the feedback loop
Before analyzing (2.5) in the next section, we describe a systematic procedure, consisting of five steps, for deriving the complete model formulation. A key aim is to rederive the crucial relationship (2.4) in a manner that can be extended to the dynamic networks. Thus the present section serves to prepare for a quick and streamlined presentation of the cases II and III in Sects. 3 and 4, respectively. The various steps reveal the relation between binding site probabilities, i-level probabilities and p-level fractions. In addition we introduce some notation.
Step 1. Susceptible binding sites:
x-probabilities
The first step is to describe the dynamics of x while specifying the environmental variable \(\varLambda _-\) only conceptually, i.e. in terms of the interpretation. We then arrive at system (2.1)–(2.2).
Next, we introduce \(P_{(d, \varvec{k})}(t)\), denoting the fraction of the population with label \((d, \varvec{k})\). Here \(\varvec{k}=(k_1, k_2, k_3)\) denotes the number of partners of an individual with each of the different disease statuses, i.e. \(k_1\) susceptible, \(k_2\) infectious, and \(k_3\) recovered partners. Furthermore, \(d\in \{-, +, *\}\) denotes the disease status of the individual itself, with − corresponding to S, \(+\) to I, and \(*\) to R.
In the second step, the environmental variable \(\varLambda _-\) is, on the basis of its interpretation, redefined in terms of p-level fractions \(P_{(-, \varvec{k})}(t)\).
Step 2. Environmental variables: definition in terms of
p-level fractions
The mean field at distance one assumption concerns the environmental variable \(\varLambda _-\). This variable is interpreted as the mean number of infectious partners of a susceptible partner v of a susceptible individual u (in terms of Fig. 3: we envisage the uv-connection as a random choice among all such connections). We define it in terms of p-level fractions as follows:
$$\begin{aligned} \varLambda _-(t)=\sum _{\varvec{m}} m_2\ \frac{m_1P_{(-,\varvec{m})}(t)}{\sum _{\varvec{k}}k_1P_{(-,\varvec{k})}(t)}. \end{aligned}$$
(2.6)
Here the sums are over all possible configurations of \(\varvec{m}\) and \(\varvec{k}\) with \(m_1+m_2+m_3=n\), \(k_1+k_2+k_3=n\). The second factor in each term of this sum denotes the probability that a susceptible partner of a susceptible individual is in state \((-,\varvec{m})\). The number of infectious partners is then given by \(m_2\), and we find the expected number of infectious partners \(\varLambda _-\) by summing over all possibilities.
In the third step, we let \(p_{(-,\varvec{k})}(t)\) denote the probability that an individual is in state \((-,\varvec{k})\) at time t. This i-level probability can be expressed in terms of x-probabilities.
Step 3. i-level probabilities in terms of
x-probabilities
The probability that an individual is, at time t, susceptible with \(k_1\) susceptible, \(k_2\) infectious, and \(k_3\) recovered partners is given by the multinomial expression
$$\begin{aligned} p_{(-,\varvec{k})}(t)=\frac{n!}{k_1!\, k_2!\,k_3!}\left( x_1^{k_1}\, x_2^{k_2}\, x_3^{k_3}\right) (t) \end{aligned}$$
(2.7)
The solution of the x-system then gives us a complete Markovian description of the i-state dynamics of susceptible individuals.
In this setting of a static network age does not play a role. Therefore, i-level probabilities can immediately be linked to p-level fractions in step 4 below.
Step 4. p-level fractions in terms of
i-level probabilities
The i-level probabilities and p-level fractions coincide, i.e.
$$\begin{aligned} P_{(d,\varvec{k})}(t)=p_{(d,\varvec{k})}(t), \end{aligned}$$
(2.8)
\(d\in \{-,+,*\}\). In a way, individuals are interchangeable as they all start off in the same state at \(t=-\infty \).
Finally in the last step, by combining steps 2, 3, and 4, we can express \(\varLambda _-\) in terms of the x-probabilities.
Step 5. Environmental variables in terms of
x-probabilities (combining 2, 3, 4)
By combining (2.8), and (2.7) we find that \(\sum _{\varvec{m}} m_2m_1P_{(-,\varvec{m})}(t)=n(n-1)\left( x_1x_2\bar{x}^{n-2}\right) (t)\) and \(\sum _{\varvec{k}}k_1P_{(-,\varvec{k})}(t)=n \left( x_1\bar{x}^{n-1}\right) (t)\). Then definition (2.6) yields the same expression for \(\varLambda _-\) as (2.4).
Finally, steps 1 to 5 together yield the closed system (2.5) of ODE for x. The dynamics of the \(1/2(n+1)(n+2)\) i-level probabilities \(p_{(-,\varvec{k})}(t)\) are fully determined by the system of three ODE for x. We can use this three-dimensional system of ODE to determine r, \(R_0\), and the final size as we will show in Sect. 2.3. In this particular case of a static network, we can do even better by considering one renewal equation for \(\bar{x}\). This one equation then allows us to determine the epidemiological quantities as well. This is the topic of Sect. 2.5 where we consider epidemic spread on a static configuration network in greater generality.
Remark 2
One obtains the p-level ODE system by differentiation of (2.7) and use of (2.5) and (2.8). In doing so, one obtains a system of \(1/2(n+1)(n+2)\) ODE for the p-level fractions concerning individuals with a − disease status:
$$\begin{aligned} \frac{dP_{(-, k_1,k_2, k_3)}}{dt}&=-(\beta k_2+\gamma k_2+\beta \varLambda _-k_1)P_{(-,k_1,k_2, k_3)}+\gamma (k_2+1) P_{(-,k_1,k_2+1, k_3-1)}\\&\quad +\beta \varLambda _-(k_1+1)P_{(-,k_1+1,k_2-1, k_3)}, \end{aligned}$$
\(k_1+k_2+k_3=n\), with \(\varLambda _-\) defined by (2.6) (compare with Lindquist et al. 2011, Eq. (13)).
The beginning and end of an epidemic: \(\varvec{R_0}\), \(\varvec{r}\), and final epidemic size
In this section we consider the beginning and end of an epidemic. We first focus on \(R_0\) and r, so on the start of an epidemic.
Note that we can very easily find an expression for \(R_0\) from the interpretation: when infected individuals are rare, a newly infected individual has exactly \(n-1\) susceptible partners. It infects one such partner before recovering from infection with probability \(\beta /(\beta +\gamma )\). Therefore, the expected number of secondary infections caused by one newly infected individual is
$$\begin{aligned} R_0=\frac{\beta (n-1)}{\beta +\gamma }. \end{aligned}$$
(2.9)
We now rederive \(R_0\) and derive r from the binding site system (2.5).
Note that the p-level fractions \(P_{(-,\varvec{k})}(t)\) can be fully expressed in terms of the binding site level probabilities \(x_i\) (Eqs. (2.8), (2.7)). Furthermore, the \(P_{(-,\varvec{k})}(t)\) fractions, i.e. the fractions concerning individuals with a − disease status, form a closed system. Therefore, a threshold parameter for the disease free steady state of the binding-site system x is also a threshold parameter for the disease free steady state of the p-level system. (This argument extends to the dynamic network cases II and III in Sects. 3 and 4)
Linearization of system (2.5) in the disease free steady state \(\tilde{x}_1=1\), \(\tilde{x}_2=0=\tilde{x}_3\), yields a decoupled ODE for the linearization of the ODE for \(x_2\). To avoid any confusion, let \(\hat{x}_2\) denote the linearized
\(x_2\) variable. Then the linearization yields
$$\begin{aligned} \hat{x}_2'=\beta (n-1)\hat{x}_2-(\beta +\gamma )\hat{x}_2, \end{aligned}$$
with (for \(R_0>1\)) ‘far past’ behaviour \(\hat{x}_2(t)\sim e^{(\beta (n-1)-(\beta +\gamma ))t}\) for \(t\rightarrow -\infty \). In particular, the right-hand side of the ODE for \(\hat{x}_2\) depends only on \(\hat{x}_2\).
To illustrate the method used in case II and III in Sects. 3.3 and 4.3, we derive expressions for \(R_0\) and r from a special form of the characteristic equation. Variation of constants for the ODE of \(\hat{x}_2\) yields
$$\begin{aligned} \hat{x}_2(t)=\int _0^\infty e^{-(\beta +\gamma )\tau }\beta (n-1)\hat{x}_2(t-\tau )d\tau . \end{aligned}$$
Substituting the ansatz \(\hat{x}_2(t)=e^{\lambda t}\) yields the characteristic equation
$$\begin{aligned} 1=\int _0^\infty \beta e^{-(\beta +\gamma )\tau }(n-1)e^{-\lambda \tau }d\tau . \end{aligned}$$
Then there is a unique real root to this equation for \(\lambda \) that we denote by r and call the Malthusian parameter. Evaluating the integral we find that \(r=\beta (n-1)-(\beta +\gamma )\). Likewise, we can derive the expression (2.9) for \(R_0\) by evaluating the integral with \(\lambda =0\).
Next, we consider the final epidemic size. We do so by considering the dynamics of \(\bar{x}\) defined in (2.3). Recall (1.2), i.e. the probability that an individual is susceptible at time t, is given by \(\bar{x}(t)^n\). We observe that, by (2.8), \(\bar{x}(t)^n\) is also equal to the fraction of susceptible individuals in the population at time t (Alternatively, one can show that \(\sum _{\varvec{k}}P_{(-,\varvec{k})}(t)=\bar{x}(t)^n\) by combining (2.8) and (2.7)). In fact, it is possible to describe the dynamics of \(\bar{x}\) in terms of only \(\bar{x}\) itself. This was first observed in Miller (2011), where the Volz equations of (Volz 2008) were taken as a starting point. The most important observation is the consistency relation
$$\begin{aligned} x_1=\bar{x}^{n-1}. \end{aligned}$$
(2.10)
We can use the interpretation to derive (2.10); \(x_1\) is the probability that a susceptible binding site with owner u is occupied by a susceptible partner v, \(\bar{x}^{n-1}\) is the probability that v is susceptible given that it is a partner of a susceptible individual u (see also (2.27) below).
Then, using (2.10) together with algebraic manipulation of the ODE system (2.5) (see Miller 2011 for details), one is able to find a decoupled equation for \(\bar{x}\):
$$\begin{aligned} \bar{x}'=\beta \bar{x}^{n-1}-(\beta +\gamma )\bar{x}+\gamma . \end{aligned}$$
(2.11)
The fraction of susceptible individuals at the end of the outbreak is determined by the probability \(\bar{x}(\infty )\). Since \(\bar{x}\) satisfies (2.11) and \(\bar{x}(\infty )\) is a constant, we find that necessarily \(\bar{x}(\infty )\) is the unique solution in (0, 1) of
$$\begin{aligned} 0=\beta \bar{x}(\infty )^{n-1}-(\beta +\gamma )\bar{x}(\infty )+\gamma \end{aligned}$$
(2.12)
if \(R_0>1\). The final epidemic size is given by
$$\begin{aligned} 1-\bar{x}(\infty )^n. \end{aligned}$$
In Sect. 2.5 we show that one can actually describe the dynamics of the probability \(\bar{x}\) for deterministic epidemics on configuration networks for a much larger class of submodels for infectiousness. The SIR infection that we consider here is a very special case of the situation considered in Sect. 2.5. There we show that it is possible to derive a renewal equation for \(\bar{x}\). The final size equation is then obtained by simply taking the limit \(t\rightarrow \infty \). We highly recommend reading Sect. 2.5 to understand the derivation of the renewal equation for \(\bar{x}\) based on the interpretation of the model (with a minimum of calculations).
After susceptibility is lost
In the preceding section we have seen that the x-system (2.5) for susceptible binding sites is all that is needed to determine several epidemiological quantities of immediate interest. On the other hand, we might not only be interested in the fraction (1.2) of susceptibles in the population, but also in the dynamics of i-level probabilities \(p_{(d,\varvec{k})}(t)\) (and likewise p-level fractions \(P_{(d,\varvec{k})}(t)\) given by (2.8)) for \(d=+,*\).
So what happens after an individual becomes infected? We work out the details for infectious individuals and only briefly describe recovered individuals. Again, we are able to formulate the model following steps 1–5 of Sect. 2.2 (where the word ‘susceptible’ should be replaced by ‘infectious’ or ‘recovered’ whenever appropriate and step 3 should be replaced by a slightly different step 3’, but we will come back to this later on in this section). But now we need to take into account the exceptional binding site, i.e. the binding site through which infection was transmitted to the owner (see also Fig. 2).
In step 1 one considers the dynamics of infectious binding sites, i.e. binding sites having infectious owners. Suppose that the owner became infected at time \(t_+\) and that it does not recover in the period under consideration. Let \(y_i^\text {e}(t\mid t_+)\) denote the probability for the exceptional binding site to be in state i at time t, \(i=1,2,3\). Similarly, \(y_i(t\mid t_+)\) denotes the probability for a non-exceptional binding site to be in state i at time t, \(i=1,2,3\). Here the probabilities are defined only for \(t\ge t_+\). Note that y and \(y^\text {e}\) are probability vectors, i.e. the components are nonnegative and sum to one.
Instead of ‘far past’ conditions we now have to take into account the distribution of binding site states at time of infection \(t_+\). Whether or not an infectious binding site is exceptional has an influence on the state it has at epidemiological birth. Indeed, the exceptional binding site is in state 2 at time \(t_+\) with probability 1, while the distribution of the state of a non-exceptional binding site at time \(t_+\) is given by \(x(t_+)/\bar{x}(t_+)\), i.e. we have boundary conditions
$$\begin{aligned} \begin{aligned} y_1^\text {e}(t_+\mid t_+)&=0,&y_1(t_+\mid t_+)&=x_1(t_+)/\bar{x}(t_+),\\ y^\text {e}_2(t_+\mid t_+)&=1,&y_2(t_+\mid t_+)&=x_2(t_+)/\bar{x}(t_+),\\ y^\text {e}_3(t_+\mid t_+)&=0,&y_3(t_+\mid t_+)&=x_3(t_+)/\bar{x}(t_+). \end{aligned} \end{aligned}$$
(2.13)
The mean field at distance one assumption again plays a role. Here, we need to deal with the environmental variable \(\varLambda _+\) that is defined as the expected number of infectious partners of a susceptible partner of an infectious individual (in terms of Fig. 4: we envisage the uv connection as a random choice among all such connections, compare with Fig. 3). We can redefine \(\varLambda _+\) in terms of p-level fractions \(P_{(-,\varvec{k})}\) for susceptible individuals:
$$\begin{aligned} \varLambda _+(t)=\sum _{\varvec{m}} m_2\frac{m_2P_{(-, \varvec{m})}(t)}{\sum _{\varvec{k}} k_2P_{(-,\varvec{k})}(t)}. \end{aligned}$$
(2.14)
In particular, once again, \(\varLambda _+\) can be expressed in terms of x by combining steps 2, 3, and 4. Using (2.14), (2.8), and (2.7) we find that
$$\begin{aligned} \varLambda _+(t)=1+(n-1)\frac{x_2(t)}{\bar{x}(t)} \end{aligned}$$
(2.15)
(alternatively, one can find the same expression for \(\varLambda _+\) in terms of x-probabilities directly from the interpretation, exactly as before in the case of \(\varLambda _-\)).
The rates at which changes in the states (1, 2, 3) of infectious binding sites occur is the same for each binding site, including the exceptional one. There is a rate \(\gamma \) at which an infectious partner of an infectious binding site recovers (this corresponds to a change in state from 2 to 3). And there is a rate at which a susceptible partner of an infectious binding site becomes infected (either along the binding site under consideration or by one of its other infectious partners) corresponding to a change in state from 1 to 2. The rate at which this occurs is \(\beta \varLambda _+\) where \(\varLambda _+\) is defined by (2.14) and hence (2.15).
Recall that we condition on the infectious binding site under consideration not recovering, therefore, these are all state changes that can occur. So we find that the dynamics of y and \(y^e\) are described by the same ODE system
$$\begin{aligned} \begin{aligned} \frac{d y(t\mid t_+)}{d t}&=M_+\big (\varLambda _+(t)\big )y(t\mid t_+), \end{aligned} \end{aligned}$$
(2.16)
with
$$\begin{aligned} M_+(\varLambda _+)&=\begin{pmatrix}-\beta \varLambda _+ &{}\quad 0&{}\quad 0\\ \beta \varLambda _+&{}\quad -\gamma &{}\quad 0\\ 0&{}\quad \gamma &{}\quad 0\end{pmatrix}, \end{aligned}$$
and case specific boundary conditions (2.13). Observe that this means that \(y^\text {e}_1(t\mid t_+)=0\) for all \(t\ge t_+\).This also immediately follows from the interpretation: at time \(t_+\), the binding site is occupied by an infectious partner, the network is static, and an infectious individual can not become susceptible again.
Next, we turn to infectious individuals. Compared to susceptible i-level probabilities, it is more involved to express infectious i-level probabilities in terms of \(y^\text {e}\)- and y-probabilities. Therefore, we first consider conditional i-level probabilities before finding an expression for the unconditional probabilities. We replace step 3 by step 3’.
Step 3’ Infectious i-level probabilities in terms of
y
and
\(y^\text {e}\)
We let \(\phi _{(+,\varvec{k})}(t\mid t_+)\) denote the probability that an infectious individual, infected at time \(t_+\), is in state \((+,\varvec{k})\) at time t, given no recovery. As in the case of a susceptible individual, this is given by a multinomial expression (note that there is one exceptional binding site which is either in state 2 or 3)
$$\begin{aligned} \phi _{(+,\varvec{k})}(t\mid t_+)=\frac{n!}{k_1!\, k_2!\, k_3!}\left( \frac{k_2}{n}\,y_2^\text {e}\ y_1^{k_1}y_2^{k_2-1}y_3^{k_3}+\frac{k_3}{n}\,y_3^\text {e}\ y_1^{k_1}y_2^{k_2}y_3^{k_3-1}\right) (t\mid t_+). \end{aligned}$$
(2.17)
Note that \(\phi _{(+,\varvec{k})}(t\mid t_+)=0\) for \(\varvec{k}=(n, 0,0)\), i.e. for all \(t\ge t_+\) at least one partner is not susceptible.
A susceptible individual becomes infected at time \(t_+\) if infection is transmitted to this individual through one of its n binding sites. Infection is transmitted at rate \(\beta \). Therefore, the force of infection at time \(t_+\), i.e. the rate at which a susceptible individual becomes infected at time \(t_+\), equals \(\beta n \frac{x_2}{\bar{x}}(t_+)\) and consequently the incidence at time \(t_+\), i.e. the fraction of the population that becomes, per unit of time, infected at time \(t_+\), equals
$$\begin{aligned} \beta n\left( \frac{x_2}{\bar{x}}\,\bar{x}^{n}\right) (t_+)=\beta nx_2\bar{x}^{n-1}(t_+) \end{aligned}$$
(2.18)
(recall that \(\bar{x}^n\) is the fraction of the population that is susceptible).
Furthermore, an infectious individual that is infected at time \(t_+\) is still infectious at time t if it does not recover in the period \((t_+, t)\). Since the infectious period of an individual is assumed to be exponentially distributed with rate \(\gamma \), the probability that this happens is
$$\begin{aligned} e^{-\gamma (t-t_+)}. \end{aligned}$$
(2.19)
We then find an expression for the unconditional i-level probabilities \(p_{(+,\varvec{k})}(t)\) that a randomly chosen individual is in state \((+,\varvec{k})\) at time t in terms of infectious binding site probabilities and the history of susceptible binding site probabilities:
$$\begin{aligned} p_{(+,\varvec{k})}(t)=\int _{-\infty }^te^{-\gamma (t-t_+)}\beta nx_2\bar{x}^{n-1}(t_+)\phi _{(+,\varvec{k})}(t\mid t_+)dt_+, \end{aligned}$$
(2.20)
where \(\phi _{(+,\varvec{k})}(t\mid t_+)\) is given by (2.17). The i-level probabilities \(p_{(+,\varvec{k})}(t)\) are lifted to the p-level by (2.8).
In this way we can use infectious binding sites as building blocks for infectious individuals. We see that y and \(y^\text {e}\) explicitly depend on the dynamics of x through the boundary conditions (2.13) and the environmental variable \(\varLambda _+\) (2.15). In addition, \(x_2\) plays a role in determining the time of infection of an individual.
Remark 3
Similar to the ODE system for − individuals considered in Remark 2, one obtains the p-level ODE system by differentiation of (2.20) and use of (2.16), (2.7) and (2.8). In doing so, one obtains a system of \(1/2(n+1)(n+2)\) ODE for the p-level fractions concerning individuals with a \(+\) disease status:
$$\begin{aligned} \frac{dP_{(+, k_1,k_2, k_3)}}{dt}&=\beta k_2 P_{(-,k_1,k_2,k_3)}-(\gamma k_2+\gamma +\beta \varLambda _+k_1)P_{(+,k_1,k_2, k_3)}\nonumber \\&\quad +\gamma (k_2+1) P_{(+,k_1,k_2+1, k_3-1)}+\beta \varLambda _+(k_1+1)P_{(+,k_1+1,k_2-1, k_3)}, \end{aligned}$$
\(k_1+k_2+k_3=n\), with \(\varLambda _+\) defined by (2.6) (compare with Lindquist et al. 2011, Eq. (13)).
In case of recovered individuals, one considers their binding sites and first conditions on time of infection \(t_+\) and time of recovery \(t_*\). Again one needs to distinguish between the exceptional and the non-exceptional binding sites. The dynamics of recovered binding sites are described by taking into account the mean field at distance one assumption for the mean number \(\varLambda _*\) of infectious partners of a susceptible partner of a recovered individual. Boundary conditions are given by the \(y(t_*\mid t_+)\) and \(y^\text {e}(t_*\mid t_+)\) for non-exceptional and exceptional binding sites, i.e.
$$\begin{aligned} \begin{array}{llll} z_1^\text {e}(t_*\mid t_+, t_*)&{}=0,\quad &{}&{}\quad z_1(t_*\mid t_+, t_*)=y_1(t_*\mid t_+),\\ z^\text {e}_2(t_*\mid t_+, t_*)&{}=y_2^\text {e}(t_*\mid t_+),\quad &{}&{}\quad z_2(t_*\mid t_+, t_*)=y_2(t_*\mid t_+),\\ z^\text {e}_3(t_*\mid t_+, t_*)&{}=y_3^\text {e}(t_*\mid t_+),\quad &{}&{}\quad z_3(t_*\mid t_+, t_*)=y_3(t_*\mid t_+). \end{array} \end{aligned}$$
The dynamics for z and \(z^\text {e}\) can be described by a system of ODE identical to the ODE systems for y and \(y^\text {e}\), but with \(\varLambda _+\) replaced by \(\varLambda _*\). The environmental variable \(\varLambda _*\) is given by
$$\begin{aligned} \varLambda _*(t)=\sum _{\varvec{m}} m_2\frac{m_3P_{(-, \varvec{m})}(t)}{\sum _{\varvec{k}} k_3P_{(-,\varvec{k})}(t)}. \end{aligned}$$
(2.21)
By combining (2.21) with (2.8) and (2.7) we find
$$\begin{aligned} \varLambda _*(t)=(n-1)\frac{x_3(t)}{\bar{x}(t)}. \end{aligned}$$
(2.22)
We find an expression for the probability \(\psi _{(*,\varvec{k})}(t\mid t_+, t_*)\) that a recovered individual, infected at time \(t_+\) and recovered at time \(t_*\), is in state \((*, \varvec{k})\) at time \(t\ge t_*\), in terms of z and \(z^\text {e}\) probabilities for recovered binding sites with the same reasoning as for \(\phi _{(+,\varvec{k})}(t\mid t_+)\) (one can simply replace \(\phi \) by \(\psi \), \(y_i\) by \(z_i\), and \(y_i^\text {e}\) by \(z_i^\text {e}\) in (2.17)). Then, to arrive at an expression for the unconditional probability \(p_{(*,\varvec{k})}(t)\), we again need to take into account the incidence \(\beta nx_2\bar{x}^{n-1}(t_+)\) at \(t_+\). The probability that recovery does not occur in the time interval \((t_+, t_*)\) is given by \(e^{-\gamma (t_*-t_+)}\) and the rate at which an infectious individual recovers is \(\gamma \), therefore
$$\begin{aligned} P_{(*,\varvec{k})}(t)=p_{(*,\varvec{k})}(t)=\int _{-\infty }^t\int _{-\infty }^{t_*}\gamma e^{-\gamma (t_*-t_+)}\beta nx_2\bar{x}^{n-1}(t_+)\psi _{(*,\varvec{k})}(t\mid t_+, t_*)dt_+dt_*, \end{aligned}$$
(2.23)
where the first equality in (2.23) follows from (2.8).
The renewal equation for the Volz variable
So far we dealt with the SIR situation, where an individual becomes infectious immediately upon becoming infected and stays infectious for an exponentially distributed amount of time, with rate parameter \(\gamma \), hence mean \(\gamma ^{-1}\). During the infectious period any susceptible partner is infected with rate (=probability per unit of time) \(\beta \).
Here we incorporate randomness in infectiousness via a variable \(\xi \) taking values in a set \(\varOmega \) according to a distribution specified by a measure m on \(\varOmega \). This sounds abstract at first, but hopefully less so if we mention that the SIR situation corresponds to
$$\begin{aligned} \varOmega&=(0,\infty ),\\ m(d\xi )&=\gamma e^{-\gamma \xi }d\xi , \end{aligned}$$
with \(\xi \) corresponding to the length of the infectious period. In this section we only consider the setting where the ‘R’ characteristic holds, i.e. after becoming infected, individuals can not become susceptible for infection any more.
In order to describe how the probability of transmission to a susceptible partner depends on \(\xi \), we need the auxiliary variable \(\tau \) corresponding to the ‘age of infection’, i.e. the time on a clock that starts when an individual becomes infected. As a key model ingredient we introduce
$$\begin{aligned} \pi (\tau ,\xi )&=\text {the probability that transmission to a susceptible partner}\\&\quad \,\, \text { happens before }\tau ,\text { given }\xi . \end{aligned}$$
In the SIR example we have
$$\begin{aligned} \pi (\tau ,\xi )=1-e^{-\beta \min (\tau ,\xi )}. \end{aligned}$$
It is important to note a certain asymmetry. On the one hand, there is dependence in the risk of infection of partners of an infectious individual u. Their risk of getting infected by u depends on the length of the infectious period of u (and, possibly, other aspects of infectiousness encoded in \(\xi \)). On the other hand, if u is susceptible, the risk that u itself becomes infected depends on the length of the infectious periods of its various infectious partners. But these partners are independent of one another when it comes to the length of their infectious period (see also Diekmann et al. 2013, Sect. 2.3 ‘The pitfall of overlooking dependence’). In particular, the probability that an individual escapes infection from its partner, up to at least \(\tau \) units of time after the partner became infected, equals
$$\begin{aligned} {\mathcal {F}}(\tau )=1-\int _\varOmega \pi (\tau ,\xi )m(d\xi ). \end{aligned}$$
(2.24)
For the Markovian SIR example (2.24) boils down to
$$\begin{aligned} {\mathcal {F}}(\tau )=\frac{\gamma }{\beta +\gamma }+\frac{\beta }{\beta +\gamma }e^{-(\beta +\gamma )\tau }, \end{aligned}$$
(2.25)
a formula that can also be understood in terms of two competing events (transmission versus ending of the infectious period) that occur at respective rates \(\beta \) and \(\gamma \).
As in Diekmann et al. (1998a) and earlier subsections, we consider a static configuration network with uniform degree distribution: every individual is connected to exactly n other individuals. At the end of this section we shall formulate the renewal equation for arbitrary degree distribution. In Diekmann et al. (1998a) an expression for \(R_0\) and equations for both final size and the probability of a minor outbreak were derived. In addition, it was sketched how to formulate a nonlinear renewal equation for a scalar quantity, but the procedure is actually that complicated that the resulting equation was not written down.
The brilliant idea of Volz (2008) is to focus on the variable \(\theta (t)\) corresponding to the probability that along a randomly chosen partnership between individuals u and v
no transmission occurred from v to u before time t, given that no transmission occurred from u to v (see also Fig. 5 for a schematic representation). Here one should think of ‘probability of transmission’ as being defined by \(\pi \) (and hence \({\mathcal {F}}\)) and not require that the individual at the receiving end of the link is indeed susceptible (though, if it actually is, or has been, infectious, the condition of no transmission in the opposite direction is indeed a nontrivial condition).
The variable \(\theta \) corresponds to \(\bar{x}\) introduced in Sect. 2.1 and therefore we use that symbol also in this section. We reformulate (2.3) as
$$\begin{aligned} \bar{x}(t)=\text {prob}&\{\text {a binding site is susceptible at time } t\mid \text {its owner does not become }\nonumber \\&\qquad \text {infected through one of its other binding sites before time } t\} \end{aligned}$$
(2.26)
(see also Fig. 6). There is an underlying stochastic process in the definition for \(\bar{x}\) that we have not carefully defined here. Yet we shall use the words from the definition to derive a consistency relation that takes the form of a nonlinear renewal equation for \(\bar{x}(t)\). The renewal equation describes the stochastic process starting ‘far back’ in time when all individuals were still susceptible. A precise mathematical definition and an in-depth analysis of a more general stochastic process (that allows the contact intensity between two connected individuals to depend on the number of binding sites of both of them) can be found in Barbour and Reinert (2013). See (Karrer and Newman 2010, Sect. V) for a different way of specifying initial conditions.
To derive the consistency relation for \(\bar{x}(t)\) we shift our focus to the partner that occupies the binding site under consideration. For convenience we call the owner of the binding site under consideration u and the partner that occupies this binding site v. Then, given that u does not become infected through one of its \(n-1\) other binding sites, u is susceptible at time t if (1) v is susceptible at time t or (2) v is not susceptible at time t but has not transmitted infection to u up to time t.
We begin by determining (1). Given its susceptible partner u, individual v is susceptible if its \(n-1\) other binding sites are susceptible. Conditioning on its \(n-1\) other binding sites not transmitting to v, a binding site of v is susceptible at time t with probability \(\bar{x}(t)\). Therefore, given susceptibility of partner u, v is susceptible at time t with probability
$$\begin{aligned} \bar{x}(t)^{n-1}. \end{aligned}$$
(2.27)
This just repeats the consistency relation (2.10) \(x_1=\bar{x}^{n-1}\) stating that the probability \(x_1\) that a susceptible binding site is occupied by a susceptible partner is equal to the probability \(\bar{x}^{n-1}\) that a partner of a susceptible individual is susceptible.
Next, suppose that v gets infected at some time \(\eta <t\), then u is not infected by v before time t if no transmission occurs in the time interval of length \(t-\eta \). The expression (2.27) has as a corollary that the probability per unit of time that v becomes infected at time \(\eta \) equals
$$\begin{aligned} -\frac{d}{d\eta }\big (\bar{x}(\eta )\big )^{n-1}. \end{aligned}$$
Noting that the probability of no transmission to u in the time interval \((\eta , t)\) is \({\mathcal {F}}(t-\eta )\) we conclude that necessarily,
$$\begin{aligned} \bar{x}(t)=\bar{x}(t)^{n-1}-\int _{-\infty }^t\left( \frac{d}{d\eta }\big (\bar{x}(\eta )\big )^{n-1}\right) {\mathcal {F}}(t-\eta )d\eta . \end{aligned}$$
(2.28)
Finally, by integration by parts, we obtain the renewal equation
$$\begin{aligned} \bar{x}(t)={\mathcal {F}}(\infty )-\int _{-\infty }^t\bar{x}(\eta )^{n-1}{\mathcal {F}}'(t-\eta )d\eta . \end{aligned}$$
(2.29)
For a configuration network with general degree distribution \((p_n)\) for the number of binding sites n of an individual, exactly the same arguments hold. But now there is randomness of the partnership capacity n of susceptible partners. This leads to the renewal equation (compare with (2.29))
$$\begin{aligned} \bar{x}(t)={\mathcal {F}}(\infty )-\int _{-\infty }^t g(\bar{x}(\eta )){\mathcal {F}}'(t-\eta )d\eta , \end{aligned}$$
(2.30)
with
$$\begin{aligned} g(x):=\frac{\sum _{n=1}^\infty n p_n x^{n-1}}{\sum _{m=1}^\infty m p_m}. \end{aligned}$$
The solution \(\bar{x}(t)=1\), \(-\infty<t<\infty \), of (2.30) corresponds to the disease free situation. If we put \(\bar{x}(t)=1-h(t)\) and assume h is small, we easily deduce that the linearized equation is given by
$$\begin{aligned} h(t)=-g'(1)\int _{-\infty }^th(\eta ){\mathcal {F}}'(t-\eta )d\eta . \end{aligned}$$
(2.31)
The corresponding Euler-Lotka characteristic equation reads
$$\begin{aligned} 1=-g'(1)\int _0^\infty e^{-\lambda \tau }{\mathcal {F}}'(\tau )d\tau . \end{aligned}$$
(2.32)
If we evaluate the right hand side of (2.32) at \(\lambda =0\), we obtain
$$\begin{aligned} R_0=g'(1)\big (1-{\mathcal {F}}'(\infty )\big ) \end{aligned}$$
cf. Diekmann et al. (2013, Eq. (12.32), p. 294). In short, the relevant characteristics of the initial phase of an epidemic outbreak are easily obtained from the linearized renewal equation (2.31) (see Pellis et al. 2015 for a study of the Malthusian parameter, i.e. the real root of (2.31)).
To derive an equation for the final size is even simpler, one takes the limit \(t\rightarrow \infty \) in (2.30) to deduce
$$\begin{aligned} \bar{x}(\infty )={\mathcal {F}}(\infty )+(1-{\mathcal {F}}(\infty )) g(\bar{x}(\infty )), \end{aligned}$$
(2.33)
and next observes that the escape probability \(s(\infty )\) is given by
$$\begin{aligned} s(\infty )=\sum _{n=1}^\infty p_n\big (\bar{x}(\infty )\big )^n \end{aligned}$$
(to compare to Diekmann et al. 2013, Eqs. (12.36)–(12.38), p. 295) identify \(\bar{q}=1-{\mathcal {F}}(\infty )\), \(\pi =g(\bar{x}(\infty ))\), and rewrite (2.33) as \(\pi =g(1-\bar{q}+\bar{q} \pi )\)).
In the case that \({\mathcal {F}}\) is given by (2.25), the RE
$$\begin{aligned} \bar{x}(t)=\frac{\gamma }{\beta +\gamma }+\beta \int _{-\infty }^t g(\bar{x}(\eta ))e^{-(\beta +\gamma )(t-\eta )}d\eta \end{aligned}$$
can be transformed into an ODE for \(\bar{x}\) by differentiation:
$$\begin{aligned} \bar{x}'=\beta g(\bar{x})-(\beta +\gamma )\bar{x}+\gamma . \end{aligned}$$
In the special case of Sects. 2.1–2.4, we have \(p_n=1\) and \(p_k=0\) for all \(k\ne n\) so \(g(x)=x^{n-1}\) and we recover (2.11).
As explained in (Diekmann et al. Finite dimensional state representation of linear and nonlinear delay systems. Submitted), the natural generalization of (2.25) assumes that \({\mathcal {F}}\) is of the form
$$\begin{aligned} {\mathcal {F}}(\tau )=1-\int _0^\tau \varvec{\beta }\cdot e^{\eta (\varSigma -\text {diag }\varvec{\beta })}Vd\eta , \end{aligned}$$
(2.34)
where, for some \(m\in {{\mathrm{\mathbb {N}}}}\), \(\varvec{\beta }\) and V are non-negative vectors in \({{\mathrm{\mathbb {R}}}}^m\) while \(\varSigma \) is a positive-off-diagonal (POD) \(m\times m\) matrix. (In Diekmann et al. Finite dimensional state representation of linear and nonlinear delay systems. Submitted) it is explained how this relates to the method of stages from queueing theory, see (Asmussen 1987), but with the kernel \({\mathcal {F}}\) not only incorporating the progress of infectiousness of the focus individual but also the fact that any partner can be infected at most once. Concerning infectiousness, one might think of SEIR, \(\hbox {SEI}_1\hbox {I}_2\), etcetera.) If \({\mathcal {F}}\) is given by (2.34), the variable
$$\begin{aligned} Q(t):=\int _{-\infty }^tg(\bar{x}(\eta ))e^{(t-\eta )(\varSigma -\text {diag }\varvec{\beta })}Vd\eta \end{aligned}$$
satisfies the ODE
$$\begin{aligned} \frac{dQ}{dt}=(\varSigma -\text {diag }\varvec{\beta })Q+g(\bar{x})V \end{aligned}$$
(2.35)
and, since (2.30) can be rewritten as
$$\begin{aligned} \bar{x}= {\mathcal {F}}(\infty )-\varvec{\beta }\cdot Q, \end{aligned}$$
(2.36)
the Eq. (2.35) is a closed system once we replace \(\bar{x}\) at the right hand side of (2.35) by the right hand side of (2.36)
So one can solve/analyze (2.35) and next use the identity (2.36) to draw conclusions about \(\bar{x}\). We conclude that various ODE systems as derived in Miller et al. (2012) are subsumed in (2.30) and can be deduced from (2.30) by a special choice of \({\mathcal {F}}\) and differentiation.