Skip to main content
IEEE - PMC COVID-19 Collection logoLink to IEEE - PMC COVID-19 Collection
. 2021 Mar 3;26(4):1441–1452. doi: 10.1109/JBHI.2021.3063106

Monitoring and Tracking the Evolution of a Viral Epidemic Through Nonlinear Kalman Filtering: Application to the COVID-19 Case

Antonio Gomez-Exposito 1,, Jose A Rosendo-Macias 1, Miguel A Gonzalez-Cagigal 1
PMCID: PMC9088803  PMID: 33657005

Abstract

This work presents a novel methodology for systematically processing the time series that report the number of positive, recovered and deceased cases from a viral epidemic, such as Covid-19. The main objective is to unveil the evolution of the number of real infected people, and consequently to predict the peak of the epidemic and subsequent evolution. For this purpose, an original nonlinear model relating the raw data with the time-varying geometric ratio of infected people is elaborated, and a Kalman Filter is used to estimate the involved state variables. A hypothetical simulated case is used to show the adequacy and limitations of the proposed method. Then, several countries, including China, South Korea, Italy, Spain, U.K. and the USA, are tested to illustrate its behavior when real-life data are processed. The results obtained clearly show the beneficial effect of the severe lockdowns imposed by many countries worldwide, but also that the softer social distancing measures adopted afterwards have been almost always insufficient to prevent the subsequent virus waves.

Keywords: Nonlinear Kalman filtering, parameter estimation, Covid-19, geometric series

I. Introduction

Despite the spectacular medical advances of the 20th century, and the practical eradication of viral diseases that in the past caused great mortality (e.g., smallpox), modern societies are still very vulnerable to the sudden appearance of new viruses, such as the severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2), cause of the coronavirus disease 2019 (Covid-19), for which there is still no vaccine. In addition, once a viral outbreak originates in a region of a country (in the case of the Covid-19, the Chinese region of Hubei, where the first reported case was dated on December 2019), the globalization of the economy and mass tourism spread it almost inevitably and quickly to the rest of the world.

In the absence of effective treatments, once a certain threshold has been passed, the main and almost sole remedy against the spread of the disease to the entire population is social distancing, the objective of which is to minimize the contact between people, and therefore morbidity [1]. In extreme cases, when the speed of propagation of the outbreak is very high, massive lockdowns of entire countries may be needed, which cannot last indefinitely owing to their drastic impact on the economic activity.

For this reason, all the agents involved (governments, international organizations, institutions, companies and individuals) have the greatest interest in knowing how the number of affected and deceased people will evolve over time, with a view, on the one hand, to verifying the beneficial effects of social distancing, and on the other to scheduling the already saturated health resources and taking the economic measures intended to mitigate as far as possible the devastating effects of an epidemic like that of Covid-19.

