Our modeling approach builds on existing affinity-based mixing compartment models where compartments represent different disease states (Busenberg and Castillo-Chavez 1989; Blythe et al. 1991; Castillo-Chavez et al. 1991; Fenichel et al. 2011; Morin et al. 2015). We suppose that individuals mix preferentially, conditional on their own disease state and the (observable) disease states of others. The only information available to individuals is the expression of symptoms in either themselves or others. As in (Morin et al. 2014), the resulting mixing strategy depends on the relative costs of illness and illness avoidance. This framework has been shown to provide the most mathematically general solution to the problem of who mixes with whom under the assumptions of symmetric contacts (Blythe et al. 1991).
In what follows, individuals are defined only by their health state, although they could just as easily be grouped according to various shared attributes such as economic status, cultural or ethnic identity, geographical location, age, or disease awareness. We suppose that all individuals who do not show symptoms—because they have either not become ill, are asymptomatically ill or have recovered from illness—are treated equally by others. The use of the affinity framework allows three factors to determine the volume of contact between groups of like individuals: (1) the size of each group, (2) the nominal activity level or disease-free contact rate of each group and 3) the relative affinity/disaffinity between groups. In what follows, we treat the affinity/disaffinity between groups as endogenous to the epidemiological system.
Susceptible individuals, or at least individuals who believe themselves to be susceptible, choose the people with whom they mix in order to alter the probability that they will encounter infectious individuals and subsequently become ill themselves. In the most general case, people who believe themselves to be susceptible at some time are taken to include all those who have been free of symptoms up to that time. This includes those who are actually susceptible, those who are asymptomatically infectious and those who are recovered but have never had symptoms. We hold the nominal level of activity (the contact rate) constant throughout the course of the epidemic and take it to be equal for all individuals. This makes it possible to consider only the effect of changes in mixing preferences. See Fenichel et al. (2011) for a treatment that selects the volume of contacts, and (Morin et al. 2014) for an analysis of the conditions under which choice of contact rates and avoidance effort are equivalent strategies. The main difference between strategies is that while choice of contact rates allows complete isolation, choice of avoidance effort does not.
To illustrate the approach, we first focus on a susceptible-infectious-recovered (SIR) model—but note that we will be reporting results for a range of other models including susceptible-exposed or latent-infectious-recovered (SEIR), one-path and two-path susceptible-asymptomatical infectious–infectious-recovered (one-path SAIR, two-path SAIR). In the SIR case, only susceptible individuals are free of symptoms. The disease dynamics are summarized in three differential equations:
$$ \begin{aligned} \frac{dS\left( t \right)}{dt} = - c\beta S\left( t \right)P_{SI} \left( {\phi \left( t \right)} \right) \hfill \\ \frac{dI\left( t \right)}{dt} = c\beta S\left( t \right)P_{SI} \left( {\phi \left( t \right)} \right) - \gamma I\left( t \right) \hfill \\ \frac{dR\left( t \right)}{dt} = \gamma I\left( t \right) \hfill \\ \end{aligned} $$
(1)
As is standard with the SIR model, we let c be the nominal contact volume of all individuals. P
SI
(ϕ(t)) is the conditional probability that a contact made by a susceptible individual, committing ϕ(t) effort to avoiding infection at time t, is with an infectious individual, and γ is the rate at which an individual recovers and becomes immune. \( I\left( t \right) \) and \( R\left( t \right) \) are, respectively, the numbers of infectious and recovered (immune) individuals.
The conditional probability that an individual in the ith disease state encounters an individual in the jth disease state is given by the elements of a time-dependent mixing matrix, P(t) = (P
ij
(t)), that is taken to satisfy three axioms (Busenberg and Castillo-Chavez 1989; Blythe et al. 1991; Castillo-Chavez et al. 1991):
-
1.
\( 0 \le P_{ij} \le 1,\;{\text{for}}\;{\text{all}}\;i,j{ \in }\{ S,E,A,I,R\} \)
-
2.
\( \sum_{{J \in \{ S,E,A,I,R\} }} P_{ij} = 1,\;{\text{for}}\;{\text{all}}\;i \in \{ S,E,A,I,R\} , \)
-
3.
\(i(t)P_{ij} = j(t)P_{ji} ,\; {\text{for}}\;{\text{all}}\;i, j \in \left\{ {S, E, A, I, R} \right\}. \)
These three axioms imply that, collectively, susceptible individuals have the same expectation of encountering infected individuals as infected individuals have of encountering susceptible individuals. It has been shown that the unique solution to these mixing axioms is given by
$$ P_{ij} = j\left( t \right)\left[ {\frac{{M_{i} M_{j} }}{M} + \phi_{ij} \left( t \right)} \right], $$
where
$$ M_{i} \left( t \right) = 1 - S\left( t \right)\phi_{Si} \left( t \right) - I\left( t \right)\phi_{Ii} \left( t \right) - R\left( t \right)\phi_{Ri} \left( t \right), $$
$$ M(t) = S(t)M_{S} (t) + I(t)M_{I} (t) + R(t)M_{R} (t), $$
and \( {\Phi (t)} = (\phi_{ij} (t)) \) is a symmetric affinity matrix, in this case 3 × 3.
The main difference between the approach here and previous use of affinity models is that we treat the elements ϕ
ij
(t) of the affinity matrix are private choice variables. They may be interpreted as the effort that the representative individual in disease state i makes to avoid individuals in disease state j, if ϕ
ij
(t) < 0, or to associate with individuals in disease state j, if ϕ
ij
(t) > 0. If the representative individual in every disease state i makes no effort to avoid individuals in disease state j, and vice versa, then ϕ
ij
(t) = 0. We then have classic proportionate mixing. We take zero elements in the affinity matrix to be evidence of ‘avoidance-neutrality.’ That is, they show the representative individual to be neutral about a pairing event with someone from another disease class. By contrast, negative (positive) elements reflect the desire of the representative individual in one disease state to avoid (seek out) individuals in other disease state. Avoidance, ϕ
ij
(t) < 0, can result from individuals in both states wishing to avoid one another; individuals in one state wishing to avoid individuals in other states who may be neutral to the pairing; or individuals in one state wishing to avoid individuals in other states more strongly than those individuals favor the pairing. Similarly, engagement results from individuals in both states favoring the pairing; individuals in one state seeking out individuals in other states who may be neutral to the pairing; or individuals in one state wishing to engage with individuals in other states more strongly than those individuals wish to avoid the pairing. This is a similar measure to that used in models of assortative mating (Karlin 1979) and selective mixing (Hyman and Li 1997) and is a form of a contact kernel (Gurarie and Ovaskainen 2013).
The elements of the affinity matrix, ϕ
ij
(t), describe what the representative individual in each health state wants. What they actually get depends both on the preferences of others in the population and on the relative size of all health classes. More particularly, the elements of the mixing matrix P = (P
ij
) depend both on the proportion of the population in each disease state and on the affinity matrix. They describe the conditional probabilities that an individual of disease state i contacts someone in disease state j.
In what follows, we focus on individuals who believe themselves to be susceptible (who have been symptom free up to that point) and assume that they maximize the net present value of the contacts they make, taking into account the cost of illness and illness avoidance, by choosing the effort to commit to preferential mixing: the elements of \( \Phi \left( t \right) \). Formally, the decision problem for individuals who believe themselves to be susceptible, collectively labeled X, is to choose the level of mitigation effort, ϕ
XI
(t), in order to maximize the difference between the benefit of not being symptomatic, B, and the cost of mitigation effort, C(ϕ
XI
(t)), given the weight they place on future well-being (the discount rate δ) and their planning horizon, T. If susceptible individuals are averse to mixing with symptomatic (infectious or otherwise) individuals in the SIR model, and if all others are neutral, \( \Phi \left( t \right) \) has the structure:
$$ \Phi (t) = \left( {\begin{array}{*{20}c} 0 & {\phi_{SI} (t)} & 0 \\ {\phi_{SI} (t)} & 0 & 0 \\ 0 & 0 & 0 \\ \end{array} } \right), $$
in which 0 represents neutrality and ϕ
SI
(t) < 0 represents the effort susceptible individuals make to avoid mixing with infectious individuals at time t (Morin et al. 2014). This defines
$$ M_{s} = 1 - \phi_{SI} \left( t \right)I\left( t \right), $$
$$ M_{I} = 1 - \phi_{SI} (t)S(t), $$
$$ M = 1 - S(t)M_{S} - I(t)M_{I} - R(t)M_{R} = 1 - 2\phi_{SI} (t)S(t)I(t). $$
We may then write the mixing matrix of conditional probabilities as
$$ P = \left( {\begin{array}{*{20}c} {S\left( t \right)\frac{{M_{s}^{2} }}{M}} & {I\left( t \right)\left[ {\frac{{M_{S} M_{I} }}{M} + \phi_{SI} \left( t \right)} \right]} & {R\left( t \right)\frac{{M_{S} }}{M}} \\ {S\left( t \right)\left[ {\frac{{M_{S} M_{I} }}{M} + \phi_{SI} \left( t \right)} \right]} & {I\left( t \right)\frac{{M_{I}^{2} }}{M}} & {R\left( t \right)\frac{{M_{I} }}{M}} \\ {S\left( t \right)\frac{{M_{S} }}{M}} & {I\left( t \right)\frac{{M_{I} }}{M}} & {\frac{R\left( t \right)}{M}} \\ \end{array} } \right). $$
As shown in Morin et al. (2015), we note that mitigation effort is restricted to the range:
$$ \phi_{SI} \left( t \right) \in \left[ {\frac{{R\left( t \right) - \sqrt {\left( {R\left( t \right)} \right)^{2} + 4S\left( t \right)I\left( t \right)} }}{2S\left( t \right)I\left( t \right)},0} \right], $$
with proportionate mixing resulting from applying 0 effort. P
SI
(t) = I(t) is the maximum probability of contact and private quarantine of infectious individuals at the left endpoint, P
SI
(t) = 0 is the minimum probability of contact. From an economic perspective, private quarantine implies that the marginal cost of illness is greater than the marginal cost of illness avoidance for all levels of illness avoidance effort.
The Private Economic Problem
We assume that a forward-looking representative individual, who believes himself/herself to be susceptible, seeks to mitigate disease risks by avoiding those who are obviously (symptomatically) infectious. We suppose that individuals may belong to any one of the following epidemiological states at a given time: (S)usceptible to the disease, (E)xposed or latently infected being asymptomatic and noninfectious, (A)symptomatically infectious, (I)nfectious with symptoms, or (R)ecovered and immune to the disease. Individuals who believe themselves to be susceptible may include those in states S, E, and A. We further assume the motivation for selective mixing is the desire to avoid the costs of illness only. We do not allow individuals to behave altruistically. We also assume that individuals who know themselves to be infected have no incentive to avoid others. Only susceptible people (or those who believe themselves to be susceptible) react to disease risk. This includes all individuals in health classes \( X = S, \;E, \;A, \) or R
A
(recovered from asymptomatic infection). Because all individuals who react to disease risk consider themselves to be equally susceptible to the disease, their mixing decisions are both identical and symmetric [i.e., all ϕ
XI
(t) = ϕ
IX
(t) are equal to one another and all other entries in \( \Phi \left( t \right) \) are 0]. Formally, these individuals screen contacts by choosing the elements ϕ
ij
(t) of the matrix \( \Phi(t) \), i, j ∈ {S, E, A, I, R
A
} so as to maximize the difference between the expected benefits of contact and the expected cost of illness and illness avoidance, given their current health state.
The benefits of contact range from the satisfaction to be had from purely social engagement to the financial gains to be had from market transactions with others. For simplicity, we assume that the benefits of a contact are financial gains and that they are the same for individuals in all health states, \( B_{i} = B, i \in \left\{ {S, E,A,I,R} \right\} \). The cost of illness generally includes both forgone earnings, lost wages, and the cost of healthcare. For simplicity, we take the cost of illness to be the cost of treatment. The cost of illness avoidance is simply the cost of the effort made to avoid contact with people who are ill: the cost of choosing \( \phi_{iI} \left( t \right), i \in \left\{ {S,E,A,R} \right\} \). The net benefits of contacts with others by an individual in the ith health state at time \( t \) thus comprise the difference between the benefit of contacts made in that health state, B
i
, and the cost of disease and disease risk mitigation, \( C_{i} \left( {\phi_{ij} \left( t \right),I\left( t \right)} \right) \)(see Table 1). All individuals within a particular disease class are assumed to behave in the same way.
Table 1 List of Epidemiological States and the Instantaneous Net Benefits of Contact in Those States, \( V_{i} (\phi_{ij} (t)) \).
We define \( U_{i} (\phi_{ij} (t)) = B_{i} - C_{i} (\phi_{ij} (t), I(t)) \) to be the net benefits of contact to the representative individual in health state \( i \) at time t. We define \( E\left( {V_{j} \left( {t + \tau , \phi_{ij} \left( {t + \tau } \right)} \right)} \right) \) to be the individual’s expected value function from time t + τ forward, where the probability that the individual will be in health state j in the future depends on the disease dynamics and their mixing strategy while in health state i. The decision problem for the representative susceptible individual in health state i may be expressed via the Hamilton–Jacobi–Bellman equation:
$$ V_{i} (t,H(t)) = \begin{array}{*{20}c} { \hbox{max} } \\ {\phi_{ij} \left( t \right)} \\ \end{array} \left\{ {\mathop {\smallint} \limits_{t}^{\tau} U_{i} (\phi_{ij} (t)){\text{d}}t + E(V_{j} (t + \tau ,\phi_{ij} (t + \tau )))} \right\} $$
(2)
where τ is a short interval of time. This is subject to the dynamics of the disease: Eq. (1), Table 3 The H–J–B equation identifies the problem solved by the representative individual in state i: to maximize the expected net value of current and future contacts by choosing the extent to which they mix with individuals in other health classes. Following Fenichel et al. (2011), we assume that individuals form their expectations adaptively. The value function V
i
(t, H(t)) is defined recursively as the sum of the current net benefits of contact in health state i given the information available at time t plus the discounted stream of expected net benefits over the remaining horizon. This expectation is conditional on the effects of disease risk mitigation decisions on the probability of transitioning between health states. More particularly, we assume individuals observe the state of an epidemic at time t and make a forecast for the epidemiological trajectory over the interval τ. Their mixing strategies are then adapted over time as they make new observations on the state of the epidemic. We assume that individuals make the simplest forecast—that all disease classes are constant over the interval τ, but that they adapt to new data as it emerges.
The representative individual will increase effort to avoid infection up to the point where the marginal cost of illness avoidance is just offset by the marginal benefits it yields—the avoided cost of illness. Efforts to avoid infection will be increasing in the cost of illness and decreasing in the cost of illness avoidance. In models without risk mitigation, disease dynamics may be completely characterized from initial conditions. With risk mitigation, the evolution of the epidemic reflects feedback between the cost of disease and disease avoidance on the one hand, and averting behavior on the other [see (Fenichel and Horan 2007; Horan et al. 2011) for further discussion].
To solve the problem, we take a discrete time counterpart to Eq. (2) and solve numerically using techniques similar to those in Fenichel et al. (2011). Specifically, we solve the adaptive expectation problem using a method we call Cast-Recast. At each time, the individual solves the H–J–B equation using backwards induction from their time horizon (12 days) to the present, while supposing that there is no change to the state variables over the time horizon. Having determined the optimal mitigation effort, ϕ
ij
(t), the individual commits that effort until the next time step (day). That is, their mitigation effort is held constant for 1 time step. The ordinary differential equations describing the disease dynamics are advanced, and the process is repeated. Note that the private forecast used has little effect on the optimal outcomes so long as the forecast period, the time interval τ, is short relative to the disease dynamics. If the epidemic evolves rapidly relative to the period over which the individual commits to a fixed level of risk mitigation, then the assumption that the disease states are constant may induce errors. In previous work using this method (Fenichel et al. 2011; Morin et al. 2013, 2014, 2015), we found a smooth response—the decisions made by individuals were much the same from day to day. Since the epidemic evolves on a timescale of weeks, this gives us confidence in the Cast-Recast method for the private problem. In the discussion, we outline when the results from such a method may favor more rapid transmission of epidemiological state variables, and when individual behavior choices need to be more “agile” in order to match timescales with the disease spread.
The Social Problem
The choice of ϕ
ij
(t) maximizes the private net benefits of contact for the individual over the course of an epidemic, given the private cost of illness and illness avoidance. However, as was shown in Morin et al. (2015) this may well be publically suboptimal, depending on the social rate of discount or the social cost of illness. The social cost of illness is the sum of the costs borne by all infected and symptomatic individuals, together with the cost of disease avoidance by all others. In a real system, it would also include the infection risk borne by healthcare workers, but we do not address that here. Of the many intervention options open to public health authorities—quarantine, social distancing measures such as school closures, vaccination campaigns and so on—we focus on instruments that change risk mitigation by changing the private cost of illness. In doing this, we follow a literature that integrates epidemiology and economics to explore ways in which economic behavior affects disease spread (Perrings et al. 2014). This literature has concentrated on the economic causes and epidemiological consequences of peoples’ contact decisions (Gersovitz and Hammer 2003, 2004; Barrett and Hoel 2007; Funk et al. 2009; Fenichel et al. 2010; Funk et al. 2010; Springborn et al. 2010). By treating the economic factors behind contact and mixing decisions as central elements in disease transmission, the approach opens up a new set of disease management options.
In what follows, we suppose that the public health authority is able to use an economic policy instrument to alter the private cost of illness. We consider the instrument, r
D
, \( D \in \left\{ {{\text{SIR,}}\;{\text{SEIR,}}\;{\text{One}}\;{\text{Path}}\;{\text{SAIR,}}\;{\text{Two}}\;{\text{Path}}\;{\text{SAIR}}} \right\} \) see Tables 2 and 3, which may be interpreted as a disease-specific tax or a subsidy on the cost of illness, \( C_{I} \left( {I,r_{D} } \right)\text{ := }C_{I} \left( {1 + r_{D} } \right) \). If r
D
> 0 (illness is ‘taxed’), the private cost of illness is increased. Enforced, uncompensated sick ‘leave’ would be an example of this. We expect this to increase disease-risk mitigation effort and hence the illness avoidance costs carried by individuals. If r
D
< 0 (illness is ‘subsidized’), the private cost of illness is reduced. Subsidized health insurance schemes would be an example of this. We expect this to reduce disease-risk mitigation effort, and with it the illness avoidance costs carried by reactive individuals. By changing the privately optimal level of disease-risk mitigation, it is possible to change overall disease dynamics.
Table 2 Models Studied and Corresponding Compartments.
Table 3 Differential Equations Used for Each Epidemic Model, Other than the Previously Stated SIR Model.
There are many ways in which interventions change the private cost of illness in real-world conditions, ranging from direct subsidies or taxes on drugs and treatment, through health insurance costs and coverage, to statutory obligations on sick leave. We suppose that r
D
can be applied in a way that proportionately reduces or increases the relative private cost of illness. This would be consistent with, for example, mandatory insurance cover for a specific proportion of potentially forgone earnings. Our baseline case assumes that the policy instrument is revenue neutral. If r
D
< 0 (illness is subsidized), the cost is met by a levy on all income from contacts. If r
D
> 0 (illness is taxed), the revenue is returned as a tax benefit on all income from contacts. Since taxes and subsidies both potentially impose an efficiency cost in the form of a deadweight loss of consumer and producer surplus, we include a proxy for this in the optimization problem. More particularly, we include a term that specifies any deadweight loss as a proportion of the cost of taxes or subsidies.
The public health authority’s problem for an SIR disease thus takes the form:
$$ W\left( {t,r_{D} ,H\left( t \right)} \right) = \mathop {\hbox{max} }\limits_{{\mathop \to \limits_{{r_{D} }} }} \mathop {\int} \limits_{0}^{T} \mathop \sum \limits_{i} \mathop \sum \limits_{j} e^{ - \delta t} E\left[ {U_{i} \left( {\phi_{ij} \left( {t,r_{D} } \right)} \right)} \right]{\text{d}}t - \left( {1 - \alpha } \right)\mathop {\smallint} \limits_{0}^{T} e^{ - \delta t} C_{I} \left( {r_{D} ,I\left( t \right)} \right){\text{d}}t $$
(3)
subject to the disease dynamics described by the relevant compartmental epidemiological model and to the private decision problem described in Eq. (2). That is, the public health authority selects \( r_{D} \) so as to maximize the net benefits of risky contacts to society—where society is the sum of all individuals in all health classes. The final term in the public health authority’s problem is our proxy for the deadweight loss associated with taxes or subsidies on the cost of illness. α ∈ [0, 1] is the proportion of the cost of the intervention that is recovered. To solve these two problems, we maximize the integral in Eq. (3) over the entire epidemic by solving the complete private problem for each “guess” of r
D
. This was implemented using MATLAB’s fminbnd function.