key: cord-0767153-9wiuko58 authors: Hasan, A. title: A Nonlinear Observer to Estimate the Effective Reproduction Number of Infectious Diseases date: 2021-03-03 journal: nan DOI: 10.1101/2021.03.02.21252730 sha: a76e0376154d85d47add1897db294b40cc2e7a06 doc_id: 767153 cord_uid: 9wiuko58 In this paper, we design a Nonlinear Observer (NLO) to estimate the effective reproduction number (Rt) of infectious diseases. The NLO is designed from a discrete-time augmented Susceptible-Infectious-Removed (SIR) model. The observer gain is obtained by solving a Linear Matrix Inequality (LMI). The method is used to estimate Rt in Jakarta using epidemiological data during COVID-19 pandemic. If the observer gain is tuned properly, this approach produces similar result compared to existing approach such as Extended Kalman filter (EKF). Governments around the world are using the reproduction numbers as criteria when deciding public health policies during COVID-19 pandemic. In principal, there are two types of reproduction numbers: basic reproduction number and effective reproduction number. The basic reproduction number (denoted by R 0 ) shows the average expected number of cases generated by one case in a population where all individuals are susceptible. The effective reproduction number (denoted by R t ) shows the average expected number of cases generated in the current state of a population. In practice, R 0 is used to determine how many population that needs to be immune to reach herd immunity. In this case, the herd-immunity threshold is 1 − 1 R0 . On the other hand, R t is used to monitor transmissions of the disease in a population during the outbreak. Hence, this number is usually used as one of the main criteria to evaluate the public health policies. Theoretically, R t needs to be below 1 to ensure the transmission is under control. Many researchers have provided calculations to estimate R t using different approaches, e.g., Bayesian estimation [1] , serial interval [2] , Extended Kalman filter [3] , and parameter fitting [4] . If the estimation parameters are tuned properly, all of these approaches will provide similar pattern with small variation. Once the estimated R t is obtained, we can create short-term forecasts to determine different reopening scenarios [5] - [7] . The aim of this paper is to provide a novel approach to estimate the effective reproduction number R t of infectious diseases. To this end, we design a Nonlinear Observer (NLO) from a discrete-time augmented Susceptible-Infectious-Removed (SIR) model. The method is efficient in the sense that the epidemiological data is injected directly into the model once we found a constant observer gain. The observer gain is obtained by solving a Linear Matrix Inequality (LMI). While the majority of estimation methods are based on stochastic process, this new approach is deterministic. The Confidence Interval (CI) provided in our estimation is inherited from the uncertainty in the infectious time and not from the method itself. The paper is organized as follow. In Section II, we derive a discrete-time augmented SIR model. In this section, we consider the time-varying R t as an augmented state. Furthermore, we assume its value is a piecewise constant function. In Section III, we derive a sufficient condition for the observer gain in terms of LMI. Simulation results using epidemiological data from Jakarta is presented in Section IV. Finally, conclusions are given in Section V. We use a simple SIR model in this paper for several reasons. First, it can be used to described transmissions of many infectious diseases. Furthermore and most importantly, the actual data of the three compartments are available in most outbreak events. The removed compartment consists of individuals who are either recovered or died. Assuming constancy of population N , the SIR model can be written as follow [8] : where S denotes the number of susceptible individuals, I denotes the number of infected individuals or active cases, and R denotes the number removed individuals. The model has two parameters: the transmission rate β and the removal rate γ. By definition, β is the average number of contacts per person per time, multiplied by the probability of disease transmission in a contact between a susceptible and an infectious individual. Thus, in principal β is time-varying due to interventions. For this reason, in the remaining of this paper we consider β as a parameter that depends on time t and is unknown. On the other hand, the removal rate γ is an inverse of the average infectious time, i.e., γ = 1 Ti . The infectious time can be obtained through medical data and is usually known together with its Confidence Interval (CI). Taking into account reduction in the number of susceptible individuals, the effective reproduction number can be estimated as follow [9] : Discretizing (1)-(3) using the Euler discretization method, substituting β(t) = γR t (t) into the model, and augmenting R t (t) as a new state variable, we obtain the following discrete-time augmented SIR model: Remark that, in the last equation we assume R t as a piece-wise constant function with jumps every time new data come in. To simplify the model, let us define: The discrete-time augmented SIR model (5)-(8), can be written as the following nonlinear state-space representation: where Since data for S(k), I(k), and R(k) are available, the measurement vector y(k) ∈ R 3 is given by: All rights reserved. No reuse allowed without permission. (which was not certified by peer review) is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. The copyright holder for this preprint this version posted March 3, 2021. III. METHOD We design the NLO as follow: wherex(k) ∈ R 4 is the estimated state from the NLO and K ∈ R 4×3 is the observer gain to be determined later. Letx(k) = x(k) −x(k),ỹ(k) = y(k) −ȳ(k), and ∆f (k) = f (x(k)) − f (x(k)). Subtracting (10) with (14), we obtain:x The problem is to find K such that the errorx(k) is asymptotically converges toward zero, which guarantees the estimated states converge to the actual states. Designing a NLO for a nonlinear system is not trivial and sometime impossible. Thus, we can simplify the problem using some assumptions, for example by assuming the non-linearity is locally Lipschitz and bounded. These assumptions are common when designing NLO for nonlinear systems, e.g., see [10] , [11] . Therefore, the following assumptions are used in this paper: The nonlinear function f is a one-sided Lipschitz, i.e., it satisfies for 1 > 0, where I 4 denotes a 4 × 4 identity matrix. The nonlinear function f satisfies the quadratic inner-boundedness condition, i.e., 2 x(k) ∆f (k) for 2 > 0 and ν ∈ R. Utilizing the above assumptions, we can derive a sufficient condition for the observer gain in terms of LMI. Theorem III.1. Under Assumption 1 and Assumption 2, the error dynamics (15) is asymptotically stable if there exist matrices G = G > 0 and R ∈ R 3×4 such that the following LMI holds Furthermore, the observer gain is given by: Proof. Let us define a Lyapunov function: Thus, if ∆V (k + 1) = V (k + 1) − V (k), then we have: All rights reserved. No reuse allowed without permission. (which was not certified by peer review) is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. The copyright holder for this preprint this version posted March 3, 2021. ; https://doi.org/10.1101/2021.03.02.21252730 doi: medRxiv preprint Expressing the right hand side of (21) as a matrix multiplication, we have: Adding the left hand side of (16) and (17) into (22), we have: where Substituting (19) and applying Schur complement to (24), then Φ < 0 is equivalent to (18). This completes the proof. Daily epidemiological data of COVID-19, such as the number of active case and the number of removed case between April 2020 until August 2020, are used in our estimation. Code and data are available in: https://github.com/agusisma/COVIDNLO. In this simulation, we use the following parameters: 1 = 10, 2 = 1, and ν = 9. Furthermore, the symmetric matrix G is chosen as G = 0.1I 4 , while the matrix R is chosen as: We assume the average infectious time 1 γ = 12 days with standard deviation of 3 days. Using these parameters, the LMI (18) is negative definite with the largest and smallest Eigenvalues are -0.0989 and -9.1294, respectively. The observer gain is then given by: (26) Figure 1 shows estimation results from the NLO for the daily number of active and removed case. It can be observed from the estimation errors that the NLO estimates these numbers reasonably accurate. The NLO is compared with the EKF method presented in [3] and the results can be seen from Figure 2 . It can be observed that the estimation results are virtually almost identical. We should note, however, that these results are obtained after a lengthy process of trial and error when determining the matrix R. Unfortunately, there is no method that can be used to determine matrix R automatically. Having said that, the main advantage of using NLO is its stability and efficiency compare to EKF, since the NLO doesn't require calculation of inverse matrices. In this paper, we have presented a new approach to estimate the effective reproduction number R t of infectious diseases. The idea is to inject the discrete-time augmented SIR model with epidemiological data, such as active and removed case. The main challenge is to find a suitable observer gain, since there are no methods to solve the LMI automatically. However, once the observer gain is found, the method is comparable with EKF. The main advantage of using NLO is its stability compared to EKF. Furthermore, it doesn't require computation of inverse covariance matrices, which makes NLO more efficient. All rights reserved. No reuse allowed without permission. (which was not certified by peer review) is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. Real time Bayesian estimation of the epidemic potential of emerging infectious diseases A new framework and software to estimate time-varying reproduction numbers during epidemics A new estimation method for COVID-19 time-varying reproduction number using active cases How many can you infect? Simple (and naive) methods of estimating the reproduction number Data-driven modeling and forecasting of COVID-19 outbreak for public policy making Nasution, A compartmental epidemic model incorporating probable cases to model COVID-19 outbreak in regions with limited testing capacity, ISA Transactions Modeling and prediction of COVID-19 pandemic using gaussian mixture model Reproduction numbers and sub-threshold endemic equilibria for compartmental models of disease transmission Observer design for one-sided Lipschitz discrete-time systems Observer design for one-sided Lipschitz nonlinear systems subject to measurement delays