Scientists, engineers, economists, etc. are acquainted with several mathematical and statistical toolkits (recently renamed collectively as “data analytics”) for the treatment and filtering of time series, with a view to extracting useful information from the available data, uncertain by definition, such as trends, patterns, average values, expected variances, etc. In the specific case of a viral epidemic, such as that of Covid-19, there are basically two categories of models for processing the information:

  • 1.

    Models that try to characterize the “physical” reality explaining the observed data. In the case of a viral epidemic, these models [2], [3] consider, for example, what fraction of people are at work, in teaching or travelling, how long it takes for an infected person to manifest symptoms, what is the mortality rate according to age groups, etc. This type of modeling is widely used in engineering, because the dynamics of the underlying systems or devices are generally well characterized, through mathematical relationships obtained from the physical laws that govern them (such is the case, for example, of electrical networks or an artificial satellite).

  • 2.
    Models that try to determine explanatory parameters or variables from a purely mathematical point of view (“black box” approach), without going into the causes or interactions between components that explain the resulting data. Given uncertain data, which enter the system regularly (in our case, every day), the aim is to characterize its temporal evolution by adjusting the parameters of a mathematical model, so that the differences between what is observed and what is estimated are minimized. Two variants can be considered in this category:
    • a)
      Mathematical models that do not assume a priori what the shape of the temporal evolution of the involved magnitudes will be, but rather use a state transition equation, which tries to capture the dynamics of the problem in question by relating the variables in an instant of time to the variables in the previous instant. In this case, it is a matter of determining how the coefficients that define this equation evolve over time. In the case of epidemics, among the most popular models are those derived from the SIR (Susceptible-Infected-Recovered) model, [4], such as the one used for example in [5] to analyze the evolution of Covid-19 in Italy. This model is also considered in [6], where the evolution of the epidemic is forecasted using a novel state filtering algorithm.
    • b)
      Mathematical models based on the assumption that the evolution of infected people, deceased, etc. obeys a predetermined curve (based on the experience of previous epidemics), whose coefficients are estimated based on the time series of reported data. For example, the evolution of the accumulated number of infected people can be satisfactorily approximated by means of a sigmoid curve, as assumed in [7], where the curve proposed by Gompertz [8] is used.

The methodology proposed in this work belongs to the second category. As explained in the next section, we depart from the basic SIR model, by considering that the number of susceptible people, being large enough and changing relatively slowly, does not have to be explicitly considered in the model, but can be rather embedded in other equally significant parameters, such as the time-varying ratio of the geometric series characterizing the progression of affected people. Moreover, the proposed model explicitly distinguishes between people who have proved positive in a test, and people actually infectious, who are many more and for whom there is no reliable information available.

In this work, a Kalman filter (KF) is used to process both the assumed dynamic model and the information available throughout the outbreak. The KF, proposed for linear dynamic systems in the early 1960s, is considered one of the fundamental tools that allowed men to walk on the moon, as it was successfully used in guiding the Apollo program space missions [9]. This filter, which constitutes a generalization of the technique known as “recursive least squares”, estimates the maximum likelihood evolution (that is, the most statistically probable, according to the assumed uncertainties and the observed samples) of the state of a dynamic system, and can be generalized to the non-linear case, including situations where the model parameters are also to be estimated.

Reference [10] applies the KF for the estimation of the evolution of AIDS, while several recent studies related to the Covid-19 have arisen. In [11] the KF is used to deal with the estimation of the reproductive number of the virus. A shortterm prediction model is proposed in [12], where the time update equations of the estimator are used for future forecasts of the pandemic spread. ARIMA models are combined with a KF in [13] to track the evolution of the Covid-19 in Pakistan. Unlike in those references, where the parameters involved in the state estimation process are supposed to be known, in this work such assumptions are not required. This is the major distinguishing feature of the proposed methodology, compared to the state of the art, and the main contribution of the paper.

II. Proposed Model

We start from the well-known and simple SIR model [4], mathematically described by:

II.
II.
II.

where Inline graphic and Inline graphic are, respectively, the cumulative or total susceptible and recovered people, Inline graphic represents the active infectious (not to be confused with cumulative infectious), β and γ are the transmission and recovery rates, and Inline graphic is the total population of the studied region, satisfying Inline graphic. Note that, in this compact model, the deceased cases are paradoxically included in Inline graphic (alternatively, they could be subtracted from Inline graphic).

For practical purposes, the discrete counterparts obtained by numerical integration (forward Euler) are rather of interest. Moreover, as dead people are separately reported, they can be explicitly modeled, leading to a discrete-time SIRD (Susceptible-Infected-Recovered-Deceased) model, as used in [14][16]:

II.

where Inline graphic is the elapsed time (in days) from a given origin, Inline graphic is the cumulative dead and Inline graphic is a mortality ratio.

The data publicly reported (available in references such as [17], [18]), typically comprise the following three items:

  • Fraction of infectious people who, subject to a test, yield a positive outcome. This considers the fact that there may be many more infected than those reported positives, as happens with a large number of asymptomatic people. The cumulative positives will be denoted Inline graphic

  • Fraction of recovered people who have been previously identified as positive. For simplicity of notation, the same symbol as in the basic SIR model, Inline graphic, will be used in the sequel, even though we are referring here to a subset of Inline graphic.

  • Cumulative number of deceased, Inline graphic, which is assumed to be the same as in the SIRD model, even though the actual number of dead by the virus may differ from the reported figures.

Some sources directly provide the active positive cases, Inline graphic defined as: Inline graphic Note that both Inline graphic and Inline graphic tend to zero as Inline graphic increases sufficiently (end of the viral outbreak), while the remaining cumulative magnitudes asymptotically reach a maximum or steady-state value.

Epidemiologists use the so-called basic reproductive number, Inline graphic (average number of people infected by a single infectious person during the infective period at the onset of the outbreak) to characterize whether and how fast an epidemic spreads at the very beginning. If Inline graphic > 1, then the epidemic will progress exponentially. As time elapses, though, the number of susceptible people decreases, either by the virus evolution itself or as a consequence of social distancing measures, and Inline graphic is replaced by the effective reproductive number, Inline graphic. In terms of SIRD coefficients, Inline graphic and Inline graphic are given by:

II.

However, as thoroughly discussed in [19], the basic reproductive number Inline graphic is not free from ambiguity and controversy. For instance, it is stated in [19] that “using Inline graphic as a threshold parameter for a population-level model could produce misleading estimates of the infectiousness of the pathogen, the severity of an outbreak, and the strength of the medical and/or behavioral interventions necessary for control.” Moreover, if Inline graphic is estimated from time series of reported data, as in [11], then there is no way, at least for a new virus such as Covid-19, to subsequently check or contrast the accuracy of the estimates. This probably explains the wide confidence intervals so far reported for Inline graphic values [20]. Similar arguments apply to Inline graphic

For this reason, instead of or in addition to Inline graphic, we postulate in this work the use of a more intuitive and measurable index, related with the growth rate of the infected class, to duly and unambiguously characterize a viral epidemic. Let the daily evolution of the active infectious be expressed as a geometric time series:

II.

where Inline graphic) is the time-varying ratio of the series. Then the daily growth rate is obtained from:

II.

Clearly, as long as Inline graphic)>1, the viral outbreak will continue its expansion, whereas the disease extinguishes when Inline graphic)<1. There is no ambiguity in using Inline graphic) as a threshold, when referred to a whole population. Note however that, if (5) were expressed in terms of cumulative magnitudes, rather than daily or active cases, then Inline graphic) would tend asymptotically to 1.

By direct comparison of (5) with (2), the following relation is obtained,

II.

or, in terms of Inline graphic:

II.

Given Inline graphic one still would have to guess the values of the parameters involved in the SIRD model (1)(4), to obtain Inline graphic. We contend that there is no need to worry in the short term about Inline graphic, as Inline graphic suffices to duly track the epidemic evolution on a daily basis.

This work is aimed at estimating, from the daily reported data, the evolution of Inline graphic and, as a consequence, the growth rate of the infectious people. Note that, if Inline graphic can be somehow estimated, then (1) becomes unnecessary. In our approach, the impact of susceptible people, a factor which varies smoothly, is also embedded into Inline graphic.

In order to take advantage of the reported numbers of positive, deceased, and recovered cases, the following relationships are considered, taking into account (3)(4):

II.

where Inline graphic is a testing or reporting ratio that models the fraction of those infectious who are subject to tests and yield positive, Inline graphic is the daily increase in the number of deaths, and Inline graphic is the daily variation in the number of recovered cases.

From (7) at two consecutive instants, keeping (5) in mind:

II.
II.

and dividing:

II.

where Inline graphic is the ratio of consecutive daily deaths and Inline graphic is in turn a ratio of consecutive mortality ratios.

Similarly, from (6) and (5):

II.
II.

and dividing:

II.

where Inline graphic is the ratio of consecutive daily positives and Inline graphic is a ratio of consecutive Inline graphic coefficients.

Finally, from (8) and (5):

II.
II.

and dividing:

II.

where Inline graphic is the ratio of daily recovered cases and Inline graphic is a ratio of consecutive Inline graphic coefficients.

III. Kalman Filter Application and Implementation

From the above simple model, given by (9)–(11), a system of state equations can be formulated allowing the sequence Inline graphic to be estimated by means of a non-linear KF, such as the Extended KF (EKF), Unscented KF (UKF) or Ensemble KF (EnKF) [9], [21]. This type of filter is capable of estimating the dynamic evolution of both parameters and state variables. Even though its maximum likelihood has only been proven for linear problems, it is applied successfully in nonlinear problems, such as the one in hand.

In our proposal, the state vector is composed of the infectious geometric ratio, Inline graphic, not directly measured, and the gains Inline graphic, Inline graphic and Inline graphic all of them initially assumed to evolve with a random walk. Therefore, the state vector is

III.

and the state transition equation:

III.

where Inline graphic is a Gaussian noise vector with a covariance matrix Q(n), which accounts for model errors such as possible time lags not duly considered in the model.

The state is to be estimated with the help of a measurement vector, composed of Inline graphic, Inline graphic and Inline graphic, along with the pseudo-measurements of Inline graphic Inline graphic and Inline graphic Thus, assuming that the coefficients Inline graphic, Inline graphic and Inline graphic change slowly, their variation ratios can be considered to lie around the unity. Therefore, the measurement vector is,

III.

and the measurement equation,

III.

where Inline graphic is a Gaussian noise vector that models the measurement error with a covariance matrix R(n), and the nonlinear measurement function is

III.

With this formulation, the EKF is able to deal properly with the non-linearity arising in the measurement equation, performing at each iteration a linear prediction step, followed by the non-linear correction step. So, the KF provides the sequence of states estimates Inline graphic, whose last component, the estimate of Inline graphic, will be denoted as Inline graphic

The sequence Inline graphic incorporates, in a statistically optimal fashion, the noisy information provided by raw data ratios, such as Inline graphic, Inline graphic or Inline graphic, which results in a more reliable estimation than the raw data ratios themselves.

After several initial trials, an enhanced model has been finally implemented, considering two improvements:

  • 1)
    The random walk in Inline graphic can be advantageously replaced, while keeping the linearity of the state equation, by a linear prediction based on the recent past history, e.g., Based on Inline graphic, Inline graphic and Inline graphic. In this Case,
    graphic file with name M107.gif

and

III.

where:

III.
  • 1)

    The information available at instant Inline graphic can be used to improve previous estimations. For this purpose, the Rauch-Tung-Striebel (RTS) smoother [9], is implemented in two steps:

    • Forward pass performed with EKF.

    • Backward recursion smoother based on the linear state transition equation.

Regarding the tuning of the filter, the diagonal elements of Inline graphic related to Inline graphic, Inline graphic and Inline graphic are self-tuned according to the respective sample variances of the last available days of Inline graphic, Inline graphic and Inline graphic. The terms related to the pseudo-measurements are set to Inline graphic to increase their weights. The diagonal elements of Inline graphic are set to constant values Inline graphic, according to the observed variance of Inline graphic, except in the case of history variables, where Inline graphic. The initial values of Inline graphic and Inline graphic, required by the filter, are not relevant as their effect quickly vanishes. The proposed values are: Inline graphic and history variables initialized to the mean of the raw ratios, Inline graphic gains initialized to 1, and Inline graphic initialized to an identity matrix.

Additionally, the results of the KF allow the estimation or prediction of two magnitudes of great interest:

  • 1)

    The day in the future when the infection peak will be reached, Inline graphic, which will occur when Inline graphic. For this purpose, the sequence Inline graphic can be fitted to a predetermined evolution in order to predict its future behavior from the past history. According to what can be observed empirically, we have fitted the sequence Inline graphic to a decreasing exponential, characteristic of first-order systems. It is worth stressing that, at this point, we are talking about the peak of infected, the peak of positives being a proxy for it.

  • 2)
    The estimated number of active infectious people, Inline graphic This magnitude can be computed from those infected at a given reference day, Inline graphic, as follows:
    graphic file with name M134.gif

    This means that, besides the errors of the sequence Inline graphic the uncertainty of Inline graphic inherits that of the initial guess Inline graphic. Therefore, as happens also with the SIR model, and in fact with any other model based on differential equations, precisely estimating Inline graphic based on the above expression requires that an accurate number of infectious people be known on a given day, which can be very challenging. For our results, we will obtain the initial guess from Inline graphic, for an assumed value of Inline graphic For instance, Inline graphic if we believe the first day there were 5 infectious people per reported positive.

IV. Simulation Results

In this section, the performance of the proposed implementation of the KF is tested on a set of simulated scenarios, where the SIR model described in Section II is considered for the propagation of a virtual virus.

While the total simulation time is 90 days, a lockdown is assumed to take place at day 15. This restrictive policy is aimed to completely stop non-essential public mobility, resulting in a quick reduction of the transmission rate, Inline graphic (which is assumed to evolve exponentially, from an initial value 0.5 to 0.09) and, therefore, also of the ratio Inline graphic. The remaining simulation parameters are given in Table I.

TABLE I. Value of the Parameters in the Simulation.

Parameter Definition Simulation value
Inline graphic Mortality ratio 0.004
Inline graphic Recovery rate 0.1
Inline graphic Initial infectious 1000
Inline graphic Total population 47 Million
Inline graphic Testing ratio 0.2

In all simulated cases presented in the sequel, artificial Gaussian noise has been added to the measurements used by the KF algorithm in order to represent a more realistic scenario where the reported information presents inaccuracies.

A. Base Case

In the base case, the testing ratio, Inline graphic, is assumed to remain constant (except for the noise). The time evolution of the estimated geometric ratio, Inline graphic, is represented in Fig. 1 along with the raw noisy measurements provided by the simulation and the actual value of Inline graphic. Note that the estimation provided by the KF is very close to the simulated value, giving evidence of the good performance of the proposed method. Fig. 2 shows the benefit attained from the incorporation of the smoothing filter mentioned above to the basic EKF algorithm, in terms of more damped oscillations.

Fig. 1.

Fig. 1.

Estimation of r(n) in the base case.

Fig. 2.

Fig. 2.

Estimation of r(n) with and without the smoother.

To compare the proposed KF implementation with other methods customarily employed as filters in these cases, Fig. 3 shows the estimated value of Inline graphic along with the results provided by three moving-average filters respectively applied to each of the noisy measurements, Inline graphic, Inline graphic and Inline graphic. As can be seen, the KF more closely tracks the evolution of Inline graphic

Fig. 3.

Fig. 3.

Comparison of the proposed method with moving average filters.

From the estimated Inline graphic sequence, and the initial testing ratio, Inline graphic, an estimation is obtained for the evolution of infectious people, which is compared in Fig. 4 with the simulated value of Inline graphic and the reported positives. The maximum estimation error (around 4.5%) takes place, as expected, at the peak of the epidemic.

Fig. 4.

Fig. 4.

Estimation of the infectious people in the base case.

B. Error Assessment

Once the proposed estimation technique is validated in the base case, where only Gaussian noise is considered, the effect of different error sources is studied in the following scenarios.

  • Step in Inline graphic

    An abrupt change is simulated in the testing ratio from Inline graphic0.2 to 0.3 at day 25, representing an increase in the availability of the tests (this has been observed in practice in several countries). Fig. 5 shows the estimation of Inline graphic, along with the simulated value and the measurements of the geometric ratios Inline graphic, Inline graphic and Inline graphic. Note that the step in Inline graphic is observed as an impulse in the ratio Inline graphic, which is quite effectively filtered out by the proposed KF implementation.

