COVID-19 Growth Modeling/Forecasting with Logistic, Hill Equations and Prophet
Improved forecast approach to model coronavirus growth and stabilization. We are using Hill equation and backtesting to improve forecast calculation and give more tools to evaluate COVID-19 per country

This is an update for my original post — COVID-19 Growth Modeling and Forecasting with Prophet. The update covers new features implemented in the new version of the online app — https://app.katanaml.io/covid19/.
New features:
- Hill equation support for COVID-19 growth modeling. This equation provides good results for coronavirus forecast
- Backtesting support for Logistic and Hill equations, by calculating forecast from five days in the past
Hill equation defined in Python:
# Hill sigmoidal function
def func_hill(t, a, b, c):
return a * np.power(t, b) / (np.power(c, b) + np.power(t, b))Forecast with Hill equation is calculated in construct_hill_growth function from covid19_model.py. Equation parameters are fitted from actual infections data with Python scipy library.
Backtesting is using the exact same calculation as the forecast from the last available day. The only difference, as last day for backtesting forecast, is selected today — 5 days. The advantage of backtesting — it shows how the current forecast performs according to the forecast from the past.
Let’s go through a set of examples.
USA

We can see from backtesting, that the logistic model was too pessimistic five days ago. While Hill equation is nearly accurate. This could give as an option to assume future infections could follow the curve generated by Hill equation.
Russia

Both models show that backtesting numbers were more optimistic than the current situation. This means coronavirus cases in Russia are growing rapidly at the moment.
Germany

Germany's situation looks good, both models are reporting very similar numbers. Backtesting is aligned well with the current forecast too.
An updated source code is available on GitHub.
Live app URL: https://app.katanaml.io/covid19/



