<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article
  PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.1 20151215//EN" "https://jats.nlm.nih.gov/publishing/1.1/JATS-journalpublishing1.dtd">
<article article-type="research-article" dtd-version="1.1" specific-use="sps-1.9" xml:lang="en" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">
	<front>
		<journal-meta>
			<journal-id journal-id-type="publisher-id">ecoqu</journal-id>
			<journal-title-group>
				<journal-title>EconoQuantum</journal-title>
				<abbrev-journal-title abbrev-type="publisher">EconoQuantum</abbrev-journal-title>
			</journal-title-group>
			<issn pub-type="ppub">1870-6622</issn>
			<issn pub-type="epub">2007-9869</issn>
			<publisher>
				<publisher-name>Universidad de Guadalajara</publisher-name>
			</publisher>
		</journal-meta>
		<article-meta>
			<article-id pub-id-type="doi">10.18381/eq.v18i1.7222</article-id>
			<article-categories>
				<subj-group subj-group-type="heading">
					<subject>Artículos</subject>
				</subj-group>
			</article-categories>
			<title-group>
				<article-title>COVID-19 and Economics Forecasting on Advanced and Emerging Countries</article-title>
				<trans-title-group xml:lang="es">
					<trans-title>COVID-19 y pronósticos sobre crecimiento económico para economías avanzadas y emergentes</trans-title>
				</trans-title-group>
			</title-group>
			<contrib-group>
				<contrib contrib-type="author">
					<contrib-id contrib-id-type="orcid">0000-0001-9657-7821</contrib-id>
					<name>
						<surname>Ramírez García</surname>
						<given-names>Abraham</given-names>
					</name>
					<xref ref-type="aff" rid="aff1">*</xref>
				</contrib>
				<contrib contrib-type="author">
					<contrib-id contrib-id-type="orcid">0000-0001-9158-0685</contrib-id>
					<name>
						<surname>Jiménez Preciado</surname>
						<given-names>Ana Lorena</given-names>
					</name>
					<xref ref-type="aff" rid="aff2">**</xref>
				</contrib>
			</contrib-group>
			<aff id="aff1">
				<label>*</label>
				<institution content-type="original">Escuela Superior de Economía, Instituto Politécnico Nacional, México. Correo electrónico: aramirezg1101@hotmail.com.</institution>
				<institution content-type="normalized">Instituto Politécnico Nacional</institution>
				<institution content-type="orgdiv1">Escuela Superior de Economía</institution>
				<institution content-type="orgname">Instituto Politécnico Nacional</institution>
				<country country="MX">Mexico</country>
				<email>Correo electrónico: aramirezg1101@hotmail.com</email>
			</aff>
			<aff id="aff2">
				<label>**</label>
				<institution content-type="original">Escuela Superior de Economía, Instituto Politécnico Nacional, México. Correo electrónico: ajimenezp@ipn.mx.</institution>
				<institution content-type="normalized">Instituto Politécnico Nacional</institution>
				<institution content-type="orgdiv1">Escuela Superior de Economía</institution>
				<institution content-type="orgname">Instituto Politécnico Nacional</institution>
				<country country="MX">Mexico</country>
				<email>ajimenezp@ipn.mx</email>
			</aff>
			<pub-date date-type="pub" publication-format="electronic">
				<day>15</day>
				<month>02</month>
				<year>2021</year>
			</pub-date>
			<pub-date date-type="collection" publication-format="electronic">
				<season>Jan-Jun</season>
				<year>2021</year>
			</pub-date>
			<volume>18</volume>
			<issue>1</issue>
			<fpage>21</fpage>
			<lpage>43</lpage>
			<history>
				<date date-type="received">
					<day>31</day>
					<month>08</month>
					<year>2020</year>
				</date>
				<date date-type="accepted">
					<day>26</day>
					<month>11</month>
					<year>2020</year>
				</date>
			</history>
			<permissions>
				<license license-type="open-access" xlink:href="https://creativecommons.org/licenses/by-nc/4.0/" xml:lang="en">
					<license-p>This is an open-access article distributed under the terms of the Creative Commons Attribution License</license-p>
				</license>
			</permissions>
			<abstract>
				<title>Abstract:</title>
				<sec>
					<title>Objective:</title>
					<p> To estimate the size and the dynamics of the coronavirus (COVID-19) pandemic in Advanced, Emerging, and Developing Economies, and to determine its implications for economic growth.</p>
				</sec>
				<sec>
					<title>Methodology:</title>
					<p> A susceptible Infected Recovered (SIR) model is implemented, we calculate the size of the pandemic through numerical integration and phase diagrams for COVID-19 trajectory; finally, we use ensemble models (random forest) to forecast economic growth.</p>
				</sec>
				<sec>
					<title>Results:</title>
					<p> We confirm that there are differences in pandemic spread and size among countries; likewise, the trajectories show a long-term spiral cycle. Economic recovery is expected to be slow and gradual for most of the economies.</p>
				</sec>
				<sec>
					<title>Limitations:</title>
					<p> All countries differ in COVID-19 test applications, which could lead to inaccurate total confirmed cases and an imprecise estimate of the pandemic’s spread and size. In addition, there is a lack of leading indicators in some countries, generating a higher MSE of some machine learning models.</p>
				</sec>
				<sec>
					<title>Originality:</title>
					<p> To implement economic-epidemiological models to analyze the evolution and virus’ spreading throughout time.</p>
				</sec>
				<sec>
					<title>Conclusions:</title>
					<p> It is found the pandemic’s final size to be between 74-77%. Likewise, it is demonstrated that COVID-19 is endemic, with a constant prevalence of 9 years on average. The spread of the pandemic has caused countries to self-induce in an unprecedented recession with a slow recovery.</p>
				</sec>
			</abstract>
			<trans-abstract xml:lang="es">
				<title>Resumen:</title>
				<sec>
					<title>Objetivo:</title>
					<p> Estimar el tamaño y la dinámica de la pandemia del coronavirus (COVID-19) de economías avanzadas y economías emergentes y en desarrollo, así como sus implicaciones en el crecimiento económico.</p>
				</sec>
				<sec>
					<title>Metodología:</title>
					<p> Se implementa el modelo Susceptible Infectado Recuperado (SIR), se calcula el tamaño de la pandemia mediante integración numérica y se utilizan diagramas de fase para conocer la trayectoria del COVID-19; finalmente, se hacen pronósticos de crecimiento con modelos de ensamble (bosques aleatorios).</p>
				</sec>
				<sec>
					<title>Resultados:</title>
					<p> Se confirman las diferencias de tamaño y contagio entre los países; asimismo, las trayectorias exhiben ciclos en forma de espiral. Se espera que la recuperación económica sea lenta pero gradual en las naciones.</p>
				</sec>
				<sec>
					<title>Limitaciones:</title>
					<p> Todos los países difieren en número de pruebas aplicadas para detectar el COVID-19, esto puede llevar a un número impreciso de casos totales y una estimación imprecisa de la propagación y el tamaño de la pandemia. Además, hay una falta de indicadores adelantados en algunos países, lo que genera un MSE más alto de algunos de los modelos de machine learning.</p>
				</sec>
				<sec>
					<title>Originalidad:</title>
					<p> Se hace uso de modelos económicos-epidemiológicos para analizar la evolución y expansión del virus a través del tiempo.</p>
				</sec>
				<sec>
					<title>Conclusiones:</title>
					<p> Se encontró que el tamaño final de la pandemia se encuentra entre el 74% y el 77%. Asimismo, se demuestra que el COVID-19 es endémico, con una prevalencia constante de 9 años en promedio.</p>
				</sec>
			</trans-abstract>
			<kwd-group xml:lang="en">
				<title>Keywords:</title>
				<kwd>COVID-19</kwd>
				<kwd>phase diagrams</kwd>
				<kwd>SIR model</kwd>
				<kwd>ensemble models</kwd>
				<kwd>forecasting</kwd>
			</kwd-group>
			<kwd-group xml:lang="en" kwd-group-type="JEL">
				<title>JEL Classification:</title>
				<kwd>C40</kwd>
				<kwd>C63</kwd>
				<kwd>E17</kwd>
			</kwd-group>
			<kwd-group xml:lang="es">
				<title>Palabras claves:</title>
				<kwd>COVID-19</kwd>
				<kwd>diagramas de fase</kwd>
				<kwd>modelo SIR</kwd>
				<kwd>modelos de ensamble</kwd>
				<kwd>pronóstico</kwd>
			</kwd-group>
			<kwd-group xml:lang="es" kwd-group-type="JEL">
				<title>Clasificación JEL:</title>
				<kwd>C40</kwd>
				<kwd>C63</kwd>
				<kwd>E17</kwd>
			</kwd-group>
			<counts>
				<fig-count count="10"/>
				<table-count count="7"/>
				<equation-count count="17"/>
				<ref-count count="21"/>
				<page-count count="23"/>
			</counts>
		</article-meta>
	</front>
	<body>
		<sec sec-type="intro">
			<title>Introduction</title>
			<p>When analyzing the effects of shocks, disturbances, or stochastic components that affect an economic system, as an example of a textbook, the most typical cases used are wars and natural disasters because they highlight the imbalances and havoc that they generate on nations. These peculiar shocks are hardly contemplated in the forecasters’ projections, either by the authorities themselves or by the private capital. Now we can add a new issue: Pandemics.</p>
			<p>A global economic slowdown already preceded the beginning of 2020 and a growing diplomatic and commercial tension between the countries with the most significant financial (and political) power; however, no one expected a pandemic. The Coronavirus’s emergence in late 2019 in Wuhan, China, was officially declared as pandemic on March 11, 2020, by the World Health Organization (WHO), creating an economic, health, and social damage worldwide.</p>
			<p>Studies on epidemics are widely documented in biology, mathematics, and chemistry; however, COVID-19 is a disease that has tried to find answers in other areas of science. In economics, the modeling of a pandemic and its repercussions on the growth and development of countries has been strongly led by the Susceptible Infected Recovered (SIR) epidemiological model dating from 1927 and vehement retaken by economists.</p>
			<p>Beyond applying the SIR model in its raw form for economies, we use it to find both the size and the trajectory or dynamics that the pandemic’s tracks (through numerical integration and phase diagrams). We analyze advanced countries and developed countries using the International Monetary Fund (IMF) classification. Subsequently, we use forecasting models derived from machine learning: Ensemble methods.</p>
			<p>There is also a limitation in this research since the countries do not have a similar population for direct comparison, or the number of tests carried out to detect Coronavirus, essential variables in our work. However, we want to highlight that the results of each country reveal that, overall, the pandemic can be much larger than the reported statistics. The trajectory that the COVID-19 follows is cyclical and depends on health measures and self-care that this cycle takes less time to reach its lowest point.</p>
			<p>The virus’s outbreak is unavoidable, hence the relevance of having a vaccine (such as the H1N1 vaccine that is applied every year in Mexico). Finally, we estimated a low and gradual recovery, but making it clear that one year (2021) is not going to be enough to reach the average growth levels that countries had. Even the growth is not directly incorporated in the SIR model; we add a macro data analysis to present an accurate context of COVID-19 and growth relationship, obtaining results for both long-term Coronavirus dynamics and growth forecasts to 2021.</p>
			<p>The structure of the document begins with a brief review of the SIR model literature and its implementation for economic analysis. Subsequently, we present relevant data about infections, deaths, the COVID-19 test, and its correlation with the slump in economic growth. The third part focuses on the methodological tooling implementation, which revolves around the SIR model and is complemented by our predictions. The main findings and conclusions are shown in the last section.</p>
			<p>We want to make evident our concern about how the scope of this pandemic may be underestimated. From people who have decided to take care of themselves and those who want to do it, but their conditions do not allow it (whatever the cause). Also, for those fearless and nonbelievers of this disease, we hope to provide a better understanding of the COVID-19 dynamics.</p>
		</sec>
		<sec>
			<title>Brief literature review on epidemiological modeling</title>
			<p>Before COVID-19, there are just a few papers in the literature that begin to point out the consequences of epidemics in macroeconomic variables, primarily when the avian flu arose (or H5N1 influenza) in 2007, H1N1 influenza in 2009, and the outbreak of Ebola in 2014.</p>
			<p>For example, in the work of the European commission written by authors <xref ref-type="bibr" rid="B9">Lars and Werner (2006)</xref>, they analyze the effects of economic contraction derived from avian flu for the United States and Europe. Pandemic studies are also focused on measuring the loss of crops and their impact on meat demand (<xref ref-type="bibr" rid="B12">Paarlberg, Seitzinger, &amp; Lee, 2007</xref>). Likewise, the costs of acquiring vaccines as a proportion of Gross Domestic Product (GDP) have also been analyzed using general equilibrium into <xref ref-type="bibr" rid="B18">Smith, Keogh-Brown, Barnett, &amp; Tait (2009)</xref> to verify the amount of GDP of vaccinating children in the United Kingdom against H1N1 influenza.</p>
			<p>However, studies on the effects of pandemics on economies remained limited until the arrival of COVID-19, although different documents can be found on the Coronavirus’s ravages in nations and projections on the economic contraction at the national level. Worldwide, research on its size and duration based on their particular conditions of each country is limited. Before continuing with our research proposal, we want to emphasize some articles that have served as the basis for forming this article.</p>
			<p>COVID-19 has received attention to the use of the SIR model, since it allows to represent, in a simplified way, the process of virus’s spreading in a population over time. This model was developed by <xref ref-type="bibr" rid="B8">Kermack and McKendrick (1927)</xref> and consists of three non-linear ordinary differential equations where the population can only belong to one of the states:</p>
			<p>
				<list list-type="order">
					<list-item>
						<p>Susceptible: Individuals who are exposed to the virus.</p>
					</list-item>
					<list-item>
						<p>Infected: Individuals who contract the virus.</p>
					</list-item>
					<list-item>
						<p>Recovered or removed: These are the individuals who passed the previous phases and are now recovered.</p>
					</list-item>
				</list>
			</p>
			<p>This model is widely used to study the dynamics of measles and smallpox (<xref ref-type="bibr" rid="B14">Rodrigues, 2016</xref>). However, SIR became the reference to perform several analyzes of COVID-19 in 2020. Since the applications of the basic model found in <xref ref-type="bibr" rid="B2">Atkeson (2020)</xref> and which is later reproducible in <xref ref-type="bibr" rid="B16">Sargent and Stachurski (2020)</xref>, to modified versions where public policy evaluations are made on different segments of the population to verify the efficiency of health measures in <xref ref-type="bibr" rid="B1">Acemoglu, Chernozhukov, Werning and Whinston (2020)</xref>. Likewise, SIR is used to analyze consumers’ decision-making and preferences in the United States and the effects of mobility on absenteeism (<xref ref-type="bibr" rid="B4">Eichenbaum, Rebelo, &amp; Trabandt, 2020</xref>).</p>
			<p>Besides, the SIR model has also been implemented in <xref ref-type="bibr" rid="B5">Gros, Valenti, Schneider, Valenti and Gros (2020)</xref> to analyze the social costs of distancing through a modified SIR that reacts to each change or implementation of new sanitary measures. However, a work more similar to ours is the one carried out by <xref ref-type="bibr" rid="B19">Stock (2020)</xref>, where different levels of flattening are determined for different levels of contagion so that the efficiency of the confinement measures is also exhibited. Likewise, <xref ref-type="bibr" rid="B20">Toda (2020)</xref> shows the heterogeneity in the rate of transmission and spread of the Coronavirus in different countries.</p>
			<p>Our study starts with the model in its primary expression. Following numerical integration and phase diagrams, we estimate the pandemic’s size and duration to compute forecasting with different machine learning on the selected advanced economies and emerging market and developing economies. In the next section, we specify the analysis and results obtained.</p>
		</sec>
		<sec>
			<title>Macro data and COVID-19 shocks</title>
			<p>The COVID-19 pandemic not only has caused millions of deaths but also has impacted on global economy, and Mexico is not the exception. The data of COVID-19 presented in this article was obtained from Our World in Data COVID-19 of <xref ref-type="bibr" rid="B15">Roser, Ritchie, Ortiz-Ospina and Hasell (2020)</xref>, which gathers daily statistics from various the most countries.</p>
			<p>The number of total cases per million inhabitants of the major economies<xref ref-type="fn" rid="fn1"><sup>1</sup></xref> is shown in <xref ref-type="fig" rid="f1">Figure 1</xref>.</p>
			<p>
				<fig id="f1">
					<label>Figure 1</label>
					<caption>
						<title>Total cases per million inhabitants as of March 28, 2020</title>
					</caption>
					<graphic xlink:href="2007-9869-ecoqu-18-01-21-gf1.jpg"/>
					<attrib>Source: Authors’ elaboration with data of Our World in Data.</attrib>
				</fig>
			</p>
			<p>Nowadays, the United States and Brazil are the countries with the highest number of Coronavirus cases in the major economies with 17 727 and 17 695 cases per million inhabitants, respectively. According to the data, between the United States and the United Kingdom total cases, there is a difference of more than double the cases; the United Kingdom has 4 866 cases, which represent 27.4% of the total cases in the United States. On the other hand, Mexico ranks fourth with a total of 4 497.8 cases that depict 8.7 times the number of cases in Japan that are worrisome due to Japan and Mexico have a similar population. Ultimately, China is the country with fewest cases on the list despite being the country where the pandemic began.</p>
			<p>Furthermore, the countries on the list appear to have flattened the curve but not bent it. <xref ref-type="fig" rid="f2">Figure 2</xref> shows the logarithm of the contagion curve for the major economies; they are classified in advanced economies and emerging market and developing economies.</p>
			<p>
				<fig id="f2">
					<label>Figure 2</label>
					<caption>
						<title>Daily new confirmed cases per million inhabitants as of March 28, 2020</title>
					</caption>
					<graphic xlink:href="2007-9869-ecoqu-18-01-21-gf2.jpg"/>
					<attrib>Source: Authors’ elaboration with data of Our World in Data.</attrib>
				</fig>
			</p>
			<p>Adjusted per million inhabitants, Mexico has one of the highest daily new confirmed cases only beneath Brazil, United States, and India. Nevertheless, Mexico’s curve is the most stable compared to the rest of the emerging markets and developing economies.</p>
			<p>In contrast, as of March 28, 2020, COVID-19 has reached a total of 832 019 confirmed deaths in the world according to official data. The reader should take into account that the actual total number of deaths is likely to be greater than the number of confirmed deaths due to limited evidence and problems in attributing the cause of death, as well as how deaths from COVID-19 may differ between countries, for instance, some countries can only count deaths in hospitals, while others have started to include deaths in homes (<xref ref-type="bibr" rid="B15">Roser et al., 2020</xref>).</p>
			<p>Focusing only on the major economies, the United Kingdom has the highest number of adjusted deaths per million of inhabitants while China is the economy with the lowest number of deaths, in <xref ref-type="table" rid="t1">Table 1</xref> can be appreciated the total confirmed deaths adjusted per million inhabitants, per capita gross domestic product (GDP per capita) obtained from Organisation for Economic Cooperation and Development (<xref ref-type="bibr" rid="B11">OECD, 2020</xref>).</p>
			<p>
				<table-wrap id="t1">
					<label>Table 1</label>
					<caption>
						<title>Total confirmed deaths per million inhabitants as of March 28, 2020</title>
					</caption>
					<table>
						<colgroup>
							<col/>
							<col/>
							<col/>
						</colgroup>
						<thead>
							<tr>
								<th style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="justify">Country</th>
								<th style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">Deaths per million inhabitants</th>
								<th style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">GDP Per capita 2019 (US Dollars)</th>
							</tr>
						</thead>
						<tbody>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="justify">United Kingdom</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">610.98</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">48 745</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="justify">Brazil</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">558.19</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">14 592</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="justify">United States</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">546.29</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">65 143</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="justify">Mexico</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">485.48</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">20 703</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="justify">India</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">44.59</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">5 902</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="justify">Japan</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">9.79</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">43 279</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="justify">China</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">3.28</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">14 306</td>
							</tr>
						</tbody>
					</table>
					<table-wrap-foot>
						<fn id="TFN1">
							<p>Source: Authors’ elaboration with data of Our World in Data and OECD.</p>
						</fn>
					</table-wrap-foot>
				</table-wrap>
			</p>
			<p>In this sense, the United Kingdom, Brazil, the United States, and Mexico have significantly more deaths than India, Japan, and China. Comparing with GDP per capita of the countries, the United Kingdom has 62.4 times more deaths than Japan, Mexico148.2 times more than China, and Brazil has 12.5 times more than India.</p>
			<p>Testing is perhaps the most important topic because all the available data comes from it; this means that the counts of confirmed cases, deaths, and spread of the pandemic depend on the number of tests carried out by each country; in this sense, it becomes a fundamental issue for the public and economic policy against the pandemic. <xref ref-type="table" rid="t2">Table 2</xref> shows the number of tests per thousand inhabitants, the percentage of these positive tests, and the total adjusted cases per million inhabitants, as well as the daily tests per thousand people.</p>
			<p>
				<table-wrap id="t2">
					<label>Table 2</label>
					<caption>
						<title>Testing for COVID-19 last available data as of March 28, 2020</title>
					</caption>
					<table>
						<colgroup>
							<col/>
							<col/>
							<col/>
							<col/>
							<col/>
						</colgroup>
						<thead>
							<tr>
								<th style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="center">Country</th>
								<th style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">Total cases per<break/> million inhabitants</th>
								<th style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">Total tests per<break/> thousand inhabitants</th>
								<th style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">Positive rate (%)</th>
								<th style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">Daily tests per<break/> thousand people</th>
							</tr>
						</thead>
						<tbody>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="justify">United States</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">17 727.3</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">246.11</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">5.8</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">2.24</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="justify">Brazil</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">17 695.7</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">22.57</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">NaN</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">0.43</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="justify">United Kingdom</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">4 866.5</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">183.35</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">0.7</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">2.39</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="justify">Mexico</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">4 497.8</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">9.34</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">52.4</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">0.08</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="justify">India</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">2 454.7</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">28.61</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">7.9</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">1.72</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="justify">Japan</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">518.4</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">13.51</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">4.9</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">1.24</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="justify">China</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">62.4</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">NaN</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">NaN</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">NaN</td>
							</tr>
						</tbody>
					</table>
					<table-wrap-foot>
						<fn id="TFN2">
							<p>Source: Authors’ elaboration with data of Our World in Data and OECD.</p>
						</fn>
					</table-wrap-foot>
				</table-wrap>
			</p>
			<p>Sorting by total tests, the United States is the country tests more in comparison with the rest of countries with a positive rate of 5.8%; this is a concerning issue for Mexico given that is not only the country with the lowest number tests but also the country with the highest positive rate, and even the most downward daily tests. In the same ratio, the United Kingdom has become in the country with the highest number of daily tests of the major economies.</p>
			<p>Economic activity has been seriously affected by the decrease in consumer spending and growth on the unemployment rate, and the partial closure of the so-called non-essential activities has led to forecasts toward lower levels than the financial crisis of 2008. In <xref ref-type="fig" rid="f3">Figure 3</xref> is shown the forecast of the major economic groups according to the IMF.</p>
			<p>
				<fig id="f3">
					<label>Figure 3</label>
					<caption>
						<title>Real GDP growth</title>
					</caption>
					<graphic xlink:href="2007-9869-ecoqu-18-01-21-gf3.jpg"/>
					<attrib>Source: International Monetary Fund, 2020.</attrib>
				</fig>
			</p>
			<p>The IMF estimates that economic growth in advanced economies slows by 6.1%. Its forecast for emerging and developing economies has dropped 1%, resulting in a forecast for a 3% global economic recession. <xref ref-type="fig" rid="f4">Figure 4</xref> shows the economic crunch for the major economies in the second quarter of 2020.</p>
			<p>
				<fig id="f4">
					<label>Figure 4</label>
					<caption>
						<title>Quarterly GDP growth, previous period, Q2 2020</title>
					</caption>
					<graphic xlink:href="2007-9869-ecoqu-18-01-21-gf4.jpg"/>
					<attrib>* Growth rate of 01-2020.</attrib>
					<attrib>Source: Authors’ elaboration with data of OECD.</attrib>
				</fig>
			</p>
			<p>The United Kingdom is the country with the deepest economic downturn, followed by Mexico; in contrast, the country where the pandemic began presented an economic recovery of 11.5% compared to the previous quarter; in this sense, China is the only one of the major economies that did not show a drop in the second quarter of 2020.</p>
			<p>On the other hand, the leading stock market indices that are represented by the most representative corporations of each stock market and on several occasions reflect the expectations of a country’s economy are showing in <xref ref-type="fig" rid="f5">Figure 5</xref>.</p>
			<p>
				<fig id="f5">
					<label>Figure 5</label>
					<caption>
						<title>
							<xref ref-type="bibr" rid="B19">Stock market performance in 2020</xref> Index 01-02-2020 = 100</title>
					</caption>
					<graphic xlink:href="2007-9869-ecoqu-18-01-21-gf5.jpg"/>
					<attrib>Source: Authors’ elaboration with data of Yahoo Finance.</attrib>
				</fig>
			</p>
			<p>As the reader can appreciate, only three of the major stock indices have performed better this year: Standard and Poor’s 500<xref ref-type="fn" rid="fn2"><sup>2</sup></xref> (S&amp;P 500), Shangai Stock Exchange Composite (SSE), and Nikkei 225 (Nikkei) from the United States, China, and Japan, respectively. On the other hand, we find that the English index (FTSE) is the one that has performed the worst so far this year, followed by Mexico (IPC) and Brazil (Bovespa) in addition to showing a lateral trend in recent months. India (NSEI), meanwhile, has not yet reached the levels of the beginning of the year. Nevertheless, the trend suggests that it will fully recover in the coming months.</p>
			<p>The next section makes a comparison of the size of the pandemic in the countries. Likewise, we make a forecast for the coming quarters, considering the effect of the Coronavirus on economic activity.</p>
		</sec>
		<sec>
			<title>Pandemic’s dynamics, phase diagrams, and equilibria</title>
			<p>The SIR model works under the assumption that the population is homogeneous, and they have similar characteristics. Each individual can only belong to one state at a time (susceptible, infected, or removed). Also, the three states are time-dependent variables.</p>
			<p>As time goes by, the number of susceptible people (<italic>S</italic><sub><italic>t</italic></sub><italic>)</italic> decreases since they got infected (<italic>I</italic><sub><italic>t</italic></sub>). The number of people who go to the new state is weighted by the contagion rate (β); in parallel, people who go from infected to removed or recovered are weighted by the recovery rate (γ). As the pandemic spread, the number of susceptible people can only decrease while the number of infected people increases until the maximum number is reached; likewise, the number of people who recover shows an upward trend. The SIR model is developed using a system of ordinary differential equations, as shown below:</p>
			<p>
				<disp-formula id="e1">
					<mml:math>
						<mml:mtable>
							<mml:mtr>
								<mml:mtd>
									<mml:mfrac>
										<mml:mrow>
											<mml:mi>d</mml:mi>
											<mml:mi>s</mml:mi>
										</mml:mrow>
										<mml:mrow>
											<mml:mi>d</mml:mi>
											<mml:mi>t</mml:mi>
										</mml:mrow>
									</mml:mfrac>
									<mml:mo>=</mml:mo>
									<mml:mo>-</mml:mo>
									<mml:mfrac>
										<mml:mrow>
											<mml:mi>β</mml:mi>
											<mml:mi>S</mml:mi>
											<mml:mi>I</mml:mi>
										</mml:mrow>
										<mml:mrow>
											<mml:mi>N</mml:mi>
										</mml:mrow>
									</mml:mfrac>
									<mml:mi> </mml:mi>
									<mml:mi> </mml:mi>
									<mml:mi> </mml:mi>
									<mml:mi>β</mml:mi>
									<mml:mo>&gt;</mml:mo>
									<mml:mn>0</mml:mn>
								</mml:mtd>
							</mml:mtr>
							<mml:mtr>
								<mml:mtd>
									<mml:mfrac>
										<mml:mrow>
											<mml:mi>d</mml:mi>
											<mml:mi>I</mml:mi>
										</mml:mrow>
										<mml:mrow>
											<mml:mi>d</mml:mi>
											<mml:mi>t</mml:mi>
										</mml:mrow>
									</mml:mfrac>
									<mml:mo>=</mml:mo>
									<mml:mfrac>
										<mml:mrow>
											<mml:mi>β</mml:mi>
											<mml:mi>S</mml:mi>
											<mml:mi>I</mml:mi>
										</mml:mrow>
										<mml:mrow>
											<mml:mi>N</mml:mi>
										</mml:mrow>
									</mml:mfrac>
									<mml:mo>-</mml:mo>
									<mml:mi>γ</mml:mi>
									<mml:mi>I</mml:mi>
									<mml:mi> </mml:mi>
									<mml:mi> </mml:mi>
									<mml:mi> </mml:mi>
									<mml:mi>γ</mml:mi>
									<mml:mo>&gt;</mml:mo>
									<mml:mn>0</mml:mn>
								</mml:mtd>
							</mml:mtr>
							<mml:mtr>
								<mml:mtd>
									<mml:mfrac>
										<mml:mrow>
											<mml:mi>d</mml:mi>
											<mml:mi>R</mml:mi>
										</mml:mrow>
										<mml:mrow>
											<mml:mi>d</mml:mi>
											<mml:mi>t</mml:mi>
										</mml:mrow>
									</mml:mfrac>
									<mml:mo>=</mml:mo>
									<mml:mi>γ</mml:mi>
									<mml:mi>I</mml:mi>
								</mml:mtd>
							</mml:mtr>
						</mml:mtable>
					</mml:math>
					<label>(1)</label>
				</disp-formula>
			</p>
			<p>Where:</p>
			<p>
				<list list-type="bullet">
					<list-item>
						<p><italic>S</italic><sub><italic>t</italic></sub> = <italic>Susceptible population.</italic></p>
					</list-item>
					<list-item>
						<p><italic>I</italic><sub><italic>t</italic></sub> = <italic>Infected population.</italic></p>
					</list-item>
					<list-item>
						<p><italic>R</italic><sub><italic>t</italic></sub> = <italic>Recovered population</italic>.</p>
					</list-item>
					<list-item>
						<p><italic>N</italic> = <italic>Total population.</italic></p>
					</list-item>
					<list-item>
						<p>β = Transmission rate.</p>
					</list-item>
					<list-item>
						<p>γ= <italic>Recovery rate.</italic></p>
					</list-item>
				</list>
			</p>
			<p>The model assumes that both β and γ&gt;0.</p>
			<p>The γ parameter that represents the recovery rate is nothing more than the inverse of the
				number of days that a person lasts being infectious (or sick) while the beta
				parameter represents the transmission rate from the new cases of transmission
				registered. This β parameter is obtained from a first-order autoregressive
					(<italic>AR</italic><sub>1</sub>) taking the logarithm of the new cases
				registered in each country. Different estimation methods are used to find the most
				suitable contagion rate and are presented in <xref ref-type="table" rid="t3">Table
					3</xref>.</p>
			<p>
				<table-wrap id="t3">
					<label>Table 3</label>
					<caption>
						<title>Transmission rate β and <italic>AR</italic><sub><italic>1</italic></sub> results</title>
					</caption>
					<table>
						<colgroup>
							<col/>
							<col/>
							<col/>
						</colgroup>
						<thead>
							<tr>
								<th style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="center">Country</th>
								<th style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">Best specification</th>
								<th style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">Infection rate (β)</th>
							</tr>
						</thead>
						<tbody>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="justify">United States</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">Elastic Net</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">0.9693</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="justify">Japan</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">Elastic Net</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">0.9139</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="justify">United Kingdom</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">Elastic Net</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">0.9592</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="justify">China</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">Elastic Net</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">0.9160</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="justify">India</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">Elastic Net</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">0.9566</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="justify">Brazil</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">Elastic Net</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">0.9518</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="justify">Mexico</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">Huber</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">0.9473</td>
							</tr>
						</tbody>
					</table>
				</table-wrap>
			</p>
			<p>According to the IMF classification, Brazil, India, Mexico, and China belong to the category of emerging and developing economies. In contrast, the United States, Japan, and the United Kingdom have their place to the classification of advanced economies. The inputs to feed the SIR model: Total cases, new cases, new deaths, total deaths, and life expectancy, were taken from the Our World in Data COVID-19 that has the daily pandemic record for the countries considered.</p>
			<p>For population size, we used Worldometer data as of July 2020, and an average of 2 weeks for recovery according to the who estimations. In that sense, the recovery rate is defined as <mml:math>
					<mml:mi>γ</mml:mi>
					<mml:mo>=</mml:mo>
					<mml:mfrac>
						<mml:mrow>
							<mml:mn>1</mml:mn>
						</mml:mrow>
						<mml:mrow>
							<mml:mn>2</mml:mn>
						</mml:mrow>
					</mml:mfrac>
				</mml:math> Finally, we add the reproductive rate <italic>(R</italic><sub><italic>0</italic></sub><italic>)</italic> to the model:</p>
			<p>
				<disp-formula id="e2">
					<alternatives>
						<mml:math>
							<mml:msub>
								<mml:mrow>
									<mml:mi>R</mml:mi>
								</mml:mrow>
								<mml:mrow>
									<mml:mn>0</mml:mn>
								</mml:mrow>
							</mml:msub>
							<mml:mo>=</mml:mo>
							<mml:mfrac>
								<mml:mrow>
									<mml:mi>β</mml:mi>
								</mml:mrow>
								<mml:mrow>
									<mml:mi>γ</mml:mi>
									<mml:mo>+</mml:mo>
									<mml:mi>μ</mml:mi>
								</mml:mrow>
							</mml:mfrac>
						</mml:math>
					</alternatives>
					<label>(2)</label>
				</disp-formula>
			</p>
			<p>Where μ refers to life expectancy, for this first approach, it is considered that μ = 0, this means a closed epidemic. When the reproductive rate <italic>R</italic><sub><italic>0</italic></sub> = 1, the change of the epidemic in the system is observed. <xref ref-type="fig" rid="f6">Figure 6</xref> exhibits the SIR model with the reproductive rate R0.</p>
			<p>
				<fig id="f6">
					<label>Figure 6</label>
					<caption>
						<title>SIR model with reproductive rate R0</title>
					</caption>
					<graphic xlink:href="2007-9869-ecoqu-18-01-21-gf6.jpg"/>
				</fig>
			</p>
			<p>SIR model represents <italic>N</italic> as the whole population of each nation; the time is measured in weeks, so it is possible to realize the peak of the curve; for example, United States, United Kingdom, Brazil, India, and Mexico seem to reach the peak after ten weeks while Japan takes about 18weeks and China more than 20 weeks. Note that the dotted line shows the recovery point. This is where the number of people suspected of being infected begins to decrease. It should be noted that this curve (<italic>S</italic><sub><italic>t</italic></sub>) does not converge to 0 since there is always a proportion of the population that is exposed to infection (close to 30% for most countries once the critical stage of transmission passes). Ultimately, no more than 15% of the population becomes infected, making sense since it would represent millions of people infected with the virus.</p>
			<p>Regarding the size of the pandemic, we look for equilibrium (if it exists) in the differential equations proposed for each country. In the case of a closed epidemic, that is, without considering life expectancy (there are no new births or deaths), the trajectories of the equations can be integrated through numerical integration. The susceptible population is defined as 1-<italic>f</italic> through the implicit solution <mml:math>
					<mml:mi>f</mml:mi>
					<mml:mo>=</mml:mo>
					<mml:msup>
						<mml:mrow>
							<mml:mi>e</mml:mi>
						</mml:mrow>
						<mml:mrow>
							<mml:msub>
								<mml:mrow>
									<mml:mo>-</mml:mo>
									<mml:mi>R</mml:mi>
								</mml:mrow>
								<mml:mrow>
									<mml:mn>0</mml:mn>
								</mml:mrow>
							</mml:msub>
							<mml:mfenced separators="|">
								<mml:mrow>
									<mml:mi>I</mml:mi>
									<mml:mo>-</mml:mo>
									<mml:mi>f</mml:mi>
								</mml:mrow>
							</mml:mfenced>
						</mml:mrow>
					</mml:msup>
				</mml:math> Incorporating this solution recall equation <mml:math>
					<mml:mfrac>
						<mml:mrow>
							<mml:mi>d</mml:mi>
							<mml:mi>s</mml:mi>
						</mml:mrow>
						<mml:mrow>
							<mml:mi>d</mml:mi>
							<mml:mi>t</mml:mi>
						</mml:mrow>
					</mml:mfrac>
					<mml:mo>=</mml:mo>
					<mml:mo>-</mml:mo>
					<mml:mfrac>
						<mml:mrow>
							<mml:mi>β</mml:mi>
							<mml:mi>S</mml:mi>
							<mml:mi>I</mml:mi>
						</mml:mrow>
						<mml:mrow>
							<mml:mi>N</mml:mi>
						</mml:mrow>
					</mml:mfrac>
				</mml:math> and <mml:math>
					<mml:mfrac>
						<mml:mrow>
							<mml:mi>d</mml:mi>
							<mml:mi>I</mml:mi>
						</mml:mrow>
						<mml:mrow>
							<mml:mi>d</mml:mi>
							<mml:mi>t</mml:mi>
						</mml:mrow>
					</mml:mfrac>
					<mml:mo>=</mml:mo>
					<mml:mfrac>
						<mml:mrow>
							<mml:mi>β</mml:mi>
							<mml:mi>S</mml:mi>
							<mml:mi>I</mml:mi>
						</mml:mrow>
						<mml:mrow>
							<mml:mi>N</mml:mi>
						</mml:mrow>
					</mml:mfrac>
					<mml:mo>-</mml:mo>
					<mml:mi>γ</mml:mi>
					<mml:mi>I</mml:mi>
				</mml:math> set in 1, hence:</p>
			<p>
				<disp-formula id="e3">
					<mml:math>
						<mml:mfrac>
							<mml:mrow>
								<mml:mi>d</mml:mi>
								<mml:mi>I</mml:mi>
							</mml:mrow>
							<mml:mrow>
								<mml:mi>d</mml:mi>
								<mml:mi>S</mml:mi>
							</mml:mrow>
						</mml:mfrac>
						<mml:mo>=</mml:mo>
						<mml:mo>-</mml:mo>
						<mml:mn>1</mml:mn>
						<mml:mo>+</mml:mo>
						<mml:mfrac>
							<mml:mrow>
								<mml:mi>N</mml:mi>
							</mml:mrow>
							<mml:mrow>
								<mml:msub>
									<mml:mrow>
										<mml:mi>R</mml:mi>
									</mml:mrow>
									<mml:mrow>
										<mml:mn>0</mml:mn>
									</mml:mrow>
								</mml:msub>
								<mml:mi>S</mml:mi>
							</mml:mrow>
						</mml:mfrac>
					</mml:math>
					<label>(3)</label>
				</disp-formula>
			</p>
			<p>That integrates the curve</p>
			<p>
				<disp-formula id="e4">
					<mml:math>
						<mml:mi>S</mml:mi>
						<mml:mfenced separators="|">
							<mml:mrow>
								<mml:mn>0</mml:mn>
							</mml:mrow>
						</mml:mfenced>
						<mml:mo>-</mml:mo>
						<mml:mi>S</mml:mi>
						<mml:mfenced separators="|">
							<mml:mrow>
								<mml:mi>∞</mml:mi>
							</mml:mrow>
						</mml:mfenced>
						<mml:mo>+</mml:mo>
						<mml:mfrac>
							<mml:mrow>
								<mml:mi>N</mml:mi>
							</mml:mrow>
							<mml:mrow>
								<mml:msub>
									<mml:mrow>
										<mml:mi>R</mml:mi>
									</mml:mrow>
									<mml:mrow>
										<mml:mn>0</mml:mn>
									</mml:mrow>
								</mml:msub>
							</mml:mrow>
						</mml:mfrac>
						<mml:mi>I</mml:mi>
						<mml:mi>n</mml:mi>
						<mml:mfrac>
							<mml:mrow>
								<mml:mi>S</mml:mi>
								<mml:mfenced separators="|">
									<mml:mrow>
										<mml:mi>∞</mml:mi>
									</mml:mrow>
								</mml:mfenced>
							</mml:mrow>
							<mml:mrow>
								<mml:mi>S</mml:mi>
								<mml:mfenced separators="|">
									<mml:mrow>
										<mml:mn>0</mml:mn>
									</mml:mrow>
								</mml:mfenced>
							</mml:mrow>
						</mml:mfrac>
						<mml:mo>=</mml:mo>
						<mml:mi>I</mml:mi>
						<mml:mfenced separators="|">
							<mml:mrow>
								<mml:mi>∞</mml:mi>
							</mml:mrow>
						</mml:mfenced>
						<mml:mo>-</mml:mo>
						<mml:mi>I</mml:mi>
						<mml:mfenced separators="|">
							<mml:mrow>
								<mml:mn>0</mml:mn>
							</mml:mrow>
						</mml:mfenced>
						<mml:mo>=</mml:mo>
						<mml:mn>0</mml:mn>
					</mml:math>
					<label>(4)</label>
				</disp-formula>
			</p>
			<p>If <italic>S</italic>(0)= <italic>N</italic> then <italic>N</italic>-(∞) are the final size of the pandemic, and the infected fraction is:</p>
			<p>
				<disp-formula id="e5">
					<mml:math>
						<mml:mi>f</mml:mi>
						<mml:mo>=</mml:mo>
						<mml:mfrac>
							<mml:mrow>
								<mml:mi>R</mml:mi>
								<mml:mfenced separators="|">
									<mml:mrow>
										<mml:mn>∞</mml:mn>
									</mml:mrow>
								</mml:mfenced>
							</mml:mrow>
							<mml:mrow>
								<mml:mi>N</mml:mi>
							</mml:mrow>
						</mml:mfrac>
						<mml:mo>=</mml:mo>
						<mml:mn>1</mml:mn>
						<mml:mo>-</mml:mo>
						<mml:mfrac>
							<mml:mrow>
								<mml:mi>S</mml:mi>
								<mml:mfenced separators="|">
									<mml:mrow>
										<mml:mn>0</mml:mn>
									</mml:mrow>
								</mml:mfenced>
							</mml:mrow>
							<mml:mrow>
								<mml:mi>N</mml:mi>
							</mml:mrow>
						</mml:mfrac>
					</mml:math>
					<label>(5)</label>
				</disp-formula>
			</p>
			<p>And integrating numerically, we obtain:</p>
			<p>
				<disp-formula id="e6">
					<mml:math>
						<mml:msub>
							<mml:mrow>
								<mml:mi>R</mml:mi>
							</mml:mrow>
							<mml:mrow>
								<mml:mn>0</mml:mn>
							</mml:mrow>
						</mml:msub>
						<mml:mo>=</mml:mo>
						<mml:mfrac>
							<mml:mrow>
								<mml:mi>I</mml:mi>
								<mml:mi>n</mml:mi>
								<mml:mfenced separators="|">
									<mml:mrow>
										<mml:mn>1</mml:mn>
										<mml:mo>-</mml:mo>
										<mml:mi>f</mml:mi>
									</mml:mrow>
								</mml:mfenced>
							</mml:mrow>
							<mml:mrow>
								<mml:mi>f</mml:mi>
							</mml:mrow>
						</mml:mfrac>
					</mml:math>
					<label>(6)</label>
				</disp-formula>
			</p>
			<p>The final sizes for a closed epidemic are presented in <xref ref-type="table" rid="t4">Table 4</xref>. This is the size that the COVID-19 could reach if there would be no government intervention or sanitary measures.</p>
			<p>
				<table-wrap id="t4">
					<label>Table 4</label>
					<caption>
						<title>Size of closed epidemics for the countries</title>
					</caption>
					<table>
						<colgroup>
							<col/>
							<col/>
							<col/>
						</colgroup>
						<thead>
							<tr>
								<th style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="center">Country</th>
								<th style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">Final size (%)</th>
								<th style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center"><italic>R</italic><sub>0</sub> rate</th>
							</tr>
						</thead>
						<tbody>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="justify">United States</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">77.92</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">1.9386</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="justify">Japan</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">74.26</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">1.8278</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="justify">United Kingdom</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">77.30</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">1.9131</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="justify">China</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">74.42</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">1.832</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="justify">India</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">77.14</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">1.9132</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="justify">Brazil</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">76.83</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">1.9036</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="justify">Mexico</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">76.55</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">1.8946</td>
							</tr>
						</tbody>
					</table>
				</table-wrap>
			</p>
			<p>We add μ parameter to introduce population demographics; this means that the model now becomes endemic (or open) as long as the reproduction rate <italic>R</italic><sub>0</sub> &gt; 1 . The specification is as follows:</p>
			<p>
				<disp-formula id="e7">
					<mml:math>
						<mml:mtable>
							<mml:mtr>
								<mml:mtd>
									<mml:mfrac>
										<mml:mrow>
											<mml:mi>d</mml:mi>
											<mml:mi>S</mml:mi>
										</mml:mrow>
										<mml:mrow>
											<mml:mi>d</mml:mi>
											<mml:mi>t</mml:mi>
										</mml:mrow>
									</mml:mfrac>
									<mml:mo>=</mml:mo>
									<mml:mi>μ</mml:mi>
									<mml:mfenced separators="|">
										<mml:mrow>
											<mml:mi>N</mml:mi>
											<mml:mo>-</mml:mo>
											<mml:mi>S</mml:mi>
										</mml:mrow>
									</mml:mfenced>
									<mml:mo>-</mml:mo>
									<mml:mfrac>
										<mml:mrow>
											<mml:mi>β</mml:mi>
											<mml:mi>S</mml:mi>
											<mml:mi>I</mml:mi>
										</mml:mrow>
										<mml:mrow>
											<mml:mi>N</mml:mi>
										</mml:mrow>
									</mml:mfrac>
									<mml:mi> </mml:mi>
									<mml:mi> </mml:mi>
									<mml:mi> </mml:mi>
									<mml:mi> </mml:mi>
									<mml:mi> </mml:mi>
									<mml:mi>β</mml:mi>
									<mml:mo>&gt;</mml:mo>
									<mml:mn>0</mml:mn>
								</mml:mtd>
							</mml:mtr>
							<mml:mtr>
								<mml:mtd>
									<mml:mfrac>
										<mml:mrow>
											<mml:mi>d</mml:mi>
											<mml:mi>I</mml:mi>
										</mml:mrow>
										<mml:mrow>
											<mml:mi>d</mml:mi>
											<mml:mi>t</mml:mi>
										</mml:mrow>
									</mml:mfrac>
									<mml:mo>=</mml:mo>
									<mml:mfrac>
										<mml:mrow>
											<mml:mi>β</mml:mi>
											<mml:mi>S</mml:mi>
											<mml:mi>I</mml:mi>
										</mml:mrow>
										<mml:mrow>
											<mml:mi>N</mml:mi>
										</mml:mrow>
									</mml:mfrac>
									<mml:mo>-</mml:mo>
									<mml:mfenced separators="|">
										<mml:mrow>
											<mml:mi>μ</mml:mi>
											<mml:mo>+</mml:mo>
											<mml:mi>γ</mml:mi>
										</mml:mrow>
									</mml:mfenced>
									<mml:mi>I</mml:mi>
									<mml:mi> </mml:mi>
									<mml:mi> </mml:mi>
									<mml:mi> </mml:mi>
									<mml:mi> </mml:mi>
									<mml:mi> </mml:mi>
									<mml:mi>γ</mml:mi>
									<mml:mo>&gt;</mml:mo>
									<mml:mn>0</mml:mn>
								</mml:mtd>
							</mml:mtr>
							<mml:mtr>
								<mml:mtd>
									<mml:mfrac>
										<mml:mrow>
											<mml:mi>d</mml:mi>
											<mml:mi>R</mml:mi>
										</mml:mrow>
										<mml:mrow>
											<mml:mi>d</mml:mi>
											<mml:mi>t</mml:mi>
										</mml:mrow>
									</mml:mfrac>
									<mml:mo>=</mml:mo>
									<mml:mi>γ</mml:mi>
									<mml:mi>I</mml:mi>
									<mml:mo>-</mml:mo>
									<mml:mi>μ</mml:mi>
									<mml:mi>R</mml:mi>
								</mml:mtd>
							</mml:mtr>
						</mml:mtable>
					</mml:math>
					<label>(7)</label>
				</disp-formula>
			</p>
			<p>Let <italic>E</italic>*(<italic>S</italic>*, <italic>I</italic>*, <italic>R</italic>*) the endemic equilibrium of the model, then <italic>S</italic> *, <italic>I</italic> *, <italic>R</italic> * satisfy the equations:</p>
			<p>
				<disp-formula id="e8">
					<mml:math>
						<mml:mtable>
							<mml:mtr>
								<mml:mtd>
									<mml:mn>0</mml:mn>
									<mml:mo>=</mml:mo>
									<mml:mi>μ</mml:mi>
									<mml:mfenced separators="|">
										<mml:mrow>
											<mml:mi>N</mml:mi>
											<mml:mo>-</mml:mo>
											<mml:mi>S</mml:mi>
										</mml:mrow>
									</mml:mfenced>
									<mml:mo>-</mml:mo>
									<mml:mfrac>
										<mml:mrow>
											<mml:mi>β</mml:mi>
											<mml:mi>S</mml:mi>
											<mml:mi>I</mml:mi>
										</mml:mrow>
										<mml:mrow>
											<mml:mi>N</mml:mi>
										</mml:mrow>
									</mml:mfrac>
								</mml:mtd>
							</mml:mtr>
							<mml:mtr>
								<mml:mtd>
									<mml:mn>0</mml:mn>
									<mml:mo>=</mml:mo>
									<mml:mfrac>
										<mml:mrow>
											<mml:mi>β</mml:mi>
											<mml:mi>S</mml:mi>
											<mml:mi>I</mml:mi>
										</mml:mrow>
										<mml:mrow>
											<mml:mi>N</mml:mi>
										</mml:mrow>
									</mml:mfrac>
									<mml:mo>-</mml:mo>
									<mml:mfenced separators="|">
										<mml:mrow>
											<mml:mi>μ</mml:mi>
											<mml:mo>+</mml:mo>
											<mml:mi>γ</mml:mi>
										</mml:mrow>
									</mml:mfenced>
									<mml:mi>I</mml:mi>
								</mml:mtd>
							</mml:mtr>
							<mml:mtr>
								<mml:mtd>
									<mml:mn>0</mml:mn>
									<mml:mo>=</mml:mo>
									<mml:mi>γ</mml:mi>
									<mml:mi>I</mml:mi>
									<mml:mo>-</mml:mo>
									<mml:mi>μ</mml:mi>
									<mml:mi>R</mml:mi>
								</mml:mtd>
							</mml:mtr>
						</mml:mtable>
					</mml:math>
					<label>(8)</label>
				</disp-formula>
			</p>
			<p>Where <italic>N</italic> *= <italic>S</italic> * +<italic>I</italic> * +<italic>R</italic> *. Likewise, recall that equilibrium exists when <italic>R</italic><sub><italic>0</italic></sub> &gt;1 . Therefore, state relations have a unique equilibrium in the following equations. This demonstration can be verified in (<xref ref-type="bibr" rid="B10">Ma, Zhou, &amp; Cao, 2013</xref>).</p>
			<p>
				<disp-formula id="e9">
					<mml:math>
						<mml:mtable>
							<mml:mtr>
								<mml:mtd>
									<mml:msup>
										<mml:mrow>
											<mml:mi>S</mml:mi>
										</mml:mrow>
										<mml:mrow>
											<mml:mi>*</mml:mi>
										</mml:mrow>
									</mml:msup>
									<mml:mo>=</mml:mo>
									<mml:mfrac>
										<mml:mrow>
											<mml:mn>1</mml:mn>
										</mml:mrow>
										<mml:mrow>
											<mml:msub>
												<mml:mrow>
													<mml:mi>R</mml:mi>
												</mml:mrow>
												<mml:mrow>
													<mml:mn>0</mml:mn>
												</mml:mrow>
											</mml:msub>
										</mml:mrow>
									</mml:mfrac>
									<mml:mo>=</mml:mo>
									<mml:mfrac>
										<mml:mrow>
											<mml:mi>γ</mml:mi>
											<mml:mo>+</mml:mo>
											<mml:mi>μ</mml:mi>
										</mml:mrow>
										<mml:mrow>
											<mml:mi>β</mml:mi>
										</mml:mrow>
									</mml:mfrac>
								</mml:mtd>
							</mml:mtr>
							<mml:mtr>
								<mml:mtd>
									<mml:msup>
										<mml:mrow>
											<mml:mi>I</mml:mi>
										</mml:mrow>
										<mml:mrow>
											<mml:mi>*</mml:mi>
										</mml:mrow>
									</mml:msup>
									<mml:mo>=</mml:mo>
									<mml:mi>μ</mml:mi>
									<mml:mfrac>
										<mml:mrow>
											<mml:mfenced separators="|">
												<mml:mrow>
													<mml:msub>
														<mml:mrow>
															<mml:mi>R</mml:mi>
														</mml:mrow>
														<mml:mrow>
															<mml:mn>0</mml:mn>
														</mml:mrow>
													</mml:msub>
													<mml:mo>-</mml:mo>
													<mml:mn>1</mml:mn>
												</mml:mrow>
											</mml:mfenced>
										</mml:mrow>
										<mml:mrow>
											<mml:mi>β</mml:mi>
										</mml:mrow>
									</mml:mfrac>
								</mml:mtd>
							</mml:mtr>
							<mml:mtr>
								<mml:mtd>
									<mml:msup>
										<mml:mrow>
											<mml:mi>R</mml:mi>
										</mml:mrow>
										<mml:mrow>
											<mml:mi>*</mml:mi>
										</mml:mrow>
									</mml:msup>
									<mml:mo>=</mml:mo>
									<mml:mi>N</mml:mi>
									<mml:mo>-</mml:mo>
									<mml:mfrac>
										<mml:mrow>
											<mml:msup>
												<mml:mrow>
													<mml:mi>γ</mml:mi>
													<mml:mi>I</mml:mi>
												</mml:mrow>
												<mml:mrow>
													<mml:mi>*</mml:mi>
												</mml:mrow>
											</mml:msup>
										</mml:mrow>
										<mml:mrow>
											<mml:mi>μ</mml:mi>
										</mml:mrow>
									</mml:mfrac>
								</mml:mtd>
							</mml:mtr>
						</mml:mtable>
					</mml:math>
					<label>(9)</label>
				</disp-formula>
			</p>
			<p>Finally, the phase diagrams are presented in <xref ref-type="fig" rid="f7">Figure 7</xref>. The phase diagrams present spiral trajectories; in other words, the system’s trajectory exhibits cyclical behavior. Arrows pointing inward to the node or equivalence point denotes stability. The United States, India, and China show larger oscillations than the other countries. This does not mean that the cycle necessarily becomes more extended, but instead shows the relationship between susceptible and infected individuals. Mexico, Brazil, United Kingdom, and Japan present more cyclical trajectories but with similar scope to the other countries.</p>
			<p>
				<fig id="f7">
					<label>Figure 7</label>
					<caption>
						<title>Phase diagrams of pandemic’s trajectory</title>
					</caption>
					<graphic xlink:href="2007-9869-ecoqu-18-01-21-gf7.jpg"/>
				</fig>
			</p>
			<p>Using the Jacobian matrix for the SIR model:</p>
			<p>
				<disp-formula id="e10">
					<mml:math>
						<mml:mtable>
							<mml:mtr>
								<mml:mtd>
									<mml:mi>f</mml:mi>
									<mml:mo>=</mml:mo>
									<mml:mfrac>
										<mml:mrow>
											<mml:mi>d</mml:mi>
											<mml:mi>S</mml:mi>
										</mml:mrow>
										<mml:mrow>
											<mml:mi>d</mml:mi>
											<mml:mi>t</mml:mi>
										</mml:mrow>
									</mml:mfrac>
									<mml:mo>=</mml:mo>
									<mml:mi>μ</mml:mi>
									<mml:mfenced separators="|">
										<mml:mrow>
											<mml:mi>N</mml:mi>
											<mml:mo>-</mml:mo>
											<mml:mi>S</mml:mi>
										</mml:mrow>
									</mml:mfenced>
									<mml:mo>-</mml:mo>
									<mml:mfrac>
										<mml:mrow>
											<mml:mi>β</mml:mi>
											<mml:mi>S</mml:mi>
											<mml:mi>I</mml:mi>
										</mml:mrow>
										<mml:mrow>
											<mml:mi>N</mml:mi>
										</mml:mrow>
									</mml:mfrac>
								</mml:mtd>
							</mml:mtr>
							<mml:mtr>
								<mml:mtd>
									<mml:mi>g</mml:mi>
									<mml:mo>=</mml:mo>
									<mml:mfrac>
										<mml:mrow>
											<mml:mi>d</mml:mi>
											<mml:mi>I</mml:mi>
										</mml:mrow>
										<mml:mrow>
											<mml:mi>d</mml:mi>
											<mml:mi>t</mml:mi>
										</mml:mrow>
									</mml:mfrac>
									<mml:mo>=</mml:mo>
									<mml:mfrac>
										<mml:mrow>
											<mml:mi>β</mml:mi>
											<mml:mi>S</mml:mi>
											<mml:mi>I</mml:mi>
										</mml:mrow>
										<mml:mrow>
											<mml:mi>N</mml:mi>
										</mml:mrow>
									</mml:mfrac>
									<mml:mo>-</mml:mo>
									<mml:mfenced separators="|">
										<mml:mrow>
											<mml:mi>μ</mml:mi>
											<mml:mo>+</mml:mo>
											<mml:mi>γ</mml:mi>
										</mml:mrow>
									</mml:mfenced>
									<mml:mi>I</mml:mi>
								</mml:mtd>
							</mml:mtr>
						</mml:mtable>
					</mml:math>
				</disp-formula>
			</p>
			<p>The Jacobian of the SIR model is:</p>
			<p>
				<disp-formula id="e11">
					<mml:math>
						<mml:mi>J</mml:mi>
						<mml:mo>=</mml:mo>
						<mml:mtable>
							<mml:mtr>
								<mml:mtd>
									<mml:mfrac>
										<mml:mrow>
											<mml:mo>∂</mml:mo>
											<mml:mi>f</mml:mi>
										</mml:mrow>
										<mml:mrow>
											<mml:mo>∂</mml:mo>
											<mml:mi>S</mml:mi>
										</mml:mrow>
									</mml:mfrac>
								</mml:mtd>
								<mml:mtd>
									<mml:mfrac>
										<mml:mrow>
											<mml:mo>∂</mml:mo>
											<mml:mi>f</mml:mi>
										</mml:mrow>
										<mml:mrow>
											<mml:mo>∂</mml:mo>
											<mml:mi>I</mml:mi>
										</mml:mrow>
									</mml:mfrac>
								</mml:mtd>
							</mml:mtr>
							<mml:mtr>
								<mml:mtd>
									<mml:mfrac>
										<mml:mrow>
											<mml:mo>∂</mml:mo>
											<mml:mi>g</mml:mi>
										</mml:mrow>
										<mml:mrow>
											<mml:mo>∂</mml:mo>
											<mml:mi>S</mml:mi>
										</mml:mrow>
									</mml:mfrac>
								</mml:mtd>
								<mml:mtd>
									<mml:mfrac>
										<mml:mrow>
											<mml:mo>∂</mml:mo>
											<mml:mi>g</mml:mi>
										</mml:mrow>
										<mml:mrow>
											<mml:mo>∂</mml:mo>
											<mml:mi>I</mml:mi>
										</mml:mrow>
									</mml:mfrac>
								</mml:mtd>
							</mml:mtr>
						</mml:mtable>
					</mml:math>
				</disp-formula>
			</p>
			<p>Which represents the endemic equilibrium for each country. The key to the eigenvalues is the sign of the root. Negative signs in the diagonal represent global stability, while positive signs are the opposite and show global instability. The combination of positive and negative sings refers to a saddle point. The trajectories exhibit imaginary roots in the diagonal, triggering a spiral path that seams never ends (and matches with the endemic behavior). The spiral path or internal track is determined by <mml:math>
					<mml:mfrac>
						<mml:mrow>
							<mml:mn>2</mml:mn>
							<mml:mi>π</mml:mi>
						</mml:mrow>
						<mml:mrow>
							<mml:mi>b</mml:mi>
						</mml:mrow>
					</mml:mfrac>
				</mml:math> where b are the eigenvalues of the Jacobian matrix. The length of the pandemic is described in <xref ref-type="table" rid="t5">Table 5</xref>.</p>
			<p>
				<table-wrap id="t5">
					<label>Table 5</label>
					<caption>
						<title>Length of the pandemic (endemic)</title>
					</caption>
					<table>
						<colgroup>
							<col/>
							<col/>
							<col/>
						</colgroup>
						<thead>
							<tr>
								<th style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="center">Country</th>
								<th style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">Length in weeks</th>
								<th style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">Length in years</th>
							</tr>
						</thead>
						<tbody>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="justify">United States</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">455</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">8.72</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="justify">Japan</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">472</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">9.05</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="justify">United Kingdom</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">456</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">8.74</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="justify">China</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">471</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">9.03</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="justify">India</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">457</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">8.76</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="justify">Brazil</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">459</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">8.80</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="justify">Mexico</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">460</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">8.82</td>
							</tr>
						</tbody>
					</table>
				</table-wrap>
			</p>
			<p>The results show that the pandemic can take between 8 and 7 years to finish. The model can also be interpreted as the time it would take for a highly dangerous outbreak to emerge by presenting cyclical behavior. Hence the importance of making public policy decisions. The next section is destined to ensemble model estimations for economic forecasting.</p>
		</sec>
		<sec>
			<title>SIR model and ensemble models estimations</title>
			<p>Ensemble methods are a machine learning technique that consists of a combination of multiple models to produce the optimal base estimator. This type of algorithm is called ensemble because it improves generalization/robustness in a single estimator (<xref ref-type="bibr" rid="B13">Pedregosa et al., 2011</xref>). We decided to use these types of models because they are excellent for non-linear modeling systems of equations; they do not need particular assumptions about data distribution, and they also handle collinearity efficiently. According to (<xref ref-type="bibr" rid="B6">Hastie, Tibshirani, &amp; Friedman, 2009</xref>) ensemble methods can characterize any dictionary method, such as regression splines, as an ensemble method. The essential functions of playing weak predictors’ roles ensemble methods are more robust and accurate than parametric models.</p>
			<p>For purposes of this article, we forecast with two kinds of ensemble methods: Random Forest regressor and Gradient Boosting regression tree. Random forest was developed by <xref ref-type="bibr" rid="B3">Breiman, (2001)</xref>, is a collection of three predictors <italic>h(x;θ</italic><sub><italic>k</italic></sub><italic>), k = 1, …, K</italic> where x represent the observed input vector of length <italic>p</italic> with an associate random vector X and θ<sub><italic>k</italic></sub> is an independent and identically distributed random vectors.</p>
			<p>When Random Forest is used for regression, the predictor is an unweighted average over the collection as follows:</p>
			<p>
				<disp-formula id="e12">
					<mml:math>
						<mml:mi>h</mml:mi>
						<mml:mfenced separators="|">
							<mml:mrow>
								<mml:mi>x</mml:mi>
							</mml:mrow>
						</mml:mfenced>
						<mml:mo>=</mml:mo>
						<mml:mfenced separators="|">
							<mml:mrow>
								<mml:mfrac>
									<mml:mrow>
										<mml:mn>1</mml:mn>
									</mml:mrow>
									<mml:mrow>
										<mml:mi>k</mml:mi>
									</mml:mrow>
								</mml:mfrac>
							</mml:mrow>
						</mml:mfenced>
						<mml:mrow>
							<mml:munderover>
								<mml:mo stretchy="false">∑</mml:mo>
								<mml:mrow>
									<mml:mi>k</mml:mi>
									<mml:mo>=</mml:mo>
									<mml:mn>1</mml:mn>
								</mml:mrow>
								<mml:mrow>
									<mml:mi>K</mml:mi>
								</mml:mrow>
							</mml:munderover>
							<mml:mrow>
								<mml:mi>h</mml:mi>
								<mml:mfenced separators="|">
									<mml:mrow>
										<mml:mi>x</mml:mi>
										<mml:mo>:</mml:mo>
										<mml:msub>
											<mml:mrow>
												<mml:mi>θ</mml:mi>
											</mml:mrow>
											<mml:mrow>
												<mml:mi>k</mml:mi>
											</mml:mrow>
										</mml:msub>
									</mml:mrow>
								</mml:mfenced>
							</mml:mrow>
						</mml:mrow>
					</mml:math>
					<label>(10)</label>
				</disp-formula>
			</p>
			<p>Where k → ∞ by the Law of Large Number ensures.</p>
			<p>In general, this method is based on bagging or bootstrap aggregation; each model is trained on the bootstrap sample of the training data enforcing diversity of each tree via random feature selection. The reinforcement improves the forecasting accuracy through variance reduction by averaging many noisy but unbiased trees.</p>
			<p>In this sense, trees are ideal candidates for bagging because they can capture complex interaction structures in the data, and if they grow deep enough, they have a relatively low bias; as trees are notoriously noisy, they benefit significantly from the average. Furthermore, as each tree generated in bagging is distributed identically (i.d.), an average B such tree’s expectation is the same as the expectation of any of them. This means that the bagged trees’ bias is the same as that of the individual trees, and the only hope of improvement is through the reduction of variance. This contrasts with improvement, where trees grow adaptively to eliminate bias, and therefore are not i.d. (<xref ref-type="bibr" rid="B6">Hastie et al., 2009</xref>); in this sense, the noise is a clear advantage over parametric models due to Random forest fit a better performance with noise, while the parametric model fits better without outliers. Given this, we considered this part of the cycle we are, representing a clear outlier in the long-term growth rate and this kind of model’s decision.</p>
			<p>In this way and retaking variables from equation 10, an average of K i.d random variables but not independent and with positive pairwise correlation ρ, the variance of the average is:</p>
			<p>
				<disp-formula id="e13">
					<mml:math>
						<mml:msup>
							<mml:mrow>
								<mml:mi>ρ</mml:mi>
								<mml:mi>σ</mml:mi>
							</mml:mrow>
							<mml:mrow>
								<mml:mn>2</mml:mn>
							</mml:mrow>
						</mml:msup>
						<mml:mo>+</mml:mo>
						<mml:mfrac>
							<mml:mrow>
								<mml:mn>1</mml:mn>
								<mml:mo>-</mml:mo>
								<mml:mi>ρ</mml:mi>
							</mml:mrow>
							<mml:mrow>
								<mml:mi>K</mml:mi>
							</mml:mrow>
						</mml:mfrac>
						<mml:msup>
							<mml:mrow>
								<mml:mi>σ</mml:mi>
							</mml:mrow>
							<mml:mrow>
								<mml:mn>2</mml:mn>
							</mml:mrow>
						</mml:msup>
					</mml:math>
					<label>(11)</label>
				</disp-formula>
			</p>
			<p>As <italic>K</italic> increases, the second argument of the equation disappears, remaining the variance pondered by correlation. The main idea is to improve the model’s variance by reducing the correlation between the trees and achieving tree-growing processes via the random selection of the input variables.</p>
			<p>On the other hand, Gradient Boosting generates base models sequentially, improving each new tree’s performance. This means that each additional base model is aimed to minimize a specific loss function averaged over the training data. In other words, a set of weak learners is equivalent to a single muscular learner. This kind of process is best known as a boosting method that strategically resamples the training data to provide the most useful information for each consecutive model (<xref ref-type="bibr" rid="B21">Zhang &amp; Haghani, 2015</xref>).</p>
			<p>In this sense, a weak regressor or learner is whose error rate is only slightly better than random guessing. According to (<xref ref-type="bibr" rid="B6">Hastie et al., 2009</xref>), every tree can be expressed as:</p>
			<p>
				<disp-formula id="e14">
					<mml:math>
						<mml:mi>T</mml:mi>
						<mml:mfenced separators="|">
							<mml:mrow>
								<mml:mi>x</mml:mi>
								<mml:mo>;</mml:mo>
								<mml:mi>θ</mml:mi>
							</mml:mrow>
						</mml:mfenced>
						<mml:mo>=</mml:mo>
						<mml:mrow>
							<mml:munderover>
								<mml:mo stretchy="false">∑</mml:mo>
								<mml:mrow>
									<mml:mi>j</mml:mi>
									<mml:mo>=</mml:mo>
									<mml:mn>1</mml:mn>
								</mml:mrow>
								<mml:mrow>
									<mml:mi>J</mml:mi>
								</mml:mrow>
							</mml:munderover>
							<mml:mrow>
								<mml:msub>
									<mml:mrow>
										<mml:mi>γ</mml:mi>
									</mml:mrow>
									<mml:mrow>
										<mml:mi>j</mml:mi>
									</mml:mrow>
								</mml:msub>
								<mml:mi>I</mml:mi>
							</mml:mrow>
						</mml:mrow>
						<mml:mfenced separators="|">
							<mml:mrow>
								<mml:mi>x</mml:mi>
								<mml:mo>∈</mml:mo>
								<mml:msub>
									<mml:mrow>
										<mml:mi>R</mml:mi>
									</mml:mrow>
									<mml:mrow>
										<mml:mi>j</mml:mi>
									</mml:mrow>
								</mml:msub>
							</mml:mrow>
						</mml:mfenced>
					</mml:math>
					<label>(12)</label>
				</disp-formula>
			</p>
			<p>With parameters <mml:math>
					<mml:mi>θ</mml:mi>
					<mml:mo>=</mml:mo>
					<mml:mfenced close="}" open="{" separators="|">
						<mml:mrow>
							<mml:msub>
								<mml:mrow>
									<mml:mi>R</mml:mi>
								</mml:mrow>
								<mml:mrow>
									<mml:mi>j</mml:mi>
								</mml:mrow>
							</mml:msub>
							<mml:mo>,</mml:mo>
							<mml:msub>
								<mml:mrow>
									<mml:mi>γ</mml:mi>
								</mml:mrow>
								<mml:mrow>
									<mml:mi>j</mml:mi>
								</mml:mrow>
							</mml:msub>
						</mml:mrow>
					</mml:mfenced>
					<mml:mfrac linethickness="0pt">
						<mml:mrow>
							<mml:mi>j</mml:mi>
						</mml:mrow>
						<mml:mrow>
							<mml:mn>1</mml:mn>
						</mml:mrow>
					</mml:mfrac>
				</mml:math>. Where <italic>J</italic> is a meta-parameter, and the parameters are found through minimizing the empirical risk. The Boosted tree model is a sum of such tree (precisely equal to equation 10), but with the particularity that is induced in a forward stagewise manner. At each step in the forward stagewise procedure, one must solve</p>
			<p>
				<disp-formula id="e15">
					<mml:math>
						<mml:mover accent="true">
							<mml:mrow>
								<mml:mi>θ</mml:mi>
							</mml:mrow>
							<mml:mo>^</mml:mo>
						</mml:mover>
						<mml:mo>=</mml:mo>
						<mml:mrow>
							<mml:mrow>
								<mml:mi mathvariant="normal">arg</mml:mi>
							</mml:mrow>
							<mml:mo>⁡</mml:mo>
							<mml:mrow>
								<mml:mrow>
									<mml:mrow>
										<mml:munder>
											<mml:mrow>
												<mml:mi mathvariant="normal">min</mml:mi>
											</mml:mrow>
											<mml:mrow>
												<mml:mi mathvariant="italic">θm</mml:mi>
											</mml:mrow>
										</mml:munder>
									</mml:mrow>
									<mml:mo>⁡</mml:mo>
									<mml:mrow>
										<mml:mrow>
											<mml:munderover>
												<mml:mo stretchy="false">∑</mml:mo>
												<mml:mrow>
													<mml:mi>i</mml:mi>
													<mml:mo>=</mml:mo>
													<mml:mn>1</mml:mn>
												</mml:mrow>
												<mml:mrow>
													<mml:mi>N</mml:mi>
												</mml:mrow>
											</mml:munderover>
											<mml:mrow>
												<mml:mi>L</mml:mi>
												<mml:mfenced separators="|">
													<mml:mrow>
														<mml:msub>
															<mml:mrow>
																<mml:mi>y</mml:mi>
															</mml:mrow>
															<mml:mrow>
																<mml:mi>i</mml:mi>
															</mml:mrow>
														</mml:msub>
														<mml:mo>,</mml:mo>
														<mml:msub>
															<mml:mrow>
																<mml:mi>f</mml:mi>
															</mml:mrow>
															<mml:mrow>
																<mml:mi>m</mml:mi>
																<mml:mo>-</mml:mo>
																<mml:mn>1</mml:mn>
															</mml:mrow>
														</mml:msub>
														<mml:mfenced separators="|">
															<mml:mrow>
																<mml:msub>
																	<mml:mrow>
																		<mml:mi>x</mml:mi>
																	</mml:mrow>
																	<mml:mrow>
																		<mml:mi>i</mml:mi>
																	</mml:mrow>
																</mml:msub>
															</mml:mrow>
														</mml:mfenced>
														<mml:mo>+</mml:mo>
														<mml:mi>T</mml:mi>
														<mml:mfenced separators="|">
															<mml:mrow>
																<mml:msub>
																	<mml:mrow>
																		<mml:mi>x</mml:mi>
																	</mml:mrow>
																	<mml:mrow>
																		<mml:mi>i</mml:mi>
																	</mml:mrow>
																</mml:msub>
																<mml:mo>;</mml:mo>
																<mml:msub>
																	<mml:mrow>
																		<mml:mi>θ</mml:mi>
																	</mml:mrow>
																	<mml:mrow>
																		<mml:mi>m</mml:mi>
																	</mml:mrow>
																</mml:msub>
															</mml:mrow>
														</mml:mfenced>
													</mml:mrow>
												</mml:mfenced>
											</mml:mrow>
										</mml:mrow>
									</mml:mrow>
								</mml:mrow>
							</mml:mrow>
						</mml:mrow>
					</mml:math>
					<label>(12a)</label>
				</disp-formula>
			</p>
			<p>For the region set and constants <mml:math>
					<mml:msub>
						<mml:mrow>
							<mml:mi>θ</mml:mi>
						</mml:mrow>
						<mml:mrow>
							<mml:mi>m</mml:mi>
						</mml:mrow>
					</mml:msub>
					<mml:mo>=</mml:mo>
					<mml:mfenced close="}" open="{" separators="|">
						<mml:mrow>
							<mml:msub>
								<mml:mrow>
									<mml:mi>R</mml:mi>
								</mml:mrow>
								<mml:mrow>
									<mml:mi>j</mml:mi>
									<mml:mi>m</mml:mi>
								</mml:mrow>
							</mml:msub>
							<mml:mo>,</mml:mo>
							<mml:msub>
								<mml:mrow>
									<mml:mi>γ</mml:mi>
								</mml:mrow>
								<mml:mrow>
									<mml:mi>j</mml:mi>
									<mml:mi>m</mml:mi>
								</mml:mrow>
							</mml:msub>
						</mml:mrow>
					</mml:mfenced>
					<mml:mfrac linethickness="0pt">
						<mml:mrow>
							<mml:mi>J</mml:mi>
							<mml:mi>m</mml:mi>
						</mml:mrow>
						<mml:mrow>
							<mml:mn>1</mml:mn>
						</mml:mrow>
					</mml:mfrac>
				</mml:math> of the next tree, given the current model <italic>f</italic><sub><italic>m-1</italic></sub> (<italic>x</italic>). For our model, in particular, we use squared error loss; therefore, the Gradient is just the ordinary residuals on its own is equivalent to standard least-squares boosting. The best forecast with the methods above is presented below for next quarter GDP for each country ranked in the first section. The model specification is explained as follows:</p>
			<p>
				<disp-formula id="e16">
					<mml:math>
						<mml:msub>
							<mml:mrow>
								<mml:mi>Y</mml:mi>
							</mml:mrow>
							<mml:mrow>
								<mml:mi>t</mml:mi>
							</mml:mrow>
						</mml:msub>
						<mml:mo>=</mml:mo>
						<mml:msub>
							<mml:mrow>
								<mml:mi>S</mml:mi>
								<mml:mi>V</mml:mi>
							</mml:mrow>
							<mml:mrow>
								<mml:mi>t</mml:mi>
								<mml:mo>-</mml:mo>
								<mml:mn>4</mml:mn>
							</mml:mrow>
						</mml:msub>
						<mml:mo>+</mml:mo>
						<mml:msub>
							<mml:mrow>
								<mml:mi>C</mml:mi>
								<mml:mi>V</mml:mi>
							</mml:mrow>
							<mml:mrow>
								<mml:mi>t</mml:mi>
								<mml:mo>-</mml:mo>
								<mml:mn>4</mml:mn>
							</mml:mrow>
						</mml:msub>
						<mml:mo>+</mml:mo>
						<mml:msub>
							<mml:mrow>
								<mml:mi>L</mml:mi>
								<mml:mi>d</mml:mi>
							</mml:mrow>
							<mml:mrow>
								<mml:mi>t</mml:mi>
								<mml:mo>-</mml:mo>
								<mml:mn>4</mml:mn>
							</mml:mrow>
						</mml:msub>
					</mml:math>
					<label>(13)</label>
				</disp-formula>
			</p>
			<p>Where:</p>
			<p>
				<list list-type="bullet">
					<list-item>
						<p><italic>Y</italic><sub><italic>t</italic></sub> = <italic>Real gross domestic product.</italic></p>
					</list-item>
					<list-item>
						<p><italic>SV</italic><sub><italic>t</italic></sub> = <italic>Structural variables.</italic></p>
					</list-item>
					<list-item>
						<p><italic>CV</italic><sub><italic>t</italic></sub> = <italic>Coincident indicators.</italic></p>
					</list-item>
					<list-item>
						<p><italic>Ld</italic><sub><italic>t</italic></sub> = <italic>Leading indicators.</italic></p>
					</list-item>
				</list>
			</p>
			<p>The variables used vary for each country due to the information available and the frequency of each one. However, the structure of the models is similar in the sense that structural variables and coincident indicators were used. The classification of the variables for each country appears in <xref ref-type="table" rid="t6">Table 6</xref>.</p>
			<p>
				<table-wrap id="t6">
					<label>Table 6</label>
					<caption>
						<title>Used variables to forecast GDP in every country</title>
					</caption>
					<table>
						<colgroup>
							<col/>
							<col/>
							<col/>
							<col/>
						</colgroup>
						<thead>
							<tr>
								<th style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="center">Country</th>
								<th style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">Structural variables</th>
								<th style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">Coincident indicators</th>
								<th style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">Leading indicators</th>
							</tr>
						</thead>
						<tbody>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="left" rowspan="3">United States</td>
								<td style="border-top: none; border-bottom: none;" align="justify">Private final consumption</td>
								<td style="border-top: none; border-bottom: none;" align="justify">Unemployment rate</td>
								<td style="border-top: none; border-bottom: none; border-right: 1px solid #A07189;" align="justify">Consumer confidence</td>
							</tr>
							<tr>
								<td style="border-top: none; border-bottom: none;" align="justify">Gross fixed capital</td>
								<td style="border-top: none; border-bottom: none;" align="justify">Advance real retail and food services sales</td>
								<td style="border-top: none; border-bottom: none; border-right: 1px solid #A07189;" align="justify">New private housing</td>
							</tr>
							<tr>
								<td style="border-top: none; border-bottom: 1px solid #A07189;" align="justify">Formation</td>
								<td style="border-top: none; border-bottom: 1px solid #A07189;" align="justify">Industrial production index</td>
								<td style="border-top: none; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="justify">Units authorized by building permits</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="left" rowspan="5">Brazil</td>
								<td style="border-top: none; border-bottom: none;" align="justify">Private final consumption</td>
								<td style="border-top: none; border-bottom: none;" align="justify">Unemployment rate</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="justify" rowspan="5"> </td>
							</tr>
							<tr>
								<td style="border-top: none; border-bottom: none;" align="justify">Gross fixed capital</td>
								<td style="border-top: none; border-bottom: none;" align="justify">Volume of total retail trade sales</td>
							</tr>
							<tr>
								<td style="border-top: none; border-bottom: none;" align="justify">Formation</td>
								<td style="border-top: none; border-bottom: none;" align="justify">Total manufacturing</td>
							</tr>
							<tr>
								<td style="border-top: none; border-bottom: none;" align="justify">Production of total industry</td>
								<td style="border-top: none; border-bottom: none;" align="justify">Production</td>
							</tr>
							<tr>
								<td style="border-top: none; border-bottom: 1px solid #A07189;" align="justify"> </td>
								<td style="border-top: none; border-bottom: 1px solid #A07189;" align="justify">Retail trade</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="left" rowspan="3">United Kingdom</td>
								<td style="border-top: none; border-bottom: none;" align="justify">Private final consumption</td>
								<td style="border-top: none; border-bottom: none;" align="justify">Unemployment rate</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="justify" rowspan="3">New orders all new housing</td>
							</tr>
							<tr>
								<td style="border-top: none; border-bottom: none;" align="justify">Gross fixed capital</td>
								<td style="border-top: none; border-bottom: none;" align="justify">All retailers inc fuel index</td>
							</tr>
							<tr>
								<td style="border-top: none; border-bottom: none;" align="justify">Formation</td>
								<td style="border-top: none; border-bottom: none;" align="justify">Manufacturing CVMSA index</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="left" rowspan="4">Mexico</td>
								<td style="border-top: none; border-bottom: none;" align="justify">Private final consumption</td>
								<td style="border-top: none; border-bottom: none;" align="justify">Employment manufacturer rate</td>
								<td style="border-top: none; border-bottom: none; border-right: 1px solid #A07189;" align="justify">Manufacturing employment trend</td>
							</tr>
							<tr>
								<td style="border-top: none; border-bottom: none;" align="justify">Gross fixed capital</td>
								<td style="border-top: none; border-bottom: none;" align="justify">Industrial production index</td>
								<td style="border-top: none; border-bottom: none; border-right: 1px solid #A07189;" align="justify">Business confidence</td>
							</tr>
							<tr>
								<td style="border-top: none; border-bottom: none;" align="justify">Formation</td>
								<td style="border-top: none; border-bottom: none;" align="justify">Workers registered IMSS (social security)</td>
								<td style="border-top: none; border-bottom: none; border-right: 1px solid #A07189;" align="justify">Exchange rate cyclical</td>
							</tr>
							<tr>
								<td style="border-top: none; border-bottom: 1px solid #A07189;" align="justify"> </td>
								<td style="border-top: none; border-bottom: 1px solid #A07189;" align="justify">Imports cyclical component</td>
								<td style="border-top: none; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="justify">Component</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="left" rowspan="3">India</td>
								<td style="border-top: none; border-bottom: none;" align="justify">Private final consumption</td>
								<td style="border-top: none; border-bottom: none;" align="justify">Exports: Value goods</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="justify" rowspan="3">Employment: Future tendency</td>
							</tr>
							<tr>
								<td style="border-top: none; border-bottom: none;" align="justify">Gross fixed capital</td>
								<td style="border-top: none; border-bottom: none;" align="justify">Total industry production</td>
							</tr>
							<tr>
								<td style="border-top: none; border-bottom: 1px solid #A07189;" align="justify">Formation</td>
								<td style="border-top: none; border-bottom: 1px solid #A07189;" align="justify">Excluding construction</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="left" rowspan="4">Japan</td>
								<td style="border-top: none; border-bottom: none;" align="justify">Private final consumption</td>
								<td style="border-top: none; border-bottom: none;" align="justify">New job offers (excluding new school graduates)</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="justify" rowspan="4">Rate of manufacturer capacity utilization</td>
							</tr>
							<tr>
								<td style="border-top: none; border-bottom: none;" align="justify">Gross fixed capital</td>
								<td style="border-top: none; border-bottom: none;" align="justify">Index of producers inventory ratio of finished goods</td>
							</tr>
							<tr>
								<td style="border-top: none; border-bottom: none;" align="justify">Formation</td>
								<td style="border-top: none; border-bottom: none;" align="justify">Index industrial production (mining and manufacturing)</td>
							</tr>
							<tr>
								<td style="border-top: none; border-bottom: 1px solid #A07189;" align="justify"> </td>
								<td style="border-top: none; border-bottom: 1px solid #A07189;" align="justify">Index producers shipment of durable consumer goods</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="left" rowspan="5">China</td>
								<td style="border-top: none; border-bottom: none;" align="justify">Private final consumption</td>
								<td style="border-top: none; border-bottom: none;" align="justify">Consumer price index</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="justify" rowspan="5">Business confidence</td>
							</tr>
							<tr>
								<td style="border-top: none; border-bottom: none;" align="justify">Expenditure</td>
								<td style="border-top: none; border-bottom: none;" align="justify">Exports: value goods</td>
							</tr>
							<tr>
								<td style="border-top: none; border-bottom: none;" align="justify">Gross fixed capital</td>
								<td style="border-top: none; border-bottom: none;" align="justify">Total construction</td>
							</tr>
							<tr>
								<td style="border-top: none; border-bottom: none;" align="justify">Formation</td>
								<td style="border-top: none; border-bottom: none;" align="justify">Total industry production</td>
							</tr>
							<tr>						
								<td style="border-top: none; border-bottom: 1px solid #A07189;" align="justify"> </td>
								<td style="border-top: none; border-bottom: 1px solid #A07189;" align="justify">Excluding construction</td>
							</tr>
						</tbody>
					</table>
				</table-wrap>
			</p>
			<p>First of all, some variables are monthly. Therefore, it was resampled in quarterly data since GDP has a quarterly frequency. Then the data set was divided into two parts: Training and validation sets, the first ending in the second quarter of 2019 and is used to training the model in python and this were used to predict the four previous quarters (2019Q3-2020Q2) that were not used for it on the train, in this sense the model does not know this data. Once the model works well, the validated data was used to forecast the next four quarters (through the second quarter of 2021).</p>
			<p>To validate the model, <italic>k</italic>-fold Cross Validation was used because the adjustment carried out within the trees created by the model assumes that each row of data is independent of each other. So the estimate could ‘ignore’ the trend of the series, but using different cross-validation time windows are taken, ensuring that the direction of the variable is not lost. This technique consists of dividing the data randomly into k groups of approximately the same size (7 for this case), <italic>k</italic>-1 groups are used to train the model, and one of the groups is used as a test; this process is repeated k times using a different group as a test in each iteration. In that sense, the model with the best performance is chosen.<xref ref-type="fn" rid="fn3"><sup>3</sup></xref>
			</p>
			<p>The performance of the models is measured by the mean square error (MSE) loss function and the coefficient of determination (<italic>R</italic><sup><italic>2</italic></sup>). In that sense, the one with a minimum MSE was chosen, which is calculated as follows. the variable is not lost. This technique consists of use squared error loss; therefore, the Gradient is just the ordinary residuals on its own is equivalent to standard least-squares boosting. The best forecast with the methods above is presented below for next quarter GDP for each country ranked in the first section. The model specification is explained as follows:</p>
			<p>
				<disp-formula id="e17">
					<mml:math>
						<mml:msub>
							<mml:mrow>
								<mml:mi>M</mml:mi>
								<mml:mi>S</mml:mi>
								<mml:mi>E</mml:mi>
							</mml:mrow>
							<mml:mrow>
								<mml:mi>y</mml:mi>
								<mml:mo>.</mml:mo>
								<mml:mover accent="true">
									<mml:mrow>
										<mml:mi>y</mml:mi>
									</mml:mrow>
									<mml:mo>^</mml:mo>
								</mml:mover>
							</mml:mrow>
						</mml:msub>
						<mml:mo>=</mml:mo>
						<mml:mfrac>
							<mml:mrow>
								<mml:mn>1</mml:mn>
							</mml:mrow>
							<mml:mrow>
								<mml:msub>
									<mml:mrow>
										<mml:mi>n</mml:mi>
									</mml:mrow>
									<mml:mrow>
										<mml:mi>s</mml:mi>
										<mml:mi>a</mml:mi>
										<mml:mi>m</mml:mi>
										<mml:mi>p</mml:mi>
										<mml:mi>l</mml:mi>
										<mml:mi>e</mml:mi>
										<mml:mi>s</mml:mi>
									</mml:mrow>
								</mml:msub>
							</mml:mrow>
						</mml:mfrac>
						<mml:mrow>
							<mml:munderover>
								<mml:mo stretchy="false">∑</mml:mo>
								<mml:mrow>
									<mml:mi>i</mml:mi>
									<mml:mo>=</mml:mo>
									<mml:mn>0</mml:mn>
								</mml:mrow>
								<mml:mrow>
									<mml:msub>
										<mml:mrow>
											<mml:mi>n</mml:mi>
										</mml:mrow>
										<mml:mrow>
											<mml:mi>s</mml:mi>
											<mml:mi>a</mml:mi>
											<mml:mi>m</mml:mi>
											<mml:mi>p</mml:mi>
											<mml:mi>l</mml:mi>
											<mml:mi>e</mml:mi>
											<mml:mi>s</mml:mi>
										</mml:mrow>
									</mml:msub>
									<mml:mo>-</mml:mo>
									<mml:mn>1</mml:mn>
								</mml:mrow>
							</mml:munderover>
							<mml:mrow>
								<mml:msup>
									<mml:mrow>
										<mml:mfenced separators="|">
											<mml:mrow>
												<mml:msub>
													<mml:mrow>
														<mml:mi>y</mml:mi>
													</mml:mrow>
													<mml:mrow>
														<mml:mi>t</mml:mi>
													</mml:mrow>
												</mml:msub>
												<mml:mo>-</mml:mo>
												<mml:msub>
													<mml:mrow>
														<mml:mover accent="true">
															<mml:mrow>
																<mml:mi>y</mml:mi>
															</mml:mrow>
															<mml:mo>^</mml:mo>
														</mml:mover>
													</mml:mrow>
													<mml:mrow>
														<mml:mi>t</mml:mi>
													</mml:mrow>
												</mml:msub>
											</mml:mrow>
										</mml:mfenced>
									</mml:mrow>
									<mml:mrow>
										<mml:mn>2</mml:mn>
									</mml:mrow>
								</mml:msup>
							</mml:mrow>
						</mml:mrow>
					</mml:math>
				</disp-formula>
			</p>
			<p>Where</p>
			<p>
				<list list-type="bullet">
					<list-item>
						<p><italic>y</italic><sub><italic>t</italic></sub> = <italic>Observed values.</italic></p>
					</list-item>
					<list-item>
						<p>
							<mml:math>
								<mml:msub>
									<mml:mrow>
										<mml:mover accent="true">
											<mml:mrow>
												<mml:mi>y</mml:mi>
											</mml:mrow>
											<mml:mo>^</mml:mo>
										</mml:mover>
									</mml:mrow>
									<mml:mrow>
										<mml:mi>t</mml:mi>
									</mml:mrow>
								</mml:msub>
							</mml:math> = <italic>Predicted values.</italic></p>
					</list-item>
				</list>
			</p>
			<p>To date, Brazil, India, and Japan have not presented GDP second quarter of 2020. The forecast for these countries begins in this, while for the rest of the nations, it starts in the third quarter.</p>
			<p>In <xref ref-type="table" rid="t7">Table 7</xref> is presented the performance metric for each model for every country. As the reader can appreciate, the model selected for each country is highlighted.</p>
			<p>
				<table-wrap id="t7">
					<label>Table 7</label>
					<caption>
						<title>Models performance metrics</title>
					</caption>
					<table>
						<colgroup>
							<col/>
							<col span="2"/>
							<col span="2"/>
						</colgroup>
						<thead>
							<tr>
								<th style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="center">Country</th>
								<th style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center" colspan="2">Random Forest</th>
								<th style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center" colspan="2">Gradient Boosting Trees</th>
							</tr>
							<tr>
								<th style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="center"> </th>
								<th style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">MSE</th>
								<th style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center"><italic>R</italic><sup><italic>2</italic></sup></th>
								<th style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">MSE</th>
								<th style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center"><italic>R</italic><sup><italic>2</italic></sup></th>
							</tr>
						</thead>
						<tbody>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="left">United States</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; background-color: #F2F2F3;" align="center">0.7863</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; background-color: #F2F2F3;" align="center">0.9500</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">0.8401</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">0.8800</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="left">Brazil</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">0.8784</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">0.8658</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; background-color: #F2F2F3;" align="center">0.7140</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189; background-color: #F2F2F3;" align="center">0.9985</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="left">United Kingdom</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">1.0944</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">0.4988</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; background-color: #F2F2F3;" align="center">1.0578</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189; background-color: #F2F2F3;" align="center">0.9364</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="left">Mexico</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; background-color: #F2F2F3;" align="center">0.9223</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; background-color: #F2F2F3;" align="center">0.8558</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">0.9796</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">0.1518</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="left">India</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; background-color: #F2F2F3;" align="center">0.9040</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; background-color: #F2F2F3;" align="center">0.8752</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">0.9398</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">0.7983</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="left">Japan</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; background-color: #F2F2F3;" align="center">1.0717</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; background-color: #F2F2F3;" align="center">0.1345</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">1.2709</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189;" align="center">0.8318</td>
							</tr>
							<tr>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-left: 1px solid #A07189;" align="left">China</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">0.0217</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189;" align="center">0.9965</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; background-color: #F2F2F3;" align="center">0.0187</td>
								<td style="border-top: 1px solid #A07189; border-bottom: 1px solid #A07189; border-right: 1px solid #A07189; background-color: #F2F2F3;" align="center">0.9999</td>
							</tr>
						</tbody>
					</table>
				</table-wrap>
			</p>
			<p>As mentioned above, some of the classified countries have not presented their official GDP for the second quarter; for this reason, the forecast shown in <xref ref-type="fig" rid="f8">Figure 8</xref> suggests the impact of the Coronavirus and, notably, Japan is the most affected with an economic downturn by -7.8%. According to Gradient Boosting Trees, Brazil could be affected as economic activity is forecast to contract 1.2%. For its part, India has suffered a slowdown in recent quarters, and Random Forest forecasts a GDP stagnation of 1.7%. A point that should be noted is that the forecast for Brazil and India have few leading indicators due to a lack of data, which could be underestimating the impact on the economy.</p>
			<p>
				<fig id="f8">
					<label>Figure 8</label>
					<caption>
						<title>Q2:2020 Forecast for showed countries</title>
					</caption>
					<graphic xlink:href="2007-9869-ecoqu-18-01-21-gf8.jpg"/>
				</fig>
			</p>
			<p>The <xref ref-type="fig" rid="f9">Figure 9</xref> shows the forecast for countries that have already presented their official GDP for the second quarter of 2020. China was the country where COVID-19 appeared and was the first one to close its economy. The impact Economic activity has been observed mainly in the first quarter of 2020; as we saw in the first section, they have flattened the contagious curve; for that reason, they decided to reopen their economy for the second quarter, presenting a recovery in their GDP growth at 19.1%, Gradient Boosting Trees expects a slight decline in the third-quarter growth rate of 4.3%.</p>
			<p>
				<fig id="f9">
					<label>Figure 9</label>
					<caption>
						<title>Q3:2020 Forecast for showed countries</title>
					</caption>
					<graphic xlink:href="2007-9869-ecoqu-18-01-21-gf9.jpg"/>
				</fig>
			</p>
			<p>Consequently, the rest of the economies began to close their economies after the first quarter, which caused a drop in GDP in the second quarter of 2020, where the United Kingdom has experienced the largest economic recession with a fall in GDP of -20.4% followed by for Mexico and the United States. According to the Gradient Boosting Trees forecast, the English economy will regain the growth trend with a recovery of 0.5% compared to the first quarter.</p>
			<p>Mexico will recover the trend according to Random Forest, with a 1.2% recovery in the third quarter, compared to the United States and the United Kingdom, for which we have a slightly lower projection. Nevertheless, we forecast that the United States will be the country with the most stable economic growth in the coming quarters, while the growth rate of China will gradually decrease.</p>
		</sec>
		<sec sec-type="conclusions">
			<title>Conclusion</title>
			<p>COVID-19 has become the main challenge in major economies. It has not only represented a high cost of human living, but it has also negatively impacted the living conditions of the population with the lowest income deciles. The pandemic caused a supply shock due to the temporary shutdown of non-essential activities. On the other hand, it also caused a demand shock generated by the reduction in income, negatively impacting consumption and employment levels.</p>
			<p>The purpose of this article was to find explanations and solutions in economic matters for the current uncertainty caused by the Coronavirus. In this sense, we made the use of economic-epidemiological models to analyze the evolution and spread of the virus. For this, the SIR model was used, which has been widely used in 2020.</p>
			<p>For estimating the evolution of the pandemic, we selected analytical tools for dynamic modeling and machine learning techniques, specifically, ensemble methods and elastic net regressions. The Elastic Net regression was used to estimate the contagion rate and then to estimate the SIR model, while ensemble methods (Random Forest and Gradient Boosting Trees, in particular) used to project GDP growth for the next few quarters. The pandemic tends towards a node of stability, presenting a cyclical behavior that can last up to 9 years as long as the system is not stochastically disturbed, either by the implementation of vaccines or the strengthening of the authorities’ policies on health measures.</p>
			<p>We emphasize that the available data do not support the hypothesis that the curve for Mexico has already flattened because the number of tests carried out in Mexico is minimal compared to other countries with similar characteristics, in addition to the fact that the positive rate is quite high compared to other countries. For the rest of the nations, we only want to make a mention that it is of vital importance to carry out a similar number of tests to avoid underestimations in the spread of the pandemic.</p>
			<p>Our forecasts for the economies are not very encouraging, and even when we are projecting that all countries will present a gradual recovery of the economic growth rate, the problem is that this economic growth rate is insufficient to reverse the pre-pandemic levels. This forecasts demonstrates that growth is damaged for COVID-19 dynamic through the macro data analysis, even when it is not directly incorporated in the model. In the long term, we have an endemic virus that can be stochastically disturbed, and in the short term, we have a slow recovery for most countries according to the ensemble models.</p>
			<p>This research contributes to estimating the size of the pandemic in several countries, the time it may take to reach the peak of contagion as well as the number of inhabitants that represents it and the dynamics of the epidemic, the susceptible population that follows exposed to the virus as well as the repercussions it means for economic indicators. In that sense, we consider that a time-dependent SIR model can help us analyze the effect of sanitary measures ir order to expand this analysis for a next research.</p>
			<p>Finally, we hope that this work will be useful for decision-making in the sense that it generates a better understanding of the risks that we still live in order to avoid more deaths, reinforce weaknesses in vital sectors such as health, as well as we want to emphasize the importance of stimulating the different economic activities to get out of the worst economic recession in history faster.</p>
		</sec>
	</body>
	<back>
		<ref-list>
			<title>References</title>
			<ref id="B1">
				<mixed-citation>Acemoglu, D., Chernozhukov, V., Werning, I., &amp; Whinston, M. (2020). Optimal targeted lockdowns in a multi-group SIR Model. National Bureau of Economic Research: NBER Working Paper 27102. Retrieved from <ext-link ext-link-type="uri" xlink:href="https://www. nber.org/papers/w27102.pdf">https://www. nber.org/papers/w27102.pdf</ext-link>
				</mixed-citation>
				<element-citation publication-type="book">
					<person-group person-group-type="author">
						<name>
							<surname>Acemoglu</surname>
							<given-names>D.</given-names>
						</name>
						<name>
							<surname>Chernozhukov</surname>
							<given-names>V.</given-names>
						</name>
						<name>
							<surname>Werning</surname>
							<given-names>I.</given-names>
						</name>
						<name>
							<surname>Whinston</surname>
							<given-names>M.</given-names>
						</name>
					</person-group>
					<year>2020</year>
					<source>Optimal targeted lockdowns in a multi-group SIR Model</source>
					<publisher-name>National Bureau of Economic Research</publisher-name>
					<series>NBER Working Paper 27102</series>
					<ext-link ext-link-type="uri" xlink:href="https://www. nber.org/papers/w27102.pdf">https://www. nber.org/papers/w27102.pdf</ext-link>
				</element-citation>
			</ref>
			<ref id="B2">
				<mixed-citation>Atkeson, A. (2020). What will be the economic impact of COVID-19 in the us? Rough estimates of disease scenarios. National Bureau of Economic Research: NBER Working Paper 26867. Retrieved from <ext-link ext-link-type="uri" xlink:href="https://www.nber.org/papers/w26867.pdf">https://www.nber.org/papers/w26867.pdf</ext-link>
				</mixed-citation>
				<element-citation publication-type="book">
					<person-group person-group-type="author">
						<name>
							<surname>Atkeson</surname>
							<given-names>A.</given-names>
						</name>
					</person-group>
					<year>2020</year>
					<source>What will be the economic impact of COVID-19 in the us? Rough estimates of disease scenarios</source>
					<publisher-name>National Bureau of Economic Research</publisher-name>
					<series>NBER Working Paper 26867</series>
					<ext-link ext-link-type="uri" xlink:href="https://www.nber.org/papers/w26867.pdf">https://www.nber.org/papers/w26867.pdf</ext-link>
				</element-citation>
			</ref>
			<ref id="B3">
				<mixed-citation>Breiman, L. (2001). Random Forests. <italic>Machine Learning</italic>, 5.32.</mixed-citation>
				<element-citation publication-type="journal">
					<person-group person-group-type="author">
						<name>
							<surname>Breiman</surname>
							<given-names>L.</given-names>
						</name>
					</person-group>
					<year>2001</year>
					<article-title>Random Forests</article-title>
					<source>Machine Learning</source>
					<volume>5</volume>
					<issue>32</issue>
				</element-citation>
			</ref>
			<ref id="B4">
				<mixed-citation>Eichenbaum, M., Rebelo, S., &amp; Trabandt, M. (2020). The macroeconomics of epidemics. National Bureau of Economic Research: NBER Working Paper 26882. Retrieved from <ext-link ext-link-type="uri" xlink:href="https://www.nber.org/papers/w26882.pdf">https://www.nber.org/papers/w26882.pdf</ext-link>
				</mixed-citation>
				<element-citation publication-type="book">
					<person-group person-group-type="author">
						<name>
							<surname>Eichenbaum</surname>
							<given-names>M.</given-names>
						</name>
						<name>
							<surname>Rebelo</surname>
							<given-names>S.</given-names>
						</name>
						<name>
							<surname>Trabandt</surname>
							<given-names>M.</given-names>
						</name>
					</person-group>
					<year>2020</year>
					<source>The macroeconomics of epidemics</source>
					<publisher-name>National Bureau of Economic Research</publisher-name>
					<series>NBER Working Paper 26882</series>
					<ext-link ext-link-type="uri" xlink:href="https://www.nber.org/papers/w26882.pdf">https://www.nber.org/papers/w26882.pdf</ext-link>
				</element-citation>
			</ref>
			<ref id="B5">
				<mixed-citation>Gros, C., Valenti, R., Schneider, L., Valenti, K., &amp; Gros, D. (2020). Containment efficiency and control strategies for the Corona pandemic costs. Cornell University. Retrieved from <ext-link ext-link-type="uri" xlink:href="https://arxiv.org/abs/2004.00493v2">https://arxiv.org/abs/2004.00493v2</ext-link>
				</mixed-citation>
				<element-citation publication-type="book">
					<person-group person-group-type="author">
						<name>
							<surname>Gros</surname>
							<given-names>C.</given-names>
						</name>
						<name>
							<surname>Valenti</surname>
							<given-names>R.</given-names>
						</name>
						<name>
							<surname>Schneider</surname>
							<given-names>L.</given-names>
						</name>
						<name>
							<surname>Valenti</surname>
							<given-names>K.</given-names>
						</name>
						<name>
							<surname>Gros</surname>
							<given-names>D.</given-names>
						</name>
					</person-group>
					<year>2020</year>
					<source>Containment efficiency and control strategies for the Corona pandemic costs</source>
					<publisher-name>Cornell University</publisher-name>
					<ext-link ext-link-type="uri" xlink:href="https://arxiv.org/abs/2004.00493v2">https://arxiv.org/abs/2004.00493v2</ext-link>
				</element-citation>
			</ref>
			<ref id="B6">
				<mixed-citation>Hastie, T., Tibshirani, R., &amp; Friedman, J. (2009). <italic>The elements of statistical learning: Data mining, inference, and prediction</italic>. Stanford: Springer.</mixed-citation>
				<element-citation publication-type="book">
					<person-group person-group-type="author">
						<name>
							<surname>Hastie</surname>
							<given-names>T.</given-names>
						</name>
						<name>
							<surname>Tibshirani</surname>
							<given-names>R.</given-names>
						</name>
						<name>
							<surname>Friedman</surname>
							<given-names>J.</given-names>
						</name>
					</person-group>
					<year>2009</year>
					<source>The elements of statistical learning: Data mining, inference, and prediction</source>
					<publisher-loc>Stanford</publisher-loc>
					<publisher-name>Springer</publisher-name>
				</element-citation>
			</ref>
			<ref id="B7">
				<mixed-citation>International Monetary Fund. (August 2nd, 2020). Retrieved from Real GDP growth: <ext-link ext-link-type="uri" xlink:href="https://www.imf.org/external/datamapper/NGDP_RPCH@ WEO/OEMDC/ADVEC/WEOWORLD">https://www.imf.org/external/datamapper/NGDP_RPCH@ WEO/OEMDC/ADVEC/WEOWORLD</ext-link>
				</mixed-citation>
				<element-citation publication-type="book">
					<person-group person-group-type="author">
						<collab>International Monetary Fund</collab>
					</person-group>
					<day>02</day>
					<month>08</month>
					<year>2020</year>
					<source>Real GDP growth</source>
					<ext-link ext-link-type="uri" xlink:href="https://www.imf.org/external/datamapper/NGDP_RPCH@ WEO/OEMDC/ADVEC/WEOWORLD">https://www.imf.org/external/datamapper/NGDP_RPCH@ WEO/OEMDC/ADVEC/WEOWORLD</ext-link>
				</element-citation>
			</ref>
			<ref id="B8">
				<mixed-citation>Kermack, W. &amp; McKendrick, A. (1927). A contribution to the mathematical theory of epidemics. <italic>Proceedings of the Royal Society</italic>, <italic>115</italic> (772), 700-721. DOI:10.1098/rspa.1927.0118</mixed-citation>
				<element-citation publication-type="journal">
					<person-group person-group-type="author">
						<name>
							<surname>Kermack</surname>
							<given-names>W.</given-names>
						</name>
						<name>
							<surname>McKendrick</surname>
							<given-names>A.</given-names>
						</name>
					</person-group>
					<year>1927</year>
					<article-title>A contribution to the mathematical theory of epidemics</article-title>
					<source>Proceedings of the Royal Society</source>
					<volume>115</volume>
					<issue>772</issue>
					<fpage>700</fpage>
					<lpage>721</lpage>
					<pub-id pub-id-type="doi">10.1098/rspa.1927.0118</pub-id>
				</element-citation>
			</ref>
			<ref id="B9">
				<mixed-citation>Lars, J. &amp; Werner, R. (2006). <italic>The macroeconomic effects of a pandemic in Europe - A model-based assessment</italic>. Brussels: European Comission.</mixed-citation>
				<element-citation publication-type="book">
					<person-group person-group-type="author">
						<name>
							<surname>Lars</surname>
							<given-names>J.</given-names>
						</name>
						<name>
							<surname>Werner</surname>
							<given-names>R.</given-names>
						</name>
					</person-group>
					<year>2006</year>
					<source>The macroeconomic effects of a pandemic in Europe - A model-based assessment</source>
					<publisher-loc>Brussels</publisher-loc>
					<publisher-name>European Comission</publisher-name>
				</element-citation>
			</ref>
			<ref id="B10">
				<mixed-citation>Ma, X., Zhou, Y., &amp; Cao, H. (2013). Global stability of the endemic equilibrium of a discrete SIR epidemic model. <italic>Advances in Difference Equations</italic>, <italic>42</italic>, 1-19. DOI:10.1186/1687-1847-2013-42</mixed-citation>
				<element-citation publication-type="journal">
					<person-group person-group-type="author">
						<name>
							<surname>Ma</surname>
							<given-names>X.</given-names>
						</name>
						<name>
							<surname>Zhou</surname>
							<given-names>Y.</given-names>
						</name>
						<name>
							<surname>Cao</surname>
							<given-names>H.</given-names>
						</name>
					</person-group>
					<year>2013</year>
					<article-title>Global stability of the endemic equilibrium of a discrete SIR epidemic model</article-title>
					<source>Advances in Difference Equations</source>
					<volume>42</volume>
					<fpage>1</fpage>
					<lpage>19</lpage>
					<pub-id pub-id-type="doi">10.1186/1687-1847-2013-42</pub-id>
				</element-citation>
			</ref>
			<ref id="B11">
				<mixed-citation>Organisation for Economic Cooperation and Development-OECD. (2020). Gross domestic product (GDP) (indicator). Retrieved from <ext-link ext-link-type="uri" xlink:href="https://data.oecd.org/gdp/gross-domestic-product-gdp.htm">https://data.oecd.org/gdp/gross-domestic-product-gdp.htm</ext-link>
				</mixed-citation>
				<element-citation publication-type="book">
					<person-group person-group-type="author">
						<collab>Organisation for Economic Cooperation and Development</collab>
					</person-group>
					<year>2020</year>
					<source>Gross domestic product (GDP) (indicator)</source>
					<ext-link ext-link-type="uri" xlink:href="https://data.oecd.org/gdp/gross-domestic-product-gdp.htm">https://data.oecd.org/gdp/gross-domestic-product-gdp.htm</ext-link>
				</element-citation>
			</ref>
			<ref id="B12">
				<mixed-citation>Paarlberg, P., Seitzinger, H., &amp; Lee, J. (2007). Economic impacts of regionalization of a highly pathogenic avian influenza outbreak in the United States. <italic>Journal of Agricultural and Applied Economics</italic>, <italic>39</italic> (2), 325-333.</mixed-citation>
				<element-citation publication-type="journal">
					<person-group person-group-type="author">
						<name>
							<surname>Paarlberg</surname>
							<given-names>P.</given-names>
						</name>
						<name>
							<surname>Seitzinger</surname>
							<given-names>H.</given-names>
						</name>
						<name>
							<surname>Lee</surname>
							<given-names>J.</given-names>
						</name>
					</person-group>
					<year>2007</year>
					<article-title>Economic impacts of regionalization of a highly pathogenic avian influenza outbreak in the United States</article-title>
					<source>Journal of Agricultural and Applied Economics</source>
					<volume>39</volume>
					<issue>2</issue>
					<fpage>325</fpage>
					<lpage>333</lpage>
				</element-citation>
			</ref>
			<ref id="B13">
				<mixed-citation>Pedregosa, F., Varoquaux, G., Gramfort, A., Michel, V., Thirion, B., Grisel, O.,... &amp; Duchesnay, E. (2011). Scikit-learn: Machine learning in Python. <italic>Journal of Machine Learning Research</italic>, <italic>12</italic>, 2825-830.</mixed-citation>
				<element-citation publication-type="journal">
					<person-group person-group-type="author">
						<name>
							<surname>Pedregosa</surname>
							<given-names>F.</given-names>
						</name>
						<name>
							<surname>Varoquaux</surname>
							<given-names>G.</given-names>
						</name>
						<name>
							<surname>Gramfort</surname>
							<given-names>A.</given-names>
						</name>
						<name>
							<surname>Michel</surname>
							<given-names>V.</given-names>
						</name>
						<name>
							<surname>Thirion</surname>
							<given-names>B.</given-names>
						</name>
						<name>
							<surname>Grisel</surname>
							<given-names>O.</given-names>
						</name>
						<name>
							<surname>Duchesnay</surname>
							<given-names>E.</given-names>
						</name>
					</person-group>
					<year>2011</year>
					<article-title>Scikit-learn: Machine learning in Python</article-title>
					<source>Journal of Machine Learning Research</source>
					<volume>12</volume>
					<fpage>2825</fpage>
					<lpage>2830</lpage>
				</element-citation>
			</ref>
			<ref id="B14">
				<mixed-citation>Rodrigues, H. (2016). Application of SIR epidemiological model: New trends. <italic>International Journal of Applied Mathematics and Informatics</italic>, <italic>10</italic>, 92-99.</mixed-citation>
				<element-citation publication-type="journal">
					<person-group person-group-type="author">
						<name>
							<surname>Rodrigues</surname>
							<given-names>H.</given-names>
						</name>
					</person-group>
					<year>2016</year>
					<article-title>Application of SIR epidemiological model: New trends</article-title>
					<source>International Journal of Applied Mathematics and Informatics</source>
					<volume>10</volume>
					<fpage>92</fpage>
					<lpage>99</lpage>
				</element-citation>
			</ref>
			<ref id="B15">
				<mixed-citation>Roser, M., Ritchie, H., Ortiz-Ospina, E., &amp; Hasell, J. (2020). Coronavirus Pandemic (COVID-19). Retrieved August 28, 2020, from <comment> Retrieved August 28, 2020, from <ext-link ext-link-type="uri" xlink:href="https://ourworldindata.org/coronavirus">https://ourworldindata.org/coronavirus</ext-link>
					</comment>
				</mixed-citation>
				<element-citation publication-type="webpage">
					<person-group person-group-type="author">
						<name>
							<surname>Roser</surname>
							<given-names>M.</given-names>
						</name>
						<name>
							<surname>Ritchie</surname>
							<given-names>H.</given-names>
						</name>
						<name>
							<surname>Ortiz-Ospina</surname>
							<given-names>E.</given-names>
						</name>
						<name>
							<surname>Hasell</surname>
							<given-names>J.</given-names>
						</name>
					</person-group>
					<year>2020</year>
					<source>Coronavirus Pandemic (COVID-19)</source>
					<date-in-citation content-type="access-date" iso-8601-date="2020-08-28">August 28, 2020</date-in-citation>
					<comment> Retrieved August 28, 2020, from <ext-link ext-link-type="uri" xlink:href="https://ourworldindata.org/coronavirus">https://ourworldindata.org/coronavirus</ext-link>
					</comment>
				</element-citation>
			</ref>
			<ref id="B16">
				<mixed-citation>Sargent, T. &amp; Stachurski, J. (7 August 2020). <italic>Quantitative economics with Python</italic>. Retrieved from <ext-link ext-link-type="uri" xlink:href="https://python.quantecon.org/_downloads/pdf/quantitative_economics_with_python.pdf">https://python.quantecon.org/_downloads/pdf/quantitative_economics_with_python.pdf</ext-link>
				</mixed-citation>
				<element-citation publication-type="book">
					<person-group person-group-type="author">
						<name>
							<surname>Sargent</surname>
							<given-names>T.</given-names>
						</name>
						<name>
							<surname>Stachurski</surname>
							<given-names>J.</given-names>
						</name>
					</person-group>
					<day>07</day>
					<month>08</month>
					<year>2020</year>
					<source>Quantitative economics with Python</source>
					<ext-link ext-link-type="uri" xlink:href="https://python.quantecon.org/_downloads/pdf/quantitative_economics_with_python.pdf">https://python.quantecon.org/_downloads/pdf/quantitative_economics_with_python.pdf</ext-link>
				</element-citation>
			</ref>
			<ref id="B17">
				<mixed-citation>Segal, M. R. (2004). Machine Learning Benchmarks and Random Forest Regression. UCSF: Center for Bioinformatics and Molecular Biostatistics, 1-14.</mixed-citation>
				<element-citation publication-type="book">
					<person-group person-group-type="author">
						<name>
							<surname>Segal</surname>
							<given-names>M. R.</given-names>
						</name>
					</person-group>
					<year>2004</year>
					<source>Machine Learning Benchmarks and Random Forest Regression</source>
					<publisher-name>UCSF: Center for Bioinformatics and Molecular Biostatistics</publisher-name>
					<fpage>1</fpage>
					<lpage>14</lpage>
				</element-citation>
			</ref>
			<ref id="B18">
				<mixed-citation>Smith, R., Keogh-Brown, M., Barnett, T., &amp; Tait, J. (2009). The economy-wide impact of pandemic influenza on the UK: A computable general equilibrium modelling experiment. <italic>The BMJ</italic>, <italic>339</italic>, 1-7. DOI:10.1136/bmj.b4571</mixed-citation>
				<element-citation publication-type="journal">
					<person-group person-group-type="author">
						<name>
							<surname>Smith</surname>
							<given-names>R.</given-names>
						</name>
						<name>
							<surname>Keogh-Brown</surname>
							<given-names>M.</given-names>
						</name>
						<name>
							<surname>Barnett</surname>
							<given-names>T.</given-names>
						</name>
						<name>
							<surname>Tait</surname>
							<given-names>J.</given-names>
						</name>
					</person-group>
					<year>2009</year>
					<article-title>The economy-wide impact of pandemic influenza on the UK: A computable general equilibrium modelling experiment</article-title>
					<source>The BMJ</source>
					<volume>339</volume>
					<fpage>1</fpage>
					<lpage>7</lpage>
					<pub-id pub-id-type="doi">10.1136/bmj.b4571</pub-id>
				</element-citation>
			</ref>
			<ref id="B19">
				<mixed-citation>Stock, J. (2020). Data gaps and the policy response to the novel Coronavirus. Harvard Environmental Economics Program: Discussion Paper Series. Retrieved from <ext-link ext-link-type="uri" xlink:href="https://heep.hks.harvard.edu/files/heep/files/dp_82_stock_data_gaps_policy_response_novel_coronavirus.pdf">https://heep.hks.harvard.edu/files/heep/files/dp_82_stock_data_gaps_policy_response_novel_coronavirus.pdf</ext-link>
				</mixed-citation>
				<element-citation publication-type="book">
					<person-group person-group-type="author">
						<name>
							<surname>Stock</surname>
							<given-names>J.</given-names>
						</name>
					</person-group>
					<year>2020</year>
					<source>Data gaps and the policy response to the novel Coronavirus</source>
					<publisher-name>Harvard Environmental Economics Program</publisher-name>
					<series>Discussion Paper Series</series>
					<ext-link ext-link-type="uri" xlink:href="https://heep.hks.harvard.edu/files/heep/files/dp_82_stock_data_gaps_policy_response_novel_coronavirus.pdf">https://heep.hks.harvard.edu/files/heep/files/dp_82_stock_data_gaps_policy_response_novel_coronavirus.pdf</ext-link>
				</element-citation>
			</ref>
			<ref id="B20">
				<mixed-citation>Toda, A. (2020). Susceptible-Infected-Recovered (SIR) Dynamics of COVID-19 and Economic Impact. Cornell University. Retrieved from <ext-link ext-link-type="uri" xlink:href="https://arxiv.org/pdf/2003.11221.pdf">https://arxiv.org/pdf/2003.11221.pdf</ext-link>
				</mixed-citation>
				<element-citation publication-type="book">
					<person-group person-group-type="author">
						<name>
							<surname>Toda</surname>
							<given-names>A.</given-names>
						</name>
					</person-group>
					<year>2020</year>
					<source>Susceptible-Infected-Recovered (SIR) Dynamics of COVID-19 and Economic Impact</source>
					<publisher-name>Cornell University</publisher-name>
					<ext-link ext-link-type="uri" xlink:href="https://arxiv.org/pdf/2003.11221.pdf">https://arxiv.org/pdf/2003.11221.pdf</ext-link>
				</element-citation>
			</ref>
			<ref id="B21">
				<mixed-citation>Zhang, Y. &amp; Haghani, A. (2015). A gradient boosting method to improve travel time prediction. <italic>Transportation Research</italic> Part C, 308-324.</mixed-citation>
				<element-citation publication-type="journal">
					<person-group person-group-type="author">
						<name>
							<surname>Zhang</surname>
							<given-names>Y.</given-names>
						</name>
						<name>
							<surname>Haghani</surname>
							<given-names>A.</given-names>
						</name>
					</person-group>
					<year>2015</year>
					<article-title>A gradient boosting method to improve travel time prediction</article-title>
					<source>Transportation Research</source>
					<issue-part>Part C</issue-part>
					<fpage>308</fpage>
					<lpage>324</lpage>
				</element-citation>
			</ref>
		</ref-list>
		<app-group>
			<app id="app1">
				<label>Appendix 1. Forecasting Validation</label>
				<p>
					<xref ref-type="fig" rid="f10">Figure A1</xref> shows the model validation dataset; this part of the dataset has the peculiarity that it is only used to validate the model’s predictive capacity since the model is not trained with these data. Subsequently, the forecast on these data is predicted. The reader will see in fthe graph of the validation models where the observed GDP growth is plotted in black, the validation forecast for the random forest model in red, and the validation forecast for the gradient increase trees in blue. Derived from this we emphasize some crucial points to take into account: The first one is according to the models, both the random forest and the gradient boost trees have an excellent performance in most of the countries, in this sense, there are not too many differences in the forecast capacity of the models, the second one is that the most crucial point to forecast the economic growth is the selection of variables, our models for India, for example, have a bad performance compared to the rest due to the lack of available data, actually the data set for India begins in third quarter 1996 and finish in the first quarter of 2020, and one of the most critical variables Employment is available from 2000.</p>
				<p>
					<fig id="f10">
						<label>Figure A1</label>
						<caption>
							<title>Models validation</title>
						</caption>
						<graphic xlink:href="2007-9869-ecoqu-18-01-21-gf10.jpg"/>
					</fig>
				</p>
			</app>
		</app-group>
		<fn-group>
			<fn fn-type="other" id="fn1">
				<label>1</label>
				<p>Major economies according with Banco de México´s quarterly reports.</p>
			</fn>
			<fn fn-type="other" id="fn2">
				<label>2</label>
				<p>Nasdaq Composite and Dow Jones were not included due to S&amp;P500 is considered the most important stock market index in the United States.</p>
			</fn>
			<fn fn-type="other" id="fn3">
				<label>3</label>
				<p>See <xref ref-type="app" rid="app1">Appendix 1</xref> for forecasting validation.</p>
			</fn>
		</fn-group>
	</back>
</article>