Ramat Gan, Israel -
Ran Kremer, a Master鈥檚 student in electrical engineering at Bar-Ilan University, shows how the Kalman filter can accurately predict the worldwide spread of coronavirus.
Article by , courtesy the . Originally published March 25, 2020.
In a recent paper published in Towards Data Science (), Ran Kremer, a Master鈥檚 student in electrical engineering at Bar-Ilan University鈥檚 Kofkin Faculty of Engineering, elucidated how the Kalman filter can accurately predict the worldwide spread of coronavirus and produce updated predictions based on reported data.
Kalman filter is an algorithm that provides estimates of some unknown variables given a series of measurements observed over time. It was pioneered by Rudolf Emil Kalman in 1960, originally designed and developed to solve the navigation problem in the Apollo Project. Since then, it has had numerous applications in technology such as guidance, navigation, and control of vehicles, computer vision鈥檚 object tracking, trajectory optimization, time series analysis in signal processing, econometrics and more.
Kremer has recently implemented Kalman filter to track the spread of coronavirus around the world in order to generate next-day predictions for number of infections, fatalities, and recoveries in many infected regions. The method has produced powerful short-term predictions. In many regions in China, such as Shanghai, Henan, Beijing, and Hubei, as well as the Diamond Princess cruise ship, for example, Kremer鈥檚 predictions on these fronts were virtually identical to reality. Similarly, his model accurately predicted that the spread of coronavirus in China would end in mid-March, with 3,100 deaths in Hubei.
鈥淲ith the encouragement of Prof. Zvi Lotker, who gave me the idea to predict the spread of coronavirus before it became the global issue that it is today, I built an online Kalman filter algorithm that is adaptive, meaning that it doesn鈥檛 need a lot of historical data. Each day the algorithm is updated with new observations, and after parameter estimation is done it can generate predictions for the next day,鈥 says Kremer.
While the short-term Kalman prediction is very accurate, long-term predictions are more challenging, according to Kremer. For long-term predictions he fit a linear model whose main features are Kalman predictors, infected rate relative to population, time-dependent features, and meteorological history and forecasts. Long-term prediction does not guarantee full accuracy, but provides a fair estimation following recent trends. Running the model on a daily basis can provide better results, he says.
In a follow-up article (), Kremer, who previously worked for many years in high-tech specializing in data science and machine learning, addressed trends in other hard-hit countries in Asia, Europe, and the United States and made accurate predictions there, as well. Long-term predictions estimate the future trend well but cannot predict when this trend will change, especially during rapid eruptions (as seen in Italy, Spain, Iran, etc.). This depends on government intervention, local health care, and testing capacity.
The trend of massive eruptions in many European countries and US states (especially New York) keeps growing, although Kremer鈥檚 model has begun to predict a downward trend in new infections in Italy, Norway and Sweden beginning in mid-April. In South Korea, the model accurately predicted significant improvement on March 2, 2020. In Israel, although the number of confirmed cases has recently grown, there is no rapid eruption, and predictions show the spread is significantly lower than in other regions.
Significant government intervention, alongside tremendous worldwide medical efforts and upcoming warm weather, will hopefully limit the pandemic soon. Whenever this happens, this model will rapidly identify it.