Fig. 5.

Fig. 5.

Estimation of r(n) with a step on the testing ratio.

The estimation of Inline graphic is represented in Fig. 6, where the actual simulated value is again very close to the estimated one, giving evidence of the good performance of the method in the presence of a step in the testing ratio.

  • Deviations in Inline graphic

    Finally, the last scenario considered in this section shows how errors in the initial guess of the testing ratio, Inline graphic, with respect to the assumed value Inline graphic, affect the results. Given that the errors in this factor only affect the estimation of the infectious people, Inline graphic, the representation of the estimated Inline graphic is not repeated. Fig. 7 shows the estimation of Inline graphic for Inline graphic and Inline graphic Inline graphic error).

Fig. 6.

Fig. 6.

Estimation of the infectious people with a step on the testing ratio.

Fig. 7.

Fig. 7.

Estimation of the infectious people for a range of t(0) values.

The results in Fig. 7 clearly show the importance of having an accurate guess of the number of infectious at the onset of the outbreak, as this initial error propagates proportionally up to the peak. Note, however, that any epidemiological model, such as SIR, faces the same challenge.

V. Case Studies

In this section, the proposed KF-based estimation technique is applied to the real data reported by different countries. For convenience, the results have been divided in two subsections: 1) the first period, when massive and aggressive lockdowns occurred in most countries, denoted in the media as the “first wave” of the pandemic [22], and 2) the subsequent period, once the first lockdown was relaxed, characterized by one or more additional waves, usually interleaved with several de-escalation phases.

A. First Wave

A total of four countries have been considered in this period: China, South Korea, Spain and the U.K.. At the early stage of the pandemic, the information provided by these countries was sufficient to allow the application of the proposed methodology.

Figs. 815 represent the estimated sequence of the geometric ratio, Inline graphic, and the number of infected people, Inline graphic for the four countries. The KF implementation is tuned as described in Section III for the covariance matrices Inline graphic and Inline graphic, and the initial values of the vector Inline graphic and the covariance matrix Inline graphic. In order to estimate the number of infectious people, Inline graphic, according to (13), an initial value for the parameter Inline graphic is needed. In absence of a better clue, Inline graphic is considered in all cases, expect for Spain (see the discussion of this particular case below). The points for which Inline graphic (peak of the epidemic) are highlighted with a dot. The following remarks can be made from those results:

  • A different evolution of Inline graphiccan be observed for the Asian countries (China and South Korea), where the effects of Covid-19 started earlier. Once the geometric ratio Inline graphicthe trend for South Korea is to remain roughly constant throughout the considered period, whereas for China a certain rebound can be noticed after March 10.

  • The estimation results obtained for Spain show an asymptotic trend towards Inline graphic0.95. A slight increase is observed in Inline graphic between April 10 and 15, probably influenced by a sudden increase in the number of tests.

Fig. 9.

Fig. 9.

Estimation of infectious people in China in the first period considered.

Fig. 10.

Fig. 10.

Estimation of r(n) in South-Korea in the first period considered.

Fig. 11.

Fig. 11.

Estimation of infectious people in South-Korea in the first period.

Fig. 12.

Fig. 12.

Estimation of r(n) in Spain in the first period considered.

Fig. 8.

Fig. 8.

Estimation of r(n) in China in the first period considered.

Fig. 15.

Fig. 15.

Estimation of infectious people in U.K. in the first period considered.

Regarding the parameter Inline graphic, in the Spanish case we have taken into account the results of a massive seroprevalence test performed by the government in the first half of May [23], from which it was concluded that the total number of infected people was around 5.2% of the population (approximately 2.3 million people). In view of this valuable information, the initial value Inline graphic has been adjusted so that the cumulative number of infected people matches the result of the survey on the date it was released (May 13), leading to Inline graphic= 0.12. This provides the estimation of Inline graphic shown in Fig. 13, where a maximum value of the active infectious people of around 1.3 million can be noticed by mid-April. Fig. 16 represents the estimation of the cumulative infectious people for the Spanish territory, where the total number of infected people matches the results of the survey.

  • With the available information in mid-May, some countries had already left behind the peak of the epidemic (i.e., Inline graphic). For those cases (China, South-Korea and Spain), a rather accurate early forecasting of the epidemic evolution can be made, around 10 to 14 days before the peak, by fitting a decreasing exponential to a window of past estimated data. This prediction is shown with green dotted lines in Figs. 813.

  • Regarding the U.K., where the peak of the number of infectious people had not been reached in the period considered (i.e., Inline graphic), an exponential fitting (made between around mid-April and early May) and the corresponding extrapolation is considered for this case. According to such fitting, the first peak should have taken place in the second half of May, provided the social distance measures were not relaxed.

Fig. 14.

Fig. 14.

Estimation of r(n) in U.K. in the first period considered.

Fig. 13.

Fig. 13.

Estimation of infectious people in Spain in the first period considered.

Fig. 16.

Fig. 16.

Estimation of cumulative infectious people in Spain.

Finally, Fig. 17 shows the evolution of the above-mentioned fitted exponential curves for different countries (Italy has been included in the representation in order to establish a more complete comparison), all of them represented from a common threshold Inline graphic so that the corresponding time constants can be easily compared. In light of this representation, it can be noticed that the reduction of the geometric ratio is faster in China (just 13 days from Inline graphic to Inline graphic), possibly as a consequence of a more severe lockdown, followed by Spain and South Korea (between 25 and 27 days to reach Inline graphic, showing similar trends, and finally Italy (40 days to reach Inline graphic).

Fig. 17.

Fig. 17.

Fitted geometric ratios from common threshold.

B. Subsequent Waves

As the pandemic evolves, it becomes more difficult to properly report on a regular basis all the information involved in the estimation of active positives. Many countries (notably Spain) stopped reporting the number of recovered people, probably owing to the remarkable increase in the number of asymptomatic positive cases, which never entered a hospital and hence never counted as recovered or dead. For this reason, it is not possible to accurately update the estimations of the geometric ratios of active positives, Inline graphicfor some of the countries considered in the early stages. Instead, Figs. 1825 represent the estimated geometric ratio, Inline graphicand the number of active infectious people, Inline graphic for four countries (USA, Italy, India and Brazil), all of them specially affected by the pandemic and still reporting the information required by the proposed estimation technique.

Fig. 18.

Fig. 18.

Estimation of r(n) in USA in the second period considered.

Fig. 25.

Fig. 25.

Estimation of infectious people in Brazil in the second period considered.

Similar assumptions as in the previous section are made regarding the KF tuning. The following remarks can be made from the results presented in Figs. 1825:

  • The number of infectious people in the USA was on the verge of reaching a peak by the end of May (Inline graphic. However, Figs. 18 and 19 show that, afterwards, Inline graphic has remained somewhat around or above 1 until January 2021. This means that the outbreak has not been under full control for nearly a year, and that additional caution should be exercised before alleviating social distance measures.

    Fig. 20.

    Fig. 20.

    Estimation of r(n) in Italy in the second period considered.

    Fig. 21.

    Fig. 21.

    Estimation of infectious people in Italy in the second period considered.

    Fig. 22.

    Fig. 22.

    Estimation of r(n) in India in the second period considered.

    Fig. 23.

    Fig. 23.

    Estimation of infectious people in India in the second period considered.

    Fig. 24.

    Fig. 24.

    Estimation of r(n) in Brazil in the second period considered.
  • In Italy, the effect of relaxing the social distance measures after the first wave can be easily noticed by an increase of the ratio Inline graphicfrom June to November 2020, leading to a second wave. A new reduction is apparent after mid-November, probably due to a reinforcement of the mobility constraints, which ended once again after the December holiday season.

  • India suffered a remarkable peak in the number of infected people around October 2020. At the time of writing, an increasing trend in Inline graphic is observed, which means that the pandemic is still uncontrolled in this country and that a second wave cannot be discarded.

  • As far as Brazil is concerned, the most noticeable difference when compared to other countries lies in the almost periodic oscillations of Inline graphic, the period being of about a week, which is probably due to the poor quality of the reported data. However, the overall trend in the number of infectious people is clearly rising from late-October.

Fig. 19.

Fig. 19.

Estimation of infectious people in USA in the second period considered.

VI. Conclusion

This work has addressed the problem of monitoring and tracking the evolution of a viral epidemic, such as Covid-19, through the application of signal processing techniques to the time series of data reported by governments and health agencies. Three main contributions can be pointed out: 1) the exclusive use of time-varying geometric ratios of daily data to track the disease, rather than the customary virus reproductive number (Inline graphic); 2) the development of a simple algebraic model relating the geometric ratio of infectious people, Inline graphic, with those of positives, reported and dead; 3) the application of a nonlinear KF, along with a smoothing technique, to estimate the evolution of Inline graphic By properly fitting the estimated values of Inline graphic to a decreasing exponential, an accurate prediction of the epidemic peak can be made, as early as two weeks before the peak actually takes place.

The proposed methodology has been satisfactorily tested on a simulated case, in the presence of Gaussian noise and other sources of uncertainty, the main one being the number of infectious people at the onset of the outbreak.

The estimation technique has also been applied to a pool of countries, and the results obtained are divided in two periods:

  • A first period, when most of the countries imposed a lockdown. Four territories are reported in this scenario, namely: China, South Korea, Spain, and the U.K.. The evolution of Inline graphic reflects in all cases the severity of the lockdown, allowing the first peak of the epidemic to be forecasted well in advance. In some cases, a slightly increasing trend is apparent in the evolution of this ratio once the lockdown is removed, suggesting that additional mobility restrictions might be necessary.

  • For the countries that have continued reporting the required information, the estimation of Inline graphic is extended up to the moment of writing this manuscript, reflecting the panoply of post-lockdown measures taken by most of them, generally insufficient to prevent the appearance of the second and subsequent waves of the pandemic. In this case, four countries are reported: the USA, Italy, India and Brazil.

In light of the presented results, it can be concluded that the proposed methodology can effectively characterize, by means of the ratio Inline graphic, the evolution of the virus spread, when adequate information of active positives, recovered and deceased people is available. This information on the state and dynamics of the epidemic can be used by the governing authorities in order to take the corresponding actions:

  • An increasing trend of the geometric ratio represents a virus spread which might turn out of control, especially when Inline graphic, leading to more restrictive policies.

  • On the contrary, values of Inline graphic with decreasing trend indicate a situation where the severity of the social distancing measures can be alleviated.

As shown in the simulated scenario, the proposed methodology is not only suitable for the Covid-19, but also for other pandemics that can be characterized using the SIRD model, and for which the required information is available. Future work is aimed to the application of KF-based estimators to new models that can arise with less informative scenarios.

Funding Statement

The Miguel A. González-Cagigal thanks the financial support of the Spanish Ministry of Education and Professional Training under Grant FPU17/06380.

Contributor Information

Antonio Gómez-Expósito, Email: age@us.es.

Jose A. Rosendo-Macías, Email: rosendo@us.es.

Miguel A. González-Cagigal, Email: mgcagigal@us.es.

References


Articles from Ieee Journal of Biomedical and Health Informatics are provided here courtesy of Institute of Electrical and Electronics Engineers

RESOURCES