Predictive Analysis for COVID-19 Spread in India by Adaptive Compartmental Model ================================================================================ * S. S. Singh * D. K. Mohapatra ## Abstract The role of mathematical modelling in predicting spread of an epidemic is of vital importance. The purpose of present study is to develop and apply a computational tool for predicting evolution of different epidemiological variables for COVID-19 in India. We propose a dynamic SIRD (Susceptible-Infected-Recovered-Dead) and SEIRD (Susceptible-Exposed-Infected-Recovered-Dead) model for this purpose. In the dynamic model, time dependent infection rate is assumed for estimating evolution of different variables of the model. Parameter estimation of the model is the first step of the analysis which is performed by least square optimization of priori data. In the second step of the analysis, simulation is carried out by using evaluated parameters for prediction of the outbreak. The computational model has been validated against real data for COVID-19 outbreak in Italy. Time to reach peak, peak infected cases and total reported cases were compared with actual data and found to be in very good agreement. Next the model is applied for the case of India and various Indian states to predict different epidemiological parameters. Priori data was taken from the beginning of nation-wide lockdown on 24 March to 6 July. It was found that peak of the outbreak may reach in the month of August-September with maximum 4-5 lakhs active cases at peak. Total number of reported cases all over India would be in between three to five millions. State wise, Maharashtra, Tamilnadu and Delhi would be worst affected. ## 1. Introduction COVID-19 epidemic originated from Wuhan, the capital of China’s Hubei province in December 2019 [1]. Since then the epidemic has spread to all over the world. Considering the scale and speed of transmission of COVID-19, on 11 March 2020, the World Health Organization (WHO) declared it as a pandemic [2]. It has shown rapid infections in almost all countries. Till date, there is no specific vaccine, antivirals or effective therapeutics to treat coronavirus infections. As of 7 July 2020, a total 11,954,944 cases are confirmed all over the world. There are 4,505,864 active cases and 546,720 deaths [3]. The first COVID-19 case in India was reported in 30 January 2020 in the state of Kerala. As of 7 July 2020, there are 264,944 active cases, 456,830 discharged cases and 20,642 deaths in all over India [4]. Six cities i.e. Mumbai, Delhi, Ahmedabad, Chennai, Pune and Kolkata account for around half of the reported cases in the country. On 22 March 2020, India observed a 14-hour voluntary public curfew followed by a nationwide lockdown since March 24, 2020. Several other measures such as quarantine of the suspected cases, public health guidelines on social distancing, frequent hand washing and wearing face mask while stepping out of home for essential service are enforced. Modelling of time evolution of an epidemic is essential for short-term and long-term planning for managing the outbreak. Several kinds of models have been proposed for describing the time evolution of epidemics, which can be distinguished in two main groups: collective models and networked models. Collective models are characterized by a small number of parameters and describe the epidemic spread in a population using a limited number of collective variables. They include generalized growth models [5], logistic models [6], Richards models [7], Generalized Richards models [5], sub epidemics wave models [8], Susceptible-Infected-Recovered (SIR) models [6], [9], and Susceptible-Exposed-Infectious-Removed (SEIR) models [5]. SIR, SEIR and other similar models belong to the class of the so-called compartmental models [5], [10]. Several studies were carried out to model the outbreak of COVID-19 in different countries. In their paper Poonia and Azad [11], applied Holt’s second order smoothing method and autoregressive integrated moving average (ARIMA) model to generate 10-day ahead forecast. Khajanchi et al. [12] studied an extended SEIR model to study the transmission dynamics of COVID-19 and perform a short-term prediction based on the data from India. A discrete-time SIR (Susceptible-Infectious-Removed) model introducing dead compartment system was studied by Anastassopoulou et al. [13]. Wu et al. [14] studied a SEIR model to investigate the dynamics of 2019-nCoV human-human transmission dynamics based on the data from Wuhan, China from December 31, 2019 to January 28, 2020. Wu et al. [15] used a SIR model to delineate the transmission dynamics of COVID-19 and also estimate the clinical severity for the coronavirus. To study the dynamics of COVID-19, a stochastic transmission model was also developed by Kucharski et al. [16].Fanelliet. al. used SIR (susceptible-infectious-removed) model introducing dead compartment system to analyse and forecast COVID-19 spreading in China, Italy and France.[17].Calafioreet. al. described a variant of the SIR model to describe the actual number of infected individuals[18]. Piccolominiet. al. proposed a modification of SEIRD by introducing a time dependent transmitting rate[19]. In this work, a variant of the SIRD and SEIRD model is proposed. A dynamic SIRD and SEIRD model have been chosen as the basic mathematical models. The infection rate is assumed to decrease exponentially with time as a result of various mitigation measures enforced by the government. As a first step of the analysis, the model parameters are estimated from the actual data by optimization of the model with actual data. The evaluated parameters are then used in simulation for prediction. A computer program has been developed indigenously for this purpose. The computational scheme has been validated against Italian data. Finally, the tool is used for India specific data to predict the COVID-19 evolution. In section 2 the details of both SIRD and SEIRD models are described. In section 3 validation of the computational tool is explained for Italian data. In section 4, India specific analysis has been described. ## 2. Numerical Model and Methods In the present study, time dependent SIRD model has been employed. In this model the population N is divided into sub-population of susceptible (S), Infected (I), recovered (R) and dead (D) for all times t. Thus, N = S + I + R + D. The mean-field kinetics of the SIRD epidemic evolution is described by the following system of differential equations ![Formula][1] ![Formula][2] ![Formula][3] ![Formula][4] with initial condition [S(t),I(t), R(t), D(t)] = [S,I,R,D] for some initial time *t***. The parameter β is the infection rate, i.e. the probability per unit time that a susceptible individual contract the disease when entering in contact with an infected person. The parameter γ and d denote the recovery and death rates respectively. We have considered a modified version of the SIRD model, where the infection rate β is let vary with time. More precisely, given that the containment measures became law at time t*, we take ![Formula][5] where β is the infection rate before start of the lockdown. t* is the time at which lockdown has begun. A more refined model is the SEIRD model where a new compartment E representing the exposed individuals that are in incubation period is added. The resulting equations in the SEIR model are the following: ![Formula][6] ![Formula][7] ![Formula][8] ![Formula][9] ![Formula][10] where α represents the incubation rate. The difference between the exposed (E) and infected (I) is that the former have contracted the disease but are not infectious and the later can spread the disease. ### 2.1 Dynamical model In the present study, each dynamical model presented is either of the SIRD or SEIRD type. The SIRD and SEIRD simulations were implemented by the odeint function in Python’s SciPy library [20]. ### 2.2 Parameter Estimation The input required for the model is time series data of prior date and the population size. A standard dataset for COVID-19 consists of daily number of confirmed cases, recovered cases and deceased cases. Number of active cases is derived from the available data by subtracting the recovered cases and deceased cases from the confirmed cases. The variables in the model are susceptible population, exposed population, active population, recovered population and the deceased. From the time series data, the unknown parameters of the model e.g. S, β, β1, α, γ, and d are determined by least square optimization. The system of ordinary differential equations is optimized with respect to the observation data. Objective function for the optimization is defined as chi-square which is given in Equation 11. ![Formula][11] Where *O**i* is the observation and *E**i* is the modelled/expected value for a given instant. LMFIT module of Python library is used for the nonlinear least-square optimization [21]. ### 2.3 Prediction of the epidemic outbreak The evolution of the variables in the model is calculated by solving the set of differential equation by using the evaluated parameters from known information. ### 2.4 Limitations of the Predictive Model The predictive tool in the present study uses a classical modified SIR model by deterministic method. The model is valid for a homogeneous population with no migration. In few instances it has been observed that initial conditions for the system of ordinary differential equation are zero. The optimization algorithm fails in such cases and the estimated parameters are same as the initial guess values. In some other cases there has been second surge in number of infected cases. Here also the optimization algorithm gives unphysical results. However for cases of India and most affected states the performance of the predictive tool has been quite satisfactory. ## 3. Validation against Italian Data It is important to validate the model with actual data before applying for prediction of an epidemics outbreak. For this reason, an attempt has been made to validate both the predictive models against Italian data for which peak of COVID-19 epidemic has been reached. For validation of the model, Italian time series data from date 22 February 2020 to 03 June 2020were taken from John Hopkins University’s data repository on COVID-19 [3]. The dataset contains cumulative confirmed cases, recovered cases and death cases for every day. In case of Italian data, peak of the epidemics was observed on 19 April 2020 with 108, 237 infected individuals. As on 03 June 2020, there were 236,142 total confirmed cases. By using the developed model, validation exercise was carried out by taking first 40 days priori data for parameter estimation and then predicting evolution of model variables for remaining of the days. It has been observed that the prediction outcome is highly dependent on number of priori dataset for parameter estimation. Both SIRD and SEIRD models are used to check their validity as a predictive tool. Key results of the validation exercise are given in Table 1. The evolutions of active and confirmed cases are compared in Table 2. It is found that both models match reasonably well with the observation data. Prediction of number of active cases and total cases for case of Italy by 40 days priori data by using SEIRD and SIRD model are shown in Fig. 1 (a) and (b). View this table: [Table 1:](http://medrxiv.org/content/early/2020/07/09/2020.07.08.20148619/T1) Table 1: Key results of the validation exercise against Italian data View this table: [Table 2:](http://medrxiv.org/content/early/2020/07/09/2020.07.08.20148619/T2) Table 2: Comparison of the confirmed cases and active cases for the Italian data ![Fig 1:](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2020/07/09/2020.07.08.20148619/F1.medium.gif) [Fig 1:](http://medrxiv.org/content/early/2020/07/09/2020.07.08.20148619/F1) Fig 1: (a) and (b): Prediction of number of active cases and total cases for case for Italy by 40 days data by using SEIRD and SIRD model. Infection rate at the beginning is estimated to be 0.49 and 1 per day by SIRD and SEIRD models. At the end of the time period, infection rate became 0.002 and 0 per day respectively. Incubation rate for the SEIRD model was found to be 0.17 per day. Recovery and mortality rate were estimated as 0.016 per day and 0.014 per day. The date of peak in infected cases was found to be 16 and 17 April by both the models which is in very good agreement with the actual date of 19 April 2020. Similarly peak infected cases match within five percent of the actual value. However, in case of total number of confirmed cases SIRD model matches well but a difference of more than 10% has been observed for the result of SEIRD model. As both models match fairly well with the actual data, both models are considered for the predictive analysis for India specific study. ## 4. Prediction for India Specific Data For prediction of COVID-19 outbreak in India, raw data consisting of confirmed cases, recovered cases and deceased cases has been taken from the period of 24 March 2020 to 6 July 2020 from [www.covid19india.org](http://www.covid19india.org) [22]. The predictive analysis closely follows the pattern followed by Sahoo et. al[23]. As per the calculation methodology, parameters for SIRD and SEIRD model were first determined from the data by least square optimization. The analysis is broadly divided into two specific categories e.g. India specific study and state specific study. In state specific study, predictive analysis of few selected states with large number of COVID-19 cases has been undertaken. Key parameters pertaining to the India specific study are given in Table 3. The infection rate at the beginning of nation-wide lockdown was found to be 0.16 per day and 0.38 per day by respective models. By 6 July 2020, infection rate by both models has come down 0.07 per day and 0.12 per day respectively. Similarly the incubation rate is found to be 0.03 per day. The recovery rate and death are found to be 0.05 per day (0.06 by SEIRD) and 0.002 per day respectively. The initial exposed individuals were estimated to be 9926 by LMFIT optimization. View this table: [Table 3:](http://medrxiv.org/content/early/2020/07/09/2020.07.08.20148619/T3) Table 3: Key results for prediction in India Predictive analysis was carried out by taking the estimated parameters as input for the model. Simulation was carried out for a time period of 365 days starting from beginning of lockdown (24 March 2020) and evolution of all the SIRD variables were tracked. The evaluated parameters for both the models are given in Table 3. Evolution of SIRD and SEIRD variables are shown in Fig. 2 (a) and (b). It is found that by SIRD predictions the peak in infected individuals may reach in the second week of August. In case of the SEIRD model the same may occur in the first week of September. Similarly the peak infected would be 361K and 494K respectively. Total number of confirmed cases will be 2.6 million and 4.9 million respectively. Total number of casualties would be in between 100K and 200K. By January 2021, the epidemic would be almost over in India. ![Fig 2:](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2020/07/09/2020.07.08.20148619/F2.medium.gif) [Fig 2:](http://medrxiv.org/content/early/2020/07/09/2020.07.08.20148619/F2) Fig 2: (a) and (b): Evolution of SIRD and SEIRD variables for predication in case of India. ### 4.1 Prediction of State Specific Results Evolutions of total infected cases for different states by SEIRD model are shown in Fig. 3 (a) and (b). Similar results by SIRD model are shown in Fig. 4 (a) and (b). By both the models Mahrashra, Tamilnadu and Delhi may have around 500K predicted total infected cases during the epidemic. Gujarat, Madhyapradesh, Rajasthan, Uttarpradesh etc will be among the states which may have number of confirmed cases in between 10,000 to 100,000. ![Fig 3:](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2020/07/09/2020.07.08.20148619/F3.medium.gif) [Fig 3:](http://medrxiv.org/content/early/2020/07/09/2020.07.08.20148619/F3) Fig 3: (a) and (b): Predicted total infected cases in various selected states of India by SEIRD model ![Fig 4:](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2020/07/09/2020.07.08.20148619/F4.medium.gif) [Fig 4:](http://medrxiv.org/content/early/2020/07/09/2020.07.08.20148619/F4) Fig 4: (a) and (b): Predicted total infected cases in various selected states of India by SIRD model Predicted new daily infected cases in various selected states of India by SEIRD model are shown in Fig. 5 (a) and (b). Similar results by SIRD model are shown in Fig. 6 (a) and (b). It is observed that in case of Maharshta daily new infected cases would be around five thousand in the month July. Similarly Tamilnadu and Delhi would experience more than five thousand cases in the months of July-August. ![Fig 5:](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2020/07/09/2020.07.08.20148619/F5.medium.gif) [Fig 5:](http://medrxiv.org/content/early/2020/07/09/2020.07.08.20148619/F5) Fig 5: (a) and (b): Predicted new daily infected cases in various selected states of India by SEIRD model ![Fig 6:](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2020/07/09/2020.07.08.20148619/F6.medium.gif) [Fig 6:](http://medrxiv.org/content/early/2020/07/09/2020.07.08.20148619/F6) Fig 6: (a) and (b): Predicted new daily infected cases in various selected states of India by SIRD model Predicted active infected cases in various selected states of India by SEIRD model are shown in Fig. 7 (a) and (b). Similar results by SIRD model are shown in Fig. 8 (a) and (b). It is observed that the states of Maharashtra, Tamilnadu and Delhi would experiences active cases in between 10,000 to 100,000. Other states would experience less number of cases. ![Fig 7:](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2020/07/09/2020.07.08.20148619/F7.medium.gif) [Fig 7:](http://medrxiv.org/content/early/2020/07/09/2020.07.08.20148619/F7) Fig 7: (a) and (b): Predicted active infected cases in various selected states of India by SEIRD model ![Fig 8:](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2020/07/09/2020.07.08.20148619/F8.medium.gif) [Fig 8:](http://medrxiv.org/content/early/2020/07/09/2020.07.08.20148619/F8) Fig 8: (a) and (b): Predicted active infected cases in various selected states of India by SIRD model ### 4.2 Comparison of Prediction of peak and maximum infected cases Table 4 compares state-wise results by SIRD and SEIRD models for the predicted time to reach peak of the epidemic, number of active, saturation of infected cases and Time to reach 99% of total infected cases. Results suggest that India as a whole could see the peak in August-September 2020. Punjab, Andhra Pradesh and Kerala have already seen the peak in the month of May followed by Gujarat, Uttar Pradesh, Rajasthan, Madhya Pradesh and Telengana in June 2020. Maharshtra, Tamilnadu and Delhi would see the peak in the month of July-August 2020. View this table: [Table 4:](http://medrxiv.org/content/early/2020/07/09/2020.07.08.20148619/T4) Table 4: Comparison of results for various states of India Number of active infected cases at peak for India would go up to 477 K by SEIRD model and 361 K in SIRD model. the most affected states-Maharashtra, Delhi and Tamil Nadu may see active infected cases up to 83K, 53K and 69K respectively. Uttar Pradesh, Rajasthan, Madhya Pradesh, Telengana, Odisha, Andhra Pradesh and Punjab may see active infected cases below 10K. ## 5. Conclusion In the present work, a computational model for predicting spread of COVID-19 by dynamic SIRD and SEIRD model has been proposed. The dynamic model assumes time dependent infection rate. The model consists of estimating various model parameters and predicting the outbreak from estimated parameters. Predictive capability of the tool is highly dependent of number of priori data for parameter estimation. The tool has been validated against Italian data where the spread is evaluated from 40 days of data and compared with actual results. It is found that both SIRD and SEIRD model are in good agreement with the observational data. After validating, the tool is applied for prediction in India and different Indian states. Various epidemiological parameters such as time of peak arrival, number of active cases during peak, daily new cases and total number of reported cases are evaluated for the all cases. It is found that peak in India may arrive in the month of August-September with maximum number of active cases between 400-500 K. About 3-5 million reported cases will come during the outbreak. The epidemic spread will be over by the end of 2020. State wise, Maharashtra, Tamilnadu and Delhi would be most affected. ## Data Availability Data are taken from public domain on COVID-19. [http://www.covid19india.org](http://www.covid19india.org) * Received July 8, 2020. * Revision received July 8, 2020. * Accepted July 9, 2020. * © 2020, Posted by Cold Spring Harbor Laboratory The copyright holder for this pre-print is the author. All rights reserved. The material may not be redistributed, re-used or adapted without the author's permission. ## References 1. [1]. H. Zhu, L. Wei, P. Niu, “The novel coronavirus outbreak in Wuhan, China,” Global Health Research and Policy, March 2020. 2. [2].Coronavirus disease (COVID-19) outbreak situation, [https://www.who.int/emergencies/diseases/novelcoronavirus-2019](https://www.who.int/emergencies/diseases/novelcoronavirus-2019), date: April 00,2020. 3. [3].COVID-19 Dashboard by the Center for Systems Science and Engineering (CSSE) at Johns Hopkins University (JHU). ArcGIS. Johns Hopkins University. [https://github.com/CSSEGISandData/COVID-19](https://github.com/CSSEGISandData/COVID-19) Retrieved 16 June 2020 4. [4].Home, Ministry of Health and Family Welfare, Government of India.[www.mohfw.gov.in](http://www.mohfw.gov.in). Retrieved 16 June 2020. 5. [5]. G. Chowell, “Fitting dynamic models to epidemic outbreaks withquantified uncertainty: A primer for parameter uncertainty, identifiability, and forecasts,” Infectious Disease Modelling, vol. 2, no. 3, pp. 379–398, 2017. 6. [6]. W. Kermack and A. McKendrick, “A contribution to the mathematicaltheory of epidemics,” Proceedings of the Royal Society of London, vol. A 115, pp. 700–721, 1927. 7. [7]. F. J. Richards, “A flexible growth function for empirical use,” Journalof Experimental Botany, vol. 10, no. 2, pp. 290–301, 1959. 8. [8]. G. Chowell, A. Tariq, and J. M. Hyman, “A novel sub-epidemicmodeling framework for short-term forecasting epidemic waves,” BMCMedicine, vol. 17, no. 1, p. 164, 2019. 9. [9]. N. T. J. Bailey, “The mathematical theory of infectious diseases and itsapplications.” New York, NY, USA: Hafner Press, 2nd ed., 1975. 10. [10]. F. Brauer, “Mathematical epidemiology: Past, present, and future,”Infectious Disease Modelling, vol. 2, no. 2, pp. 113–127, 2017 11. [11]. Neeraj Poonia and Sarita Azad, “Short-term forecasts of COVID-19 spread across Indian states until 1 May 2020”, arXiv:2004.13538,, May 2020 12. [12].Khajanchi, S., Sarkar, K., Mondal, J., Perc, M. Dynamics of the COVID-19 pandemic in India. Research Square (2020) doi:10.21203/rs.3.rs-27112/v1 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.21203/rs.3.rs-27112/v1&link_type=DOI) 13. [13].Anastassopoulou, C., Russo, L., Tsakris, A. & Siettos, C. Data-based analysis, modelling and forecasting of the COVID-19 outbreak. PLoS One 15, e0230405 (2020). [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1371/journal.pone.0230405&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=http://www.n&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2020%2F07%2F09%2F2020.07.08.20148619.atom) 14. [14].Wu, J.T., Leung, K., Leung, G.M, Nowcasting and forecasting the potential domestic andinternational spread of the 2019-nCoV outbreak originating in Wuhan, China: a modellingstudy, Lancet 395 (2020) 689–697. [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1016/S0140-6736(20)30260-9&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=32014114&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2020%2F07%2F09%2F2020.07.08.20148619.atom) 15. [15].Wu, J.T., Leung, K., Bushman, M., Kishore, N., Niehus, R., de Salazar, P.M., Cowling, B.J.,Lipsitch, L., Leung, G.M., Estimating clinical severity of COVID-19 from the transmission dynamicsin Wuhan, China. Nat. Med. 26, 506–510 (2020). [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1038/s41591-020-0822-7&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=http://www.n&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2020%2F07%2F09%2F2020.07.08.20148619.atom) 16. [16].Kucharski, A.J., Russell, T.W., Diamond, C., Liu, Y., Edmunds, J., Funk, S., Eggo, R.M., Earlydynamics of transmission and control of COVID-19: a mathematical modelling study. Lancet Infect.Dis. [https://doi.org/10.1016/S1473-3099(20)30144-4](https://doi.org/10.1016/S1473-3099(20)30144-4) (2020). 17. [17]. D. Fenneli, F. Piazza, “Analysis and forecast of COVID-19 spreading in China, Italy and France,” arxiv:2003.06031v1, March 2020. 18. [18]. G. Calafiore, C. Novara, C. Possieri, “A modified SIR model for the COVID-19 contagion in Italy,” arxiv: 2003.14391v1, March 2020. 19. [19]. E. Piccolomini, F. Zama, “Preliminary analysis of COVID-19 spread in Italy with an adaptive SEIRD model,” arxiv: 2003.09909v1, March 2020. 20. [20]. E. Jones, T. Oliphant, P. Peterson, et al., “SciPy: Open source scientific tools for Python,” 2001 21. [21]. M. Newville, T. Stensitzki, D. B. Allen, A. Ingargiola, “LMFIT: Non-linear least-square minimization and curve-fitting for Python,” Zenodo, 2014. 22. [22].COVID-19 INDIA CORONAVIRUS PANDEMIC. [https://www.covid19india.org/](https://www.covid19india.org/); Retrieved 16June 2020. 23. [23]. B. K. Sahoo, S. K. Sapra, “A data driven epidemic model to analyse the lockdown effect and predict the course of COVID-19 progress in India,” [https://doi.org/10.1101/2020.06.01.20119388](https://doi.org/10.1101/2020.06.01.20119388), mJune 2020. [1]: /embed/graphic-1.gif [2]: /embed/graphic-2.gif [3]: /embed/graphic-3.gif [4]: /embed/graphic-4.gif [5]: /embed/graphic-5.gif [6]: /embed/graphic-6.gif [7]: /embed/graphic-7.gif [8]: /embed/graphic-8.gif [9]: /embed/graphic-9.gif [10]: /embed/graphic-10.gif [11]: /embed/graphic-11.gif