COVID-19 as a continuous-time stochastic process