key: cord-0958025-q7c0f72t authors: La Torre, Davide; Liuzzi, Danilo; Marsiglio, Simone title: Epidemics and macroeconomic outcomes: Social distancing intensity and duration() date: 2021-01-18 journal: J Math Econ DOI: 10.1016/j.jmateco.2021.102473 sha: 94d22357012af901c712b52444b4bb38b6f388c7 doc_id: 958025 cord_uid: q7c0f72t We analyze the determination of the optimal intensity and duration of social distancing policy aiming to control the spread of an infectious disease in a simple macroeconomic–epidemiological model. In our setting the social planner wishes to minimize the social costs associated with the levels of disease prevalence and output lost due to social distancing, both during and at the end of epidemic management program. Indeed, by limiting individuals’ ability to freely move or interact with others (since requiring to wear face mask or to maintain physical distance from others, or even forcing some businesses to remain closed), social distancing has on the one hand the effect to reduce the disease incidence and on the other hand to reduce the economy’s productive capacity. We analyze both the early and the advanced epidemic stage intervention strategies highlighting their implications for short and long run health and macroeconomic outcomes. We show that both the intensity and the duration of the optimal social distancing policy may largely vary according to the epidemiological characteristics of specific diseases, and that the balancing of the health benefits and economic costs associated with social distancing may require to accept the disease to reach an endemic state. Focusing in particular on COVID-19 we present a calibration based on Italian data showing how the optimal social distancing policy may vary if implemented at national or at regional level. Communicable diseases have historically played (and still do today) a major role in shaping economic development in both industrialized and developing countries, by determining till today 30% of deaths and accounting for 45% of the related years of life lost worldwide (Lopez et al., 2006; WHO, 2009) . A variety of channels through which this may occur, including education attainment, labor force participation, life expectancy, income and civil conflict, have been identified and extensively documented in literature (Acemoglu and Johnson, 2007; Bleakley, 2007; Adda, 2016; Cervellati et al., 2017; Klasing and Milionis, 2020) . In the simplest and most intuitive way, communicable diseases are a major source of morbidity and mortality everywhere in the world, and thus they affect labor market outcomes ✩ We wish to thank the Guest Editors (Raouf Boucekkine, Shankha Chakraborty and Aditya Goenka) and two anonymous referees for their constructive comments on an earlier draft of the paper. All remaining errors and omissions are our own sole responsibility. This work is supported by the University di Pisa under the ''PRA -Progetti di Ricerca di Ateneo'' (Institutional Research Grants) -Project no. PRA_2020_79 ''Sustainable development: economic, environmental and social issues''. along with saving and investment incentives yielding detrimental consequences on macroeconomic performance (Boucekkine et al., 2009; Chakraborty et al., 2010) . As health services are to a large extent publicly provided in most countries, the severity of such effects is amplified by the need to finance public health policies diverting resources from productive activities (Velenyi and Smitz, 2014; La Torre et al., 2020) . The relevance of these findings and arguments has over the last two decades given birth to a growing economic epidemiology literature to accompany the mathematical epidemiology literature in analyzing the implications and dynamics of communicable diseases. While mathematical epidemiology aims to characterize the epidemic dynamics according to the biological features of specific diseases (Hethcote, 2000 (Hethcote, , 2008 , economic epidemiology tries to understand the mechanisms through which health policy, in the form of preventive and treatment measures, may be used to contrast the spread of communicable diseases (Philipson, 2000; Gersovitz and Hammer, 2003) . Most of the economic epidemiology papers rely on a microeconomic perspective focusing on a partial equilibrium analysis to examine the behavioral response of individual rational agents to the disease prevalence and to the health policy measures (Anderson et al., 2010; Gersovitz and Hammer, 2004; Goldman and Lightwood, 2002) , and only few works have tried to assess their macroeconomic implications Liu, 2012, 2020; Goenka et al., 2014; La Torre et al., 2020) . Liu (2012, 2020) and Goenka et al. (2014) discuss the long run effects of epidemics on economic growth, both in neoclassical and endogenous growth setups, showing that the health-income relationship may be a source of nontrivial macroeconomic dynamics, leading eventually to chaos. La Torre et al. (2020) focus on the short run effects of epidemics on income levels analyzing the feedback effects between the disease spread and the availability of resources to fight it, assessing whether preventive or treatment policy measures may be most effective. All these works, both those adopting a microeconomic and a macroeconomic perspective, share the same analytical framework to characterize the epidemic dynamics by relying on the susceptible-infectedsusceptible (SIS) model, which is one of the simplest and most general mathematical epidemiology setups. In this paper we contribute to this literature adopting the same SIS framework to analyze the relation between epidemics and macroeconomic outcomes in light of the recent coronavirus pandemic experience. Indeed, since upon recovery from COVID-19 individuals return susceptible to a new infection (WHO, 2020b) , the SIS model can be applied also to characterize the dynamics of the coronavirus epidemic. The recent COVID-19 epidemic has spurred a large and shared interest in understanding the mutual relations between communicable diseases, macroeconomic outcomes and health-economic policy. COVID-19 is a highly contagious virus-induced communicable disease, transmitted via droplets and contaminated objects during close unprotected contact between an infector and infectee (WHO, 2020a) . The virus is currently spreading fast from human-to-human as transmission simply occurs when healthy individuals meet respiratory droplets from coughs or sneezes of an infected person. Transmission is also possible via contaminated objects or materials which act as a carrier of the virus, such as cloths, utensils, and furniture (Rothan and Byrareddy, 2020) . The outbreak of the disease has origin in China in late 2019 and has reached a pandemic status in only a few months, resulting thus far (at the time of writing, in early July 2020) in over 9.3 million confirmed cases and over 480,000 deaths globally (Dong et al., 2020) . The implemented policy responses to reduce the spread of the disease have been countless (i.e., more than 13,000 in more than 195 countries), including traditional preventive and treatment measures but also social distancing (Cheng et al., 2020) . Social distancing refers to all those arrangements which aim at reducing the rate of transmission of a disease by limiting the exposure of single individuals to possible sources of infection. Social distancing is thus one of the most effective non-pharmaceutical disease control actions that can reduce the spread of a highly contagious disease (Maharaj and Kleczkowski, 2012) . Different forms of social distancing have been introduced and promoted in most countries, ranging from quarantine to voluntary isolations, from restrictions on individual mobility to lockdowns, from the requirement to wear face masks to that of maintaining a certain physical distance from others. By imposing stringent restrictions on individual behavior that have forced firms to decrease the utilization of the workforce and by requiring individuals to limit their interactions with one another on the workplace, they have also generated devastating economic effects including a large number of job losses and a large drop in GDP. The effects have been particularly severe in those sectors in which social interactions are essential (such as tourism and education) or intensive-contacts are required (such as hospitality and manufacturing), and it has also affected the industries linked to them. According to their dependence on these sectors, some economies have been more exposed than others, and the forecasts for the drop in level of economic activities in 2020 in European countries range from about 10% (Greece, Italy, and Spain) to about 5% (Poland and Luxemburg) on a yearly basis (European Commission, 2020) . Understanding thus the health and economic consequences of specific disease control policies, and in particular those of social distancing, is essential in order to minimize their social cost and support policymakers in the difficult task of effectively managing the pandemic. Over the last few months several works have tried to analyze the macroeconomic implications of COVID-19 and the policy measures implemented to control its spread (Acemoglu et al., 2020; Alvarez et al., 2020; Atkeson, 2020; Eichenbaum et al., 2020; Ng, 2020) . Atkeson (2020) analyzes a purely dynamic epidemiological setup in which the disease is described by a susceptible-infected-recovered (SIR) model, which is based on the assumption that recovery from the disease confers permanent immunity; through a comparative dynamic exercise he shows how different mitigation efforts affect the epidemic dynamics by reducing the disease transmission rate. Building on Atkeson's epidemiological setup (2020), Alvarez et al. (2020) analyze the links between economy and epidemics in a setting where the lockdown policy determines how much output agents can produce; by focusing on a social planner's framework they determine the optimal duration and intensity of the lockdown showing in their baseline scenario that it may need to be initially severe and implemented shortly after the outbreak. Acemoglu et al. (2020) rely on a similar centralized economic setup enriching the epidemiological framework to consider a multi-group SIR model to distinguish the disease impact among young, middleaged and old individuals, showing that intuitively increasing the severity and the duration of the lockdown for the old may allow to relax it for younger agents. Eichenbaum et al. (2020) analyze the competitive equilibrium in a decentralized economy focusing on individuals' behavioral response to the disease, showing that their decision to reduce consumption and work lowers the health costs of the epidemic but increases the economic ones, giving rise to an important trade off between health and macroeconomic outcomes. Ng (2020) focuses on a multi-group SIR framework to distinguish between different severity levels of the disease in a competitive framework, analyzing the effects of different intensity of lockdown policies through comparative dynamics. Bosi et al. (2020) analyze a centralized setup in which the social planner seeks to maximize social welfare, which is defined according to different criteria; different from other papers, they describe the epidemic setting as in a SIS model and characterize the optimal policy analytically, showing that the intensity of the lockdown crucially depends on individuals' degree of altruism. Our paper contributes to this literature by taking a slightly different point of view and integrating some of the approaches presented thus far. Despite most of the works are based on a SIR setup, since as to date there is no evidence that ''people who have recovered from COVID-19 and have antibodies are protected from a second infection'' (WHO, 2020b) , it seems more reasonable to rely on a SIS framework in which after recovery people return to be susceptible and thus can get infected again, as in Bosi et al. (2020) . This has also the advantage to allow for a direct comparison of our paper with the macroeconomic epidemiology literature Liu, 2012, 2020; Goenka et al., 2014; La Torre et al., 2020) . Different from Bosi et al. (2020) , since the epidemic management is a short run problem we abstract from saving and capital accumulation, considering a simple framework in which the disease prevalence determines the income level and disposable income is entirely consumed, as in Eichenbaum et al. (2020) . Different from both Bosi et al. (2020) and Eichenbaum et al. (2020) in which the time horizon in infinite, we consider a finite time horizon to investigate the intensity and the duration of the optimal policy, along the lines of Acemoglu et al. (2020) and Alvarez et al. (2020) . Similar to them we focus on a centralized problem since in the real world the response to the disease has been mainly driven by public regulations and governmental measures rather than by behavioral changes. Different from them in our setup the social planner does not choose only the degree of social distancing but also that of therapeutic treatment: treatment is publicly provided and is financed through income taxation, thus the spread of the disease by lowering income reduces also the availability of resources to fund treatment measures, as in La Torre et al. (2020) . In our setting the social planner aims to minimize the social costs associated with the disease prevalence and the strength of the policy tools employed to manage the epidemic, similar to Alvarez et al. (2020) . However, different from them, rather than relying only on numerical simulations we aim to determine analytically the duration and the intensity of the optimal policies as in Bosi et al. (2020) . Different from all extant works in which the epidemic is implicitly assumed to be in an advanced stage, we analyze both the early epidemic and non-early epidemic intervention strategies highlighting their implications for short and long run health and macroeconomic outcomes. Indeed, several papers in mathematical epidemiology show that in early stages of an epidemic outbreak the evolution of the disease prevalence can be described through sub-exponential or exponential growth dynamics giving rise to a setup substantially different from those considered in traditional mathematical epidemiology models (Chowell et al., 2016) . Specifically, in our framework the social planner determines the optimal intensity and duration of social distancing by balancing its beneficial effects on health outcomes and its detrimental macroeconomic consequences. Indeed, by limiting individuals' ability to freely interact with others social distancing allows to reduce the disease incidence but it also leads to a reduction in the economy's productive capacity. Therefore, the planner wishes to minimize the social costs associated with the levels of disease prevalence and output lost due to the social distancing policy. Our setup is not strictly tailored to investigate the consequences of COVID-19 but it is applicable in more general terms, allowing us to consider the macroeconomic implications of a variety of communicable diseases. We show that in the early stages of an epidemic outbreak the disease dynamics can be proxied by a linear differential equation and thus it is possible to explicitly determine both the optimal intensity and duration of social distancing. In later stages such an approximation is not applicable and the nonlinearity of the epidemiological dynamics precludes us from the possibility to derive analytical solutions. Through numerical simulations we illustrate how the optimal social distancing may largely vary according to the epidemiological features of specific diseases. For example, in the case of the seasonal flu the social distancing policy needs to be stricter and to last for longer than in the case of the common cold, because of its higher infectivity rate. We also show that our model is applicable to COVID-19 (even if by abstracting from the disease-induced mortality our results need to be taken with some grain of salt) by presenting a calibration based on Italian data, distinguishing between national-and regional-level policy in which an early stage and an advanced stage epidemic model applies respectively, illustrating thus how the early stage epidemic setup may be a useful approximation in concrete real world circumstances. The rest of the paper proceeds as follows. Section 2 presents our macroeconomic-epidemiological framework in which the social planner seeks to determine the optimal intensity and duration of the mitigation policy (i.e., social distancing) to minimize the social costs of the epidemic management program. Section 3 focuses on the early epidemic case in which the number of infectives is still very low and thus the number of susceptibles can be approximated with the entire population. Section 4 discusses the advanced epidemic case, in which the number of infectives is already non-negligible with respect to the population size. In both cases we focus on the determination of the optimal intensity and duration of social distancing showing its implications on macroeconomic and health outcomes, and illustrating how social distancing might need to be implemented to control the diffusion of widespread diseases such as the seasonal flu and the common cold. Section 5 presents a calibration of our early and advanced epidemic setups to the Italian COVID-19 experience, showing how social distancing should be differently applied at national and regional level. Section 6 as usual concludes and presents directions for future research. Technicalities are postponed to Appendices A and B. We now present our macroeconomic-epidemiological setup in which the disease prevalence drives output production and social distancing and treatment policy are used to manage the epidemic. The epidemiological side is described by a policy-extended SIS model while in the macroeconomic one social distancing affects output and income taxation determines the availability of resources to finance therapeutic treatment. This gives rise to feedback effects between health and macroeconomic outcomes. Before introducing our macroeconomic-epidemiological setup, we briefly review the basic SIS model, having its origin in the seminal work by Kermack and McKendrick (1927) . The SIS model is one of the simplest and most discussed frameworks in mathematical epidemiology, widely applicable to a range of diseases not conferring permanent immunity, such as the seasonal flu, some sexually transmitted diseases and some vector-borne diseases (Hethcote, 2008) . According to its simplest formulation abstracting from vital dynamics, the population which is assumed to be constant and normalized to unity without loss of generality, N ≡ 1, is composed by healthy individuals who are susceptible to the disease, s t , and the infectives who have already contracted the disease and can transmit it by getting in contact with susceptibles, i t . Thus, at any moment in time we have that 1 = s t + i t , and the interactions between susceptibles and infectives determines the evolution of the two subpopulation groups. Infectives spontaneously recover at the rate δ > 0, and susceptibles become infective by interacting with infectives which occurs at the rate α > 0, measuring the number of social contacts required to give rise to a new infection (i.e., the product between the number of contacts between infectives and susceptibles per unit of time and the probability that one contact leads to disease transmission). This implies that the dynamics of susceptibles and infectives can be described through a dynamic system as follows: Since the population is normalized to one the equations above describe the evolution of the shares of susceptibles and infectives. By recalling that s t = 1 − i t , the evolution and equilibria of the above system can be characterized by focusing simply on one of the two equations, say that for infectives which can be rewritten as follows: It is straightforward to verify that there exists two equilibria: i 1 = 0 and i 2 = α−δ α . The former represents the disease-free equilibrium in which the share of infectives is null, while the latter the endemic equilibrium in which the share of infective is strictly positive. Note that while the disease-free equilibrium exists for all parameter values, the endemic equilibrium exists only if α > δ. Moreover, by analyzing the (local) stability properties of the equilibria, it is possible to show that ∂it ∂it | it =i 1 = α − δ and ∂it ∂it | it =i 2 = −(α − δ), suggesting thus that when only the diseasefree equilibrium exists (i.e., α < δ) this will be asymptotically stable, while when also the endemic equilibrium exists (i.e., α ≥ δ) this will be asymptotically stable while the diseasefree equilibrium will become unstable; thus α = δ, represents a bifurcation point at which the number of equilibria along with their stability properties change. This suggests that the long run epidemic outcome entirely depends on the relative size of the speed of recovery and the speed at transmission: intuitively, whenever the speed of recovery exceeds (falls short of) the speed at transmission, δ > δ (δ ≤ α), in the long run the disease will be completely eradicated (will persist becoming endemic in the population). This outcome can be equivalently seen in terms of the socalled ''basic reproduction number'', R 0 . This parameter plays a crucial role in mathematical epidemiology, as it measures the average number of secondary infections produced by a typical infectious individual introduced into a completely susceptible population (Hethcote, 2000 (Hethcote, , 2008 . In our SIS framework it is possible to show that the basic reproduction number is given by the following expression: thus the long run outcome completely depends on whether this takes a value larger or smaller than unity. Indeed, when R 0 < 1 (R 0 ≥ 1) in the long run the disease will be completely eradicated (will persist) and thus the share of infectives will be zero (positive); this happens whenever the speed of recovery is faster (slower) than the speed of transmission. In the case of an epidemic outbreak in which R 0 > 1, mitigating policies which affect the speed of recovery or the speed of transmission (or both) can be used to lower the basic reproduction number and bring it below unity to achieve the long run eradication goal. A more detailed review of the SIS model and the role of mitigating (preventive and therapeutic) policies can be found in La Torre et al. (2020) . After having recalled the basic SIS model, we now extend it to account for the role of social distancing and treatment policies and to analyze its relation with macroeconomic outcomes. Specifically, we consider a short and endogenous time horizon framework in which the social planner decides the policy measures to reduce the spread of a communicable disease, along with the duration of the implemented policies, in order to minimize the social cost associated with the epidemic management program. We consider therapeutic treatment, 0 < v t < 1 which increases the speed of recovery of the infectives and social distancing which limits the social contacts by a percentage 0 < u t < 1 reducing thus disease transmission. The short time horizon suggests that saving and capital accumulation are irrelevant, thus we simply assume that individuals entirely consume their disposable income as follows: c t = (1 − τ )y t , where c t denotes consumption, y t income and 0 < τ < 1 the tax rate. Output is produced through a linear production function by the number of susceptibles as follows: q t = s t = 1 − i t , but since only a certain share of the social contacts, 1 − u t , is allowed to regularly occur output net of social distancing is given by: The tax revenue, τ y t , is entirely used to finance treatment by maintaining a balanced budget at any moment in time: v t = τ y t , meaning that health policy is completely publicly provided. The disease dynamics is described by a SIS equation transmission rate depends on the amount of social interactions between individuals (either on the workplace or for daily life activities). Treatment reduces the disease prevalence by increasing the speed of recovery from the disease by a factor ω > 0, while social distancing lowers disease incidence by reducing the number of possible contacts between susceptibles and infectives by an amount β > 0. 1 The social cost is the weighted sum of two terms: the discounted sum (ρ > 0 is the discount rate) of the instantaneous losses associated with the epidemic management program during its duration and the discounted final damage associated with the remaining prevalence level of the disease. The instantaneous loss function is assumed to depend on the spread of the disease and the output lost due to social distancing, and to take a quadratic non-separable form (La Torre et al., 2017 Torre et al., , 2020 as follows: , penalizing deviations from the disease-free status and from the no-production-loss scenario. The final damage function is assumed to depend only on the share of infectives remaining at the end of the epidemic management program and to take a linear form as follows: d T = i T . The relative weight of the final damage in terms of the instantaneous losses is given by φ T > 0, which measures the concerns for long run health outcomes and depends on the degree of health concern, φ > 0, and the final time period, T . This means that, independently of the degree of health concern, the weight attached to long run health outcomes critically depends on today's distance from the long run date: if T = 0 the short and long runs coincide and thus an infinitely large weight is attached to the final damage, if T → ∞ the long run is infinitely far away and thus the weight attached to the final damage is null; for positive but finite values of T a positive and finite value is attached to the final damage giving rise to a clear trade off between the discounted sum of the instantaneous losses (which are minimized with T → 0) and the discounted final damage (which is minimized with T → ∞) ensuring thus that optimality will require that the epidemic mitigation policies will be used for a positive and finite amount of time. The social planner problem reads as follows: Note the role of the degree of health concern in determining the relation between health and macroeconomic outcomes. If this is null the planner will not be much willing to reduce economic activity to lower disease incidence and thus prevalence in the short run as well as in the long run. If this is particularly high the planner will be very well willing to incur short run economic 1 Note that we have assumed that both treatment and social distancing affect linearly the epidemic dynamics, while we could also assume the effect to be nonlinear. Indeed, some economic epidemiology works conjecture that health policy is subject to decreasing returns and thus their effect on disease prevalence is less than linear (Gersovitz and Hammer, 2004) . Such alternative formulation would yield an analytically untractable model making it thus impossible to derive closed-form solutions. Despite the lack of analytical tractability, it is reasonable to believe that the presence of nonlinear effects would give rise to results qualitatively similar to ours, apart from the fact that the lower effectiveness of health policy would lead from a quantitative point of view to smaller reductions in the share of infectives, which would thus result to be higher than in our setup at any moment in time. losses (i.e., to increase the severity of social distancing) in order to slow down the epidemic dynamics and achieve at the end of the planning horizon a lower level of disease prevalence. Understanding thus how the intensity and the duration of the optimal policy depend on the degree of health concern may provide us with important information regarding the consequences of real world policymakers' preferences on health and macroeconomic outcomes. Before proceeding into the determination of the optimal policy it may be useful to comment on some features and implications of our modeling approach. (i) Consistent with the economic epidemiology literature, our setup allows to consider two different forms of health policy measures, prevention and treatment, where the former acts on incidence and the latter on prevalence. While therapeutic treatment is defined similar to extant literature (Gersovitz and Hammer, 2004; La Torre et al., 2020) , prevention is determined by social distancing as in the recent COVID-19 experience (Acemoglu et al., 2020; Alvarez et al., 2020) . Different from other preventive measures, such as vaccines or prophylactic interventions, which act only on the health status by lowering the disease transmission rate, social distancing has also important economic implications by reducing production. (ii) The interpretation of our setup in terms of COVID-19 requires careful considerations of its underlying assumptions. By abstracting from vital dynamics, we cannot account for the disease-induced mortality which represents an important element of the recent coronavirus epidemic experience since about half a million of deaths worldwide are attributable (either directly, through its related pneumonia complications, or indirectly, through the stress caused on healthcare facilities) to the disease. Therefore, we may expect the optimal policy in our setup to be substantially less strict than in other frameworks in which mortality effects have been explicitly taken into account (Acemoglu et al., 2020; Alvarez et al., 2020) . Moreover, consistent with previous studies, given the large degree of uncertainty on parameter values which our calibrated optimal policies depend on, our conclusions can only be considered as a stylized benchmark for real world policymaking (Acemoglu et al., 2020; Manski and Molinari, 2020) . The outbreak of a new epidemic does not generally translate in an immediate response from policymakers and thus the disease spreads freely among the population. Several studies in mathematical epidemiology document that in the early phase of an epidemic the number of infectives tends to grow at a constant (or even decreasing) rate, and thus the evolution of the disease can be described through an exponential growth (or sub-exponential growth) dynamics (Chowell et al., 2016; Ma, 2020) . This argument is independent of the specific epidemiological framework used to characterize the disease spread and it is equally applicable to SIS, SIR or more sophisticated epidemiological models. In fact, for any of the above mentioned epidemic models, given i 0 , the evolution of the epidemics is driven by a differential equation taking the form: where f (·, ·) is a continuous and differentiable function. Similar to the SIS model seen in the previous section, the disease-free equilibrium is characterized by the pair (0, 1) such that the absence of infectives results in no spread of the disease. If we take the firstorder expansion of the right-hand side of the above equation, we get: which, using the fact that f (0, 1) = 0 along with s t − 1 = −i t , implies that: This clearly explains why, in an early epidemic stage, the epidemic growth can be modeled via an exponential equation. By using such a linear approximation and the assumption that in an early epidemic stage the share of infectives in the population is negligibly small, we can approximate the share of susceptibles with the entire population, that is s t = 1 − i t ≃ 1. In such a setup our optimization problems (5)-(9) can be rewritten as follows: Before proceeding with the determination of the optimal intensity and duration of the epidemic management policies, note that the evolution of the infectives in (14) is now given by the following differential equation where θ ≡ α − δ − δωτ represents the net infectives growth rate (i.e., the infectivity rate, α, adjusted for recovery, δ, and the treatment-augmented recovery, δωτ ) and µ ≡ αβ − δωτ the effectiveness of the social distancing policy (i.e., the social-distancing-reduced infectivity rate, αβ, net of the treatment-augmented recovery). Intuitively, given θ and µ, the disease eradication goal will be eventually achieved only if the social distancing policy is stringent enough to reverse the growth trend of the infectives share. However, eradication does not necessarily need to be the most desirable outcome, since the economic costs of social distancing might lead the planner to prefer an endemic state by accepting a certain level of disease prevalence. For the time being, let us suppose that T is fixed (but unknown) and later we will determine a value of T that minimizes the social cost functional in (13). Our analytical results, made possible by the quasi quadratic-linear structure of our problem, are summarized in Theorem 1 and Proposition 1. Theorem 1 states necessary optimality conditions for the existence of a optimal solution for the problem above. Proposition 1 instead determines some sufficient parameter conditions ensuring that the feasible solution is optimal, by exploiting the fact that the optimal control and the state and costate equations are bounded, meaning that the derived system of forward-backward differential equations has a Lipschitz structure (Jung et al., 2002; La Torre et al., 2020) . the optimal control problem given by (13)-(15) solves the following system of forward-backward differential equations: where λ t is the costate variable. The closed-form expressions of i t and u t are given by: where Proposition 1. Assume T ≥ µφ and ψ > ρ. If either the following conditions: ] or the following ones: are satisfied, then the solution (i t , u t ) given by (19) and (20), respectively, satisfies the inequalities 0 < i t < 1, 0 < u t < 1 and it is optimal for the control problem given by (13)-(15). Furthermore, Theorem 1 determines explicitly the optimal time evolution of the control, u t , and state, i t , variables which, given the quasi quadratic-linear structure of the problem, are given by exponential functions. Proposition 1 identifies two alternative parameter configurations ensuring that such a solution is well defined, by determining a range of values for degree of health concern φ and for the rate of time preference ρ. A simple inspection of the optimality conditions in (36) jointly with the inequality constraints on i t and u t ensured by Proposition 1 allows to show that the following condition (which we will assume to hold true in what follows) needs to be satisfied: which suggests that the social distancing duration needs to be large enough and that such a duration increases with the effectiveness of the social distancing policy µ and the degree of health concern φ. Under the parameter restrictions in Proposition 1, it directly follows that the share of infectives monotonically decreases over time. Intuitively, since in our SIS framework both the incubation and latent periods are null, the social distancing policy is optimal if reducing the disease incidence enough to bring the number of new infectives below the number of recovered ones such that disease prevalence will decrease during the entire duration of the epidemic management program. This also implies that during the whole planning horizon the share of infectives will always be lower than its initial value and thus the share of susceptibles can continue to be approximated with the entire population, suggesting that our linearization approach is applicable for the entire life of the social distancing policy. Even if the optimal share of infectives decreases over time, it is bounded from below at a null level thus it does never reach zero suggesting that it will never be optimal to achieve complete disease eradication. The next proposition summarizes such a result. Proposition 2. Let (i t , u t ), with 0 < i t < 1 and 0 < u t < 1, given by (19) and (20), be the optimal solution to the control problem given by (13)-(15). Then the disease eradication is not optimal for any T > 0. Thus far, in our analysis we have assumed that T is fixed (and thus our above conclusions apply independently of its specific value) while this needs to be endogenously derived as part of the optimization problem. Indeed, the optimal duration of the social distancing policy, other than satisfying the constraint T ≥ T min ≥ µφ (T min could even be larger than µφ due to the presence of the other constraints implied by Proposition 1), is determined by minimizing the social cost functional, thus the determination of the optimal T reduces to solving the following static problem: The above problem may be characterized by either an interior or a corner solution according to the model's parametrization. In particular, the expression of C(T ) is known and provided by the following expression: where , while C 1 and C 2 (which are functions of T as well) are given in (21) and (22), respectively. Clearly, an interior solution of the above minimization problem can be determined by setting the derivative of C(T ) with respect to T to zero, however, this expression is particularly cumbersome and it is not possible to determine it explicitly. The only conclusion that we can derive without a closed-form expression for the optimal T is that this necessarily increases with the effectiveness of the social distancing policy and the degree of health concern, since these parameters determine a lower bound for the above optimization problem. Moreover, note that also all the analytical expressions for the optimal intensity of social distancing and the optimal share of infectives, given in Theorem 1, are particularly cumbersome due to the presence of several parameters and thus it is not possible a priori to perform any sort of comparative statics or dynamics exercise. We will thus proceed by illustrating how the dynamics of the share of infectives and the social distancing intensity, along with the optimal social distancing duration, may change under different model's parametrizations. Fig. 1 shows the determination of the optimal social distancing duration, T , by displaying the behavior of the cost functional C (left panels), the dynamics of the share of infectives, i t (middle panels), and that of the social distancing intensity, u t (right panels), under two different disease configurations representing the cases of two widespread diseases, namely the seasonal flu (top panels) and the common cold (bottom panels). The value of the basic reproduction number and the time of recovery for each of these diseases are well known, and this information allows us to determine the relevant epidemiological parameters. Specifically, the recovery rate can be computed as the inverse of the average number of days to recover from the disease and, given the basic reproduction number and the recovery rate, the infectivity rate can be computed from (4) as: α = δR 0 . Estimates on seasonal flu suggest that R 0 = 1.5 and people recover in about seven days which implies that δ = 0.14 and thus α = 0.21; estimates on the common cold instead show that R 0 = 2.0 and in this case people recover in about ten days which implies that δ = 0.1 and thus α = 0.2 (Bailey, 1975; Coburn et al., 2009) . In order to understand the effects of different epidemiological parameters on social distancing policy, we set the initial share of infectives to 5% of the susceptible population for both the diseases. We therefore set the epidemiological parameters as follows: R 0 = 1.5, α = 0.21, δ = 0.14, i 0 = 0.05 in the seasonal flu case and R 0 = 2.0, for the seasonal flu and ω = 3.94 for the common cold. In such a parametrization β reflects the consumption share of GDP (as consumption needs exist also under social distancing, which thus can only lower the transmission rate by the amount that social contacts do not entail consumption activities), φ is varied across three different values to understand the implications of the degree of health concerns on the optimal policy, while ω, quantifying the effectiveness of treatment measures which may differ from one disease to the next, is calibrated to ensure that the parameter restrictions in Proposition 1 are verified. Note that in our two different parametrizations the only source of difference is the epidemiological parameters and the effectiveness of disease-specific treatment measures in order to focus on the implications of different disease characteristics on social distancing. In particular, the common cold is characterized by a higher basic reproduction number and a higher effectiveness of treatment, along with a lower degree of infectivity and a lower recovery rate than the seasonal flu. The figure shows that behavior of the optimal social distancing policy (which in this setting can be interpreted as the requirement to wear face masks or maintain physical distance from others) is similar for both the seasonal flu and the common cold, starting high and then decreasing over time. In particular, we can observe that both the intensity and the duration of social distancing are higher in the flu case and this leads the share of infectives to decrease by a larger amount in the case of the flu. Consistently with what discussed in our theoretical analysis, for both diseases the optimal policy does not lead to disease eradication, but rather to the convergence to an endemic state in which the share of infectives reaches a value of about 0.041 in the case of the flu or 0.0445 in the case of the cold, associated with a reduction in disease prevalence ranging from about 18 to 10 percent with respect to its initial level. In both cases the effects of the degree of health concern are intuitive: the higher the parameter the higher the intensity and the duration of social distancing, and thus the lower the level of disease prevalence at any moment in time. Apart from the early stage of an epidemic outbreak in which the disease dynamics is characterized by exponential growth, in later phases the evolution of the disease can be described by a fully-fledged epidemiological model. In our setup this implies that the spread of the disease follows a nonlinear SIS equation as discussed in the economic epidemiology literature. Therefore, in this context our optimization problem reads as follows: As in the previous section, we first consider the case in which T is fixed (but unknown) and later we will determine a value of T that minimizes the social cost functional. Our analytical results are summarized in Theorem 2 and Proposition 3. By applying the same arguments as in the previous section, Theorem 2 states a necessary optimality condition for the existence of an optimal solution to models (27)-(31). Proposition 3 states some sufficient conditions ensuring that the feasible solution is effectively optimal. Theorem 2. Suppose that T > 0 is fixed. Then, the optimal solutions (i t , u t ), 0 < i t < 1 and 0 < u t < 1, of the optimal control problem given by (27)-(29) solve the following system of forward-backward differential equations: where λ t is the costate variable. Proposition 3. Assume T ≥ µφ and let (i t , u t ) be the solution of the system (32). Then (i t , u t ) satisfies the inequalities 0 < i t < 1 and u t > 0 for any t ∈ [0, T ]. Furthermore, if u t < 1 for any t ∈ [0, T ], then the pair (i t , u t ) is optimal for the control problem given by (27) Theorem 2 shows that the control and state variables are determined as the solution of a simultaneous system of differential equations, which, different from what seen in the previous section, by being highly nonlinear cannot be solved explicitly. Exactly as in the previous section, a simple analysis of the optimality conditions in (32) allows to show that the following condition needs to be satisfied: which requires the social distancing duration to be large enough. Despite the absence of a closed-form expression for the optimal solution, Proposition 3 states that, even without imposing any additional parameter restriction, the optimal share of infectives lies in the unit interval and the optimal social distancing intensity is nonnegative, 2 meaning that results similar to those earlier 2 Given the absence of an analytical expression for u t , we cannot establish that the optimal social distancing intensity is effectively lower than unity. In our discussed in the previous section apply. In particular, the fact that the share of infectives needs to be strictly positive implies that also in a non-early epidemic stage complete disease eradication is not optimal, and thus conclusions similar to those outlined in Proposition 2 hold true. However, the lack of a closed-form solution for the above problem precludes us from the possibility to explicitly derive some analytical result not only about the intensity of the social distancing policy but also about its dynamics. In particular, we cannot state a priori whether the share of infectives will monotonically fall as in the previous section, and we can only determine some quite stringent conditions (depending on the value of either the intensity of social distancing or the share of infectives itself) under which this may be the case. Moreover, thus far we have not said anything about the optimal determination of T yet, but exactly as in the previous section this needs to be chosen by minimizing the social cost functional in (27). In order to shed some light on this, we will proceed by exemplifying the behavior of the optimal solution along with the determination of the optimal T under different model's parametrizations, by applying the numerical algorithm briefly described in Appendix B. Fig. 2 shows the determination of the optimal social distancing duration, T , by displaying the behavior of the cost functional C (left panels), the dynamics of the share of infectives, i t (middle panels), and that of the social distancing intensity, u t (right panels), under two different disease configurations representing the cases of the seasonal flu (top panels) and the common cold (bottom panels). The economic and epidemiological parameters are set exactly as in the previous section, and we can observe that from a qualitative point of view the results are identical to those presented earlier. For both diseases the optimal social distancing policy starts high and then decreases over time, and both its intensity and duration are higher in the case of the seasonal flu and numerical analysis we will check that this further condition is verified ex-post in order to ensure that the optimal solution is effectively feasible. this leads the share of infectives to decrease by a larger amount in the flu case. Also in an advanced epidemic stage framework, for both diseases the optimal policy implies convergence to an endemic state, in which the share of infectives reaches a value of about 0.039 in the case of the flu or 0.043 in the case of the cold, associated with a reduction in disease prevalence ranging from about 22 to 14 percent with respect to its initial level. Intuitively, even if the qualitative effects are similar, from a quantitative point of view in an advanced epidemic stage social distancing is stricter and lasts for longer than in the early epidemic stage, and thus the final level of prevalence results to be lower in the case of both diseases. The effects of the degree of health concern are exactly the same as in the previous section. Even if our model is not specifically designed to capture the peculiarities of COVID-19, we now show that our general framework can be applied (with the limitations following to the lack of disease-induced mortality) also to determine the optimal social distancing policy in the case of this emerging disease. Italy has been strongly affected by the COVID-19 outbreak and it has registered thus far the highest number of deaths and the second highest number of reported cases among European continental countries (Dong et al., 2020) . The first reported case has been filed in late January and by the end of February more than 1000 other cases have been reported. In early March the Italian government has introduced its first social distancing policies imposing the lockdown of a number of non-essential businesses and the wearing of face mask to reduce the number of contacts between individuals and the probability that each single contact may lead to disease transmission, respectively. Similar and more stringent policies and regulations have been introduced between March and April, leading on the one hand to a substantial reduction in the epidemic growth and on the other hand to a dramatic drop in economic activity. In order to get a sense of these effects, in Fig. 3 we illustrate the daily evolution of the disease incidence (left panel) and quarter-to-quarter GDP growth (right panel) since late January to late June 2020. This clearly shows that while it took about one month for the effects of social distancing to be visible on the disease incidence, those on GDP growth became evident in just a matter of days. GDP growth has fallen rapidly since late March while incidence has slowed down significantly only since early May. In order to determine the optimal balancing between its health benefits and economic costs in the case of COVID-19, we now determine the optimal intensity and duration of social distancing (which can be interpreted not only in terms of the requirement to wear face mask or to maintain physical distance from others, but also as the introduction of a lockdown measure) by calibrating our theoretical framework to Italian data. By following the same procedure discussed earlier, we use estimates of the basic reproduction number and the recovery rate to infer the infectivity rate. Italian estimates show that R 0 = 2.79 and that recovery takes about three weeks (Remuzzi and Remuzzi, 2020) , thus we set δ = 0.0476 from which it follows that α = 0.1328. The instantaneous rate of time preference is set at ρ = 0.04/365 (Barro and Salai Martin, 2004) and the tax rate at τ = 0.3 (Di Nicola et al., 2017) , the effectiveness of treatment measures is calibrated as ω = 8.23 in order to ensure that the optimization problem is well defined (i.e., the constraints 0 ≤ i i ≤ 1 and 0 ≤ u t ≤ 1 are met), the degree of health concerns and the effectiveness of social distancing have been normalized to unity, β = 1 and φ = 1 for simplicity, while i 0 is varied between different levels to show the implications of different initial conditions on the optimal policy. As today, the number of COVID-19 cases at national level (about 300,000) is completely negligible (i.e., considering that Italy is populated by 60,461,826 people, it amounts to a share of infectives of 0.0049) thus we can apply our early epidemic stage model to characterize the national dynamics. However, the same is not true at regional level where we can see that in specific regions at the epicenter of the outbreak the number of cases has been substantially large, thus we can apply our advanced epidemic stage model to characterize the regional dynamics. In the first phase of the Italian coronavirus epidemic at national level the disease has evolved according to an exponential pattern (Remuzzi and Remuzzi, 2020) , consistent with the assumption underlying our early epidemic growth setup. By considering different initial share of infectives (i 0 = {0.02, 0.03, 0.04}), we account for the large uncertainty (due to existence of asymptomatic individuals that have never been tested) regarding the exact number of infectives present today in the Italian economy (Lazzerini and Putoto, 2020) . Fig. 4 shows the determination of the optimal social distancing duration, T (left panel), the dynamics of the share of infectives, i t (middle panel), and that of the social distancing intensity, u t (right panel) in the case of COVID-19 at Italian national level. We can observe that the social distancing policy needs to be applied for about 9-16 days according to the initial share of infectives, and in particular the higher the initial share of infectives the lower the duration and the intensity of the social distancing policy. This counterintuitive result is driven by the fact that the higher the initial infectives share the higher the social cost associated with inaction, and some policy intervention increases this social cost further; therefore, with a higher initial share of infectives it is optimal to implement a softer and shorter-living policy. Independently, of the initial infectives share the social distancing policy starts high to then gradually decrease, generating a smooth reduction in the level of disease prevalence to reach a final value ranging from 0.01 to 0.03: the optimal policy requires COVID-19 to become endemic in the Italian population. At a regional level, the outbreak has hit particularly strong certain local areas, such as the Bergamo region where some studies estimate that more than 40% of the local population has contracted the virus (Buonanno et al., 2020) , thus in such a setting our advanced epidemic growth setup seems more appropriate. According to these rough estimates and in order to account for some uncertainty along the lines of our earlier approach for the national level, we assume different initial share of infectives Fig. 5 shows the outcome of our numerical analysis for the case of COVID-19 at regional level in Bergamo. The social distancing policy needs to be applied for about 2-4 days according to the initial share of infectives with a mild intensity, decreasing from about 0.06-0.07 to 0.005. Such a mild policy is however enough to reverse the disease growth pattern, leading thus the share of infectives to reach a final value ranging from about 0.2 to 0.35. Also at a regional level the optimal policy requires COVID-19 to become endemic in the population, and the effects of the initial share of infectives on both the intensity and duration of social distancing are similar to those earlier discussed at national level. Both in the national-and regional-level calibrations, our optimal policy turns out to be substantially different from those derived in other papers analyzing the optimal intensity and duration of social distancing policies aiming to manage the COVID-19 epidemic, and such differences are reflected also in the evolution of the infectives (Acemoglu et al., 2020; Alvarez et al., 2020) . Indeed, while our social distancing policy is characterized by a monotonically decreasing intensity and a short duration ranging from 2 to 16 days leading to a monotonically decreasing share of infectives, the optimal policies both in Acemoglu et al. (2020) and Alvarez et al. (2020) are characterized by bell-shaped intensities and long durations ranging from 100 to 400 days in their baseline scenarios, which in turn yields a non-monotonic dynamic in the spread of the disease. Such neat dissimilarities are the result of the differences in the economy under consideration in the calibration exercise (Italy vs US), in the analytical frameworks (SIS vs SIR contexts) and in the assumptions underlying the disease characteristics (absence vs presence of disease-induced deaths). Moreover, the types of social distancing policy under consideration are quite different as well. Indeed, we focus on a policy that only reduces the number of contacts between infectives and susceptibles and thus disease incidence along with its implications on treatment through the economic-epidemiological feedback effects. Alvarez et al. (2020) instead analyze the implications of a lockdown policy which resembles more a quarantine than a true lockdown since a certain share of both infectives and susceptibles is isolated from the rest of the population, while Acemoglu et al. (2020) investigate the mutual links between lockdown measures and other forms of policy interventions such as vaccination. Given such discrepancies between our approach and that employed in other related papers, it is difficult to perform a true comparative analysis but nevertheless the difference in the optimal duration of the social distancing policies is striking, and we believe that the short social distancing duration underlying our analysis appears to be consistent with real-world experiences. By comparing our optimal policy associated with the examples discussed in Sections 3 and 4 with that derived from the COVID-19 case at Italian national level (since the initial share of infectives are comparable in these cases), even if the economic parameters are different and thus such a comparison may be misleading, we can observe that social distancing is characterized by a larger variability in the evolution of its intensity and a longer duration in the case of COVID-19 than in the seasonal flu and common cold cases. Even without considering its eventual effects on mortality, the epidemiological peculiarities of COVID-19 (a high basic reproduction number and a low recovery rate) require social distancing measures to be applied for longer periods than in the case of more common diseases. In order to better understand the working mechanisms underlying our epidemic management program, which is characterized by a simultaneous application of social distancing and treatment measures, we now compare the effectiveness of social distancing and treatment in isolation. In particular, we focus on the Bergamo area which is probably the most interesting case to understand the validity of the different health policy measures, and we rely on the same parametrization earlier employed in which the initial share of infectives is assumed to be equal to 0.2. The effectiveness of social distancing and treatment is captured by the parameters β and ω respectively, thus by setting one of these parameters to zero we can analyze how our model would perform in the absence of one of the two policy measures. Therefore, we compare the results we have obtained earlier in which social distancing and treatment are applied simultaneously (i.e., β > 0 and ω > 0), with those derived in a setting in which either only social distancing (ω = 0) or only treatment (β = 0) is implemented. Fig. 6 shows the outcome of our analysis distinguishing between situations in which β > 0 and ω > 0 (solid curve), ω = 0 (dashed curve), and β = 0 (dashed and dotted curve). With both treatment and social distancing (β > 0 and ω > 0) the optimal social distancing policy is characterized by a mild intensity, which however is enough to reduce the disease prevalence over time. In the absence of social distancing (β = 0, which leads to u t = 0, for all t ∈ [0, T ]), health policy is entirely driven by treatment which is enough per se to lead to a monotonic reduction in the disease prevalence, even if the share of infectives results to be higher than in the previous case with the additional help of social distancing. In the absence of treatment (ω = 0), the optimal social distancing Optimal duration of social distancing: T = 3.00 in the ω = 0 case, T = 3.55 in the β = 0 case, and T = 3.60 in the ω ̸ = 0 and β ̸ = 0 case. . policy is characterized by a very high intensity but nevertheless it is not enough to reverse the growth pattern in the disease dynamics and thus the share of infectives monotonically increases over time. The optimal duration of the epidemic management program is similar in the three cases, thus we can focus our comparison on the differences in the social distancing intensity and in the share of infectives. The comparison among these three cases under investigation allows us to stress the importance of treatment: social distancing alone is not enough to reduce the disease prevalence over time while treatment alone can be. This result may be explained by the specific epidemiological features of COVID-19. Since such a disease is characterized by a high basic reproduction number and a low recovery rate, the key element to successfully reduce its spread consists of increasing the speed of recovery which is exactly the role of treatment. Since social distancing acts by reducing the number of contagious contacts and thus does not affect the speed of recovery it plays only a secondary role in this context, but nevertheless this does not mean that social distancing is not important. Indeed, by computing the social costs associated with the three scenarios analyzed, which turn out to be equal to C = 0.1123 in the β > 0 and ω > 0, C = 0.1390 in the ω = 0 case, and C = 0.1625 in the β = 0 case, we can conclude that social distancing plays an important role in reducing the social costs of the epidemic management program. The scenario with no social distancing is clearly the least desirable from the social cost perspective while that with no treatment outperforms the previous one but it is less desirable than the scenario in which both treatment and social distancing are simultaneously applied. By reducing disease incidence, social distancing permits to lower the epidemic growth pattern allowing treatment to speed up the recovery of a lower number of infective individuals, reaching thus the lowest social costs among the three scenarios. The recent COVID-19 epidemic experience has spurred a growing interest in understanding the mutual relation between macroeconomic and epidemiological outcomes, along with the role of health-economic policy in affecting such a relation. Different from previous epidemics, policymakers have tried to control the spread of the disease through social distancing policies, implemented by imposing the requirement to wear face masks or to maintain a certain physical distance from others, by forcing individuals to quarantine and voluntary isolations, or by introducing restrictions on individual mobility along with (complete or partial) lockdowns. Due to the widespread use of social distancing policies, which have never been implemented on such a large scale before, it is essential to understand their implications on both health and economic outcomes. This paper wishes to contribute to this goal by developing a macroeconomicepidemiological model in which the social planner aims to minimize the social costs of an epidemic management program by considering that social distancing on the one hand lowers the disease incidence by reducing social contacts and on the other hand it reduces output by hindering economic production activities. Our framework is general enough to allow for the determination of the optimal intensity and the duration of social distancing in the cases of a number of diseases, some very common (such as the seasonal flu and common cold) and others emerging (such as , identifying how the optimal policy may change in early or advanced epidemic stages. We show that both the optimal intensity and duration of social distancing may largely vary according to the epidemiological characteristics of specific diseases, and that the balancing between health benefits and the economic costs associated with social distancing requires to accept that the disease will reach an endemic state in the population, as confirmed in all our model's parametrizations aiming to capture the peculiarities of the seasonal flu, the common cold and COVID-19. In our analysis we have focused on a SIS framework in which individuals never acquire immunity from the disease, but we could alternatively consider a SIR framework to allow for the possibility that infectives gain permanent immunity upon recovery. Apart from making the structure of the model a bit more complicated, since this requires to consider the joint evolution of three different population subgroups (i.e., infective, susceptible and recovered individuals), this will not modify our main conclusions from a qualitative point of view. From a quantitative perspective, the main difference would rest in the duration of the optimal social distancing policy, which will tend to be shorter in a SIR than in a SIS setting. Indeed, since in a SIR context comparable to our SIS model (that is, abstracting from vital dynamics) the share of susceptibles monotonically decreases over time as individuals gain immunity, the need to prevent new infections naturally falls as time goes by and this translates into a shorter duration of the epidemic management program. To the best of our knowledge no other paper has tried to analyze the implications of social distancing in a way comparable to ours. Several papers analyze the determination of the optimal lockdown intensity and duration in the case of COVID-19 by numerical simulations, and only few works investigate the issue analytically by treating the lockdown policy as a mere parameter. Our attempt to determine analytically the optimal social distancing intensity and duration, not only focusing on the case of COVID-19 but on communicable disease in general, is to some extent unique. In order to develop an analytically tractable framework, we have had to introduce a number of simplifying assumptions which however limit the ability of our model to capture specific issues brought to light by the recent COVID-19 experience. In particular, by abstracting from vital dynamics and disease-induced mortality, our model cannot properly quantify the true social costs associated with the coronavirus outbreak, and thus it should come to no surprise that in our setup the optimal policy requires social distancing to be mild and shortlived. Moreover, by assuming that treatment is entirely funded through income taxation via balanced-budget considerations our model cannot capture the long run consequences on the public finance sustainability of the growing need to issue public debt to fund the high coronavirus treatment expenses. Extending the analysis to address these further issues is left for future research. The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper. The Hamiltonian H(i t , u t , λ t ), associated with the optimal control problems (13)-(15) reads as: Note that in order to derive the expression of u t we suppose that i t ̸ = 0. The degenerate case in which i t = 0 implies that any u t can be chosen. By plugging the expression of u t into the equation of λ t , we get: which, after simplifications, leads to the following expression: By plugging the expression of u t into the equation of i t we obtain: By differentiating the expression of i t with respect to time, we get: and plugging the expression ofλ t yields: that leads to: The characteristic polynomial is given by the following expression: α 2 − ρα + (−µ 2 − θ 2 + θρ) = 0 whose solutions are given by: which implies that the solution of the above second-order differential equation is the following: In order to determine the values of the two unknown constants C 1 and C 2 , note that when t = 0 we have i t=0 = i 0 which implies that C 1 + C 2 = i 0 . To get another equation, let us plug the expression of i t into the following: which by plugging t = T and using the terminal condition for λ T yields: that is: T By using C 1 = i 0 − C 2 , we finally get the following expressions of C 1 and C 2 : Note that, after plugging in the expressions of C 1 and C 2 , the equation of i t takes the form: The optimal level of the control variable is instead determined by the optimality condition: First of all, note that simple considerations about the expression of u t in (34) and the constraints on i t and u t imply that: from which it follows that T ≥ µφ. Let us now suppose that conditions (1)-(2) are satisfied. 1. We first prove that C 1 < 0. The sign of C 1 depends on the sign of its numerator, as its denominator is always negative. By simple calculations we get the following chain of equivalent inequalities: i 0 (ρ − ψ − 2 θ) e 1/2 (ρ−ψ)T + 2 µ 2 φ T > 0 i 0 (ρ − ψ − 2 θ) e 1/2 (ρ−ψ)T > − 2 µ 2 φ T T e 1/2 (ρ−ψ)T < −2 µ 2 φ i 0 (ρ − ψ − 2 θ) which implies the conclusion. Elementary considerations about the sign of all involved parameters imply thati t < 0 for all t ∈ [0, T ]. This also implies that i T < 1. 2. We now prove that i t > 0. In order to determine the sign of i t , let us proceed by noticing that: C 1 e 1/2 (ρ+ψ)t + C 2 e 1/2 (ρ−ψ)t = C 2 e 1/2 (ρ−ψ)t and, due to the negativity of C 1 , to demonstrate the positivity of i t for any t ∈ [0, T ], it is enough to prove that: C 1 C 2 e ψT + 1 > 0 The following result provides a sufficient condition for this purpose. The following inequality: can be written in equivalent form as follows: i 0 (ρ − ψ − 2 θ) e 1/2 (ρ−ψ)T + 2 µ 2 φ T −2 µ 2 φ T + e 1/2 (ρ+ψ)T (2 θ − ψ − ρ) i 0 e ψT > −1 which is equivalent to i 0 (ρ − ψ − 2 θ) e 1/2(ρ+ψ )T + 2µ 2 φ T e ψT < i 0 (ρ + ψ − 2 θ) e 1/2(ρ+ψ )T + 2µ 2 φ T By simple calculations and rearranging the terms we get: −2ψi 0 e 1/2(ρ+ψ )T < 2φµ 2 (1 − e ψT ) and then the thesis follows. Same calculations show that λ t > 0 for all t ∈ [0, T ]. 3. It remains to prove that u t < 1. This is equivalent to prove that: that is: and finally; and the negativity of C 1 implies that this inequality has to be satisfied at t = T , leading to the following expression: Easy calculations similar to those done in the previous point allow to conclude that u t < 1 for any t ∈ [0, T ]. Now let us suppose that conditions (3)-(5) are satisfied instead. Note that condition (3) implies that Ω > 1. 1. We first prove that C 1 > 0. The calculations on its sign are similar to those presented above and thus we omit them. The positivity of C 1 trivially implies that i t > 0 and λ t > 0 for all t ∈ [0, T ]. 2. To prove thati t < 0 is equivalent to show that: which is equivalent to require that; and then the thesis follows. This also implies that i T < 1. 3. The proof that u t < 1 is very similar to the previous one and we omit it. Since i t satisfies the following differential equation:i t = (θ − µu t )i t , it follows that: which, thanks to the fact that i 0 > 0, also implies that i T > 0. Note that the result that eradication is never optimal in our setting is due to the fact that the time horizon is finite, but in a different infinite-horizon context the results may be different. Indeed, since the closed-form solution of i T is provided by the following expression: 2ψ cosh( 1 2 ψT ) + 2(ρ − 2θ ) sinh( 1 2 ψT ) it is easy to verify that lim T →+∞ i T = 0, thanks to the condition ψ > ρ. 2. Iteration for j ≥ 0: by employing the spectral method, we solve: with initial condition int given by: Finally we check for convergence by computing the difference between the values of i t and λ t in two subsequent iterations (i.e. j + 1 and j). If the L 2 -norm of the difference is negligibly small, we display the current function as solution, otherwise we continue iterating. 3. Once we get a satisfactory numerical approximation of i t and λ t and hence of u t , we evaluate the cost function (27) for different values of T . We then select the cost-function minimizing value of T , as shown in our figures. Fig. 7 validates our numerical algorithm in the early epidemic case by comparing the optimal share of infectives (left panels) and social distancing intensity (right panels) derived from the closed-form expressions given by Theorem 1 (top panels) and from our numerical approach (bottom panels). The employed parameter values are exactly the same and related to our seasonal flu calibration case with φ = 1, ensuring thus that the parameter conditions in Proposition 1 are met. We can observe that the two solutions are almost identical, confirming thus that our numerical approach works well by replicating precisely the analytical solution outlined in Theorem 1. Therefore, we can claim that even in the absence of closed-form solutions, as in the case of the advanced epidemic setting, our numerical approach may provide us with reliable results, and it can thus be used as a benchmark to analyze the implications of different parameters on the optimal intensity and duration of the social distancing policy. A multi-risk SIR model with optimally targeted lockdown Disease and development: the Effect of life expectancy on economic growth Economic activity and the spread of viral diseases: evidence from high frequency data A simple planning problem for COVID-19 lockdown Diversify or focus? Spending to combat infectious diseases when budgets are tight What will be the economic impact of COVID-19 in the US? Rough estimates of disease scenarios The Mathematical Theory of Infectious Diseases Economic Growth Disease and development: evidence from hookworm eradication in the American South Optimal Lockdown in Altruistic Economies How do epidemics induce behavioral changes? Estimating the Severity of COVID-19: Evidence from the Italian Epicenter Pathogens, weather shocks and civil conflict Diseases, infection dynamics and development COVID-19 government response event dataset (CoronaNet v.1.0) Mathematical models to characterize early epidemic growth: a review. Phys. Life Rev Modeling influenza epidemics and pandemics: insights into the future of swine flu (H1N1) Effective marginal and average tax rates in the 2017 Italian tax-benefit system An interactive web-based dashboard to track COVID-19 in real time The macroeconomics of epidemics Spring 2020 economic forecast: a deep and uneven recession, an uncertain recovery Infectious diseases, public policy and the marriage of economics and epidemiology The economical control of infectious diseases Infectious diseases and endogenous fluctuations Infectious diseases, human capital and economic growth Infectious diseases and economic growth Cost optimization in the SIS model of infectious disease with treatment The mathematics of infectious diseases The basic epidemiology models: models, expressions for R 0 , parameter estimation, and applications Optimal control of treatments in a two-strain tuberculosis model A contribution to the mathematical theory of epidemics The international epidemiological transition and the education gender gap Pollution control under uncertainty and sustainability concern Optimal control of prevention and treatment in a basic macroeconomic-epidemiological model COVID-19 in Italy: momentous decisions and many uncertainties Global Burden of Disease and Risk Factors Estimating epidemic exponential growth rate and basic reproduction number Controlling epidemic spread by social distancing: do it well or not at all Estimating the COVID-19 infection rate: anatomy of an inference problem Convergence of the forward-backward sweep method in optimal control To lockdown? When to peak? Will there be an end? A macroeconomic analysis on COVID-19 epidemic in the United States Economic epidemiology and infectious disease COVID-19 and Italy: what next? The epidemiology and pathogenesis of coronavirus disease (COVID-19) outbreak Cyclical patterns in government health expenditures between 1995 and 2010: are countries graduating from the procyclical trap or falling back? In: Health, Nutrition, and Population (HNP) Discussion Paper Report of the WHO -China joint mission on coronavirus disease 2019 (COVID-19) Immunity passports in the context of COVID-19 -scientific brief The Hamiltonian H(i t , u t , λ t ), associated with the optimal control problem (27)-(29) reads as:and the optimality conditions can be stated as follows: Let us first note that since u T = λ T µe ρT i T (1−i T ) , we get the following condition:which implies that:from which it follows that T ≥ φµ.In order to prove that i t > 0 let us notice that since i t solves the following differential equation:then the following result follows:The same argument applies to the equation ofλ t after having replaced λ t with i t = λt µe ρtTo prove that i t < 1, let us suppose that i t is tending to 1 from below. Then there exists some t * such that i t * < 1 and it is sufficiently near to 1 such that the following inequality is also satisfied:Theni t * is given by:which implies that i t cannot growth beyond i t * and this implies the thesis.In order to demonstrate that, under the conditions stated in the proposition,i t < 0 it is enough to prove that:Because i t > 0, this implies:then the above inequality is satisfied for any i t . Otherwise, using the fact that u t > 0, a sufficient condition that implies the above inequality is that α − δωτ < δ 1−it , which is equivalent to:1 − i t < δ α − δωτ and this implies the thesis. Moreover, note that because θ = α − δ − δωτ ≥ 0, then α − δωτ ≥ 0, which implies that 1 − δ α−δωτ < 1. The first order optimality conditions for problems (27)-(29) give rise to a system of forward-backward ordinary differential equations in the state and costate variables, with the addition of an algebraic equation describing the maximum principle given by the third equation in (32). Specifically, the state variable has an initial condition while the costate variable has a final condition, and one of most widely used algorithm to deal with this forwardbackward setting is the so-called sweep algorithm. A detailed presentation and implementation of the sweep algorithm for solving forward-backward optimal control problems over a finite time horizon has been presented in McAsey et al. (2012) . By building on their approach, we implement the forward-backward sweep method for our system of first order optimality conditions as follows:1. Focusing of the first equation of (32), we start by adopting an initial guess λ 0 = λ